From: Vadim Lomovtsev <vadim.lomovt...@cavium.com> By default CN88XX BGX accepts all incoming multicast and broadcast packets and filtering is disabled. The nic driver doesn't provide an ability to change such behaviour.
This series is to implement DMAC filtering management for CN88XX nic driver allowing user to enable/disable filtering and configure specific MAC addresses to filter traffic. Changes from v1: build issues: - update code in order to address compiler warnings; checkpatch.pl reported issues: - update code in order to fit 80 symbols length; - update commit descriptions in order to fit 80 symbols length; Vadim Lomovtsev (7): net: thunderx: move filter register related macro into proper place net: thunderx: add MAC address filter tracking for LMAC net: thunderx: add multicast filter management support net: thunderx: add new messages for handle ndo_set_rx_mode callback net: thunderx: add XCAST messages handlers for PF net: thunderx: add workqueue control structures for handle ndo_set_rx_mode request net: thunderx: add ndo_set_rx_mode callback implementation for VF drivers/net/ethernet/cavium/thunder/nic.h | 29 ++++ drivers/net/ethernet/cavium/thunder/nic_main.c | 45 ++++- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 110 +++++++++++- drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 201 ++++++++++++++++++++-- drivers/net/ethernet/cavium/thunder/thunder_bgx.h | 19 +- 5 files changed, 374 insertions(+), 30 deletions(-) -- 2.14.3