summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorVadim Lomovtsev <Vadim.Lomovtsev@cavium.com>2018-03-30 14:59:50 +0300
committerDavid S. Miller <davem@davemloft.net>2018-04-01 05:18:17 +0300
commit0b849f58f27b974f204477a71c2239986770a22c (patch)
tree2e5684df84a22aa705eda3fdee6017ee7fe27421 /samples
parentceb9ea21cc124f8653e4bb1b06fb6e051bd408fe (diff)
downloadlinux-0b849f58f27b974f204477a71c2239986770a22c.tar.xz
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions