On Wed, 18 Mar 2026 at 17:37, David Marchand <[email protected]> wrote: > > Re-enable debug logs unconditionally, this helps understanding why mac > deletions were silently failing (while a bridge fdb del command was > working fine). > > testpmd> mac_addr add 0 FA:35:44:3F:58:31 > testpmd> mac_addr remove 0 FA:35:44:3F:58:31 > mlx5_common: Interface 35 cannot remove MAC address FA:35:44:3F:58:31 > Operation not supported > > Then, fix mac deletion as the NLM_F_CREATE == 0x200 flag is relevant > with a RTM_NEWNEIGH op. > For a RTM_DELNEIGH op, 0x200 == NLM_F_BULK and passing this flag > makes the deletion fail miserably for a single mac.
This issue is actually triggered after a change in the kernel uapi. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=545528d788556 So the DPDK bug can be seen with kernels >= 5.19 (and in my case, RHEL9). Probably worth adding in the commitlog. > Fixes: ccdcba53a3f4 ("net/mlx5: use Netlink to add/remove MAC addresses") > Cc: [email protected] > > Signed-off-by: David Marchand <[email protected]> -- David Marchand

