Re: [PATCH v2] ethdev: optimize how the values of the flag variables are assigned

2025-05-21 Thread Stephen Hemminger
On Wed, 21 May 2025 18:15:31 +0800 Sunyang Wu wrote: > Set the values of the promiscuous and all_multicast variables > according to the return value. > > Signed-off-by: Morten Brørup > Signed-off-by: Sunyang Wu > --- > lib/ethdev/rte_ethdev.c | 11 +-- > 1 file changed, 5 insertions(+

[PATCH v2] ethdev: optimize how the values of the flag variables are assigned

2025-05-21 Thread Sunyang Wu
Set the values of the promiscuous and all_multicast variables according to the return value. Signed-off-by: Morten Brørup Signed-off-by: Sunyang Wu --- lib/ethdev/rte_ethdev.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rt