22/05/2025 09:42, Sunyang Wu: > Set the values of the promiscuous and all_multicast variables > according to the return value. > > Fixes: af75078fece3 ("first public release")
This is reset to 0 since day 1, so next root cause is not needed. > Fixes: de5ccf0775ae ("ethdev: do nothing if all-multicast mode is > applied again") > Cc: sta...@dpdk.org > > Signed-off-by: Morten Brørup <m...@smartsharesystems.com> > Signed-off-by: Sunyang Wu <sunyang...@jaguarmicro.com> Acked-by: Thomas Monjalon <tho...@monjalon.net> > - dev->data->promiscuous = 0; > diag = dev->dev_ops->promiscuous_disable(dev); > - if (diag != 0) > - dev->data->promiscuous = 1; > + if (!diag) > + dev->data->promiscuous = 0; Updated the commit log to explain the issue, and changed the check to compare diag with explicit 0 for success. Applied, thanks.