linux/drivers/net/ethernet/cavium/thunder
Vadim Lomovtsev 0b849f58f2 net: thunderx: add new messages for handle ndo_set_rx_mode callback
The kernel calls ndo_set_rx_mode() callback supplying it will all necessary
info, such as device state flags, multicast mac addresses list and so on.
Since we have only 128 bits to communicate with PF we need to initiate
several requests to PF with small/short operation each based on input data.

So this commit implements following PF messages codes along with new
data structures for them:
NIC_MBOX_MSG_RESET_XCAST to flush all filters configured for this
                          particular network interface (VF)
NIC_MBOX_MSG_ADD_MCAST   to add new MAC address to DMAC filter registers
                          for this particular network interface (VF)
NIC_MBOX_MSG_SET_XCAST   to apply filtering configuration to filter control
                          register

Signed-off-by: Vadim Lomovtsev <Vadim.Lomovtsev@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-31 22:18:17 -04:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nic_main.c net: ethernet: cavium: Correct Cavium Thunderx NIC driver names accordingly to module name 2018-01-29 12:22:06 -05:00
nic_reg.h net: thunderx: add timestamping support 2018-01-16 14:31:14 -05:00
nic.h net: thunderx: add new messages for handle ndo_set_rx_mode callback 2018-03-31 22:18:17 -04:00
nicvf_ethtool.c net: ethernet: cavium: Correct Cavium Thunderx NIC driver names accordingly to module name 2018-01-29 12:22:06 -05:00
nicvf_main.c ethernet: Use octal not symbolic permissions 2018-03-26 12:07:49 -04:00
nicvf_queues.c Revert "net: thunderx: Add support for xdp redirect" 2018-02-14 14:23:39 -05:00
nicvf_queues.h Revert "net: thunderx: Add support for xdp redirect" 2018-02-14 14:23:39 -05:00
q_struct.h
thunder_bgx.c net: thunderx: add multicast filter management support 2018-03-31 22:18:17 -04:00
thunder_bgx.h net: thunderx: add multicast filter management support 2018-03-31 22:18:17 -04:00
thunder_xcv.c net: ethernet: cavium: Correct Cavium Thunderx NIC driver names accordingly to module name 2018-01-29 12:22:06 -05:00