Re: 回复: [PATCH] ethdev: keep promiscuous/allmulti value before enabling

2025-07-21 Thread Thomas Monjalon
21/07/2025 14:13, Sunyang Wu: > Hi, Thomas: > Thanks for your note. The main purpose of this modification is to align the > handling logic with the "disable" functions, > aiming to enhance the overall consistency and maintainability of the code. > > Previously, the handling of failure scenarios i

回复: [PATCH] ethdev: keep promiscuous/allmulti value before enabling

2025-07-21 Thread Sunyang Wu
Hi, Thomas: Thanks for your note. The main purpose of this modification is to align the handling logic with the "disable" functions, aiming to enhance the overall consistency and maintainability of the code. Previously, the handling of failure scenarios in the "enable" related logic differed fro

Re: [PATCH] ethdev: keep promiscuous/allmulti value before enabling

2025-07-21 Thread Thomas Monjalon
21/07/2025 13:51, Sunyang Wu: > The values of the promiscuous and allmulticast variables > are set after calling the driver, according to the return value. > > Fixes: 400d75818266 ("ethdev: check device promiscuous state") > de5ccf0775ae ("ethdev:do nothing if all-multicast mode is applied > again

[PATCH] ethdev: keep promiscuous/allmulti value before enabling

2025-07-21 Thread Sunyang Wu
The values of the promiscuous and allmulticast variables are set after calling the driver, according to the return value. Fixes: 400d75818266 ("ethdev: check device promiscuous state") de5ccf0775ae ("ethdev:do nothing if all-multicast mode is applied again") Cc: sta...@dpdk.org Signed-off-by: Sun