Skip to content

RFC Provide default fdb operation to allow mac filter

Vlad Yasevich netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: generic fdb support for drivers without ndo_fdb_<op>include/linux/rtnetlink.h net/core/rtnetlink.c+84 -60 replies
2/3ixgbe: Use default fdb handlers when not in VF mode.drivers/net/ethernet/intel/ixgbe/ixgbe_main.c+11 -152 replies
3/3mlx4: Use default fdb handlers when not multifunction.drivers/net/ethernet/mellanox/mlx4/en_netdev.c+3 -92 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] Provide default fdb operation to allow mac filter

This is a short series that now allows mac filter programming on any card that support IFF_UNICAST_FLT by using the existing FDB interface.

Some existing drivers that had FDB functionality usually supported it only in SR-IOV mode. Since that's not always enabled, and we want to take advantage of IFF_UNICAST_FLT support, these drivers have been converted to call the default handler when not in SRIOV mode.

John Fastabend (1):
net: generic fdb support for drivers without ndo_fdb_<op>

Vlad Yasevich (2):
ixgbe: Use default fdb handlers when not in VF mode.
mlx4: Use default fdb handlers when not multifunction.

 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c  |   26 +++-----
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c |   12 +---
 include/linux/rtnetlink.h                      |    9 +++
 net/core/rtnetlink.c                           |   81 ++++++++++++++++++++++--
 4 files changed, 98 insertions(+), 30 deletions(-)
Signature · 1 line
1.7.7.6