]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-pf: Receive side scaling support
authorSunil Goutham <sgoutham@marvell.com>
Mon, 27 Jan 2020 13:05:25 +0000 (18:35 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jan 2020 13:33:39 +0000 (14:33 +0100)
commit1dee7ca9acadcdec658ab0f3926a435ca12b28c6
tree646138ca9fa173d45c5ce8d27a001cccbb0665f2
parent7d4c5f70a2481de0af0935b2ff85682bb300e8af
octeontx2-pf: Receive side scaling support

Adds receive side scaling (RSS) support to distribute
pkts/flows across multiple queues. Sets up key, indirection
table etc. Also added extraction of HW calculated rxhash and
adding to same to SKB ie NETIF_F_RXHASH offload support.

Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c