linux_dsm_epyc7002/drivers/net/ethernet
John Hurley cf4172d575 nfp: flower: get flows by host context
Each flow is given a context ID that the fw uses (along with its cookie)
to identity the flow. The flows stats are updated by the fw via this ID
which is a reference to a pre-allocated array entry.

In preparation for flow merge code, enable the nfp_fl_payload structure to
be accessed via this stats context ID. Rather than increasing the memory
requirements of the pre-allocated array, add a new rhashtable to associate
each active stats context ID with its rule payload.

While adding new code to the compile metadata functions, slightly
restructure the existing function to allow for cleaner, easier to read
error handling.

Signed-off-by: John Hurley <john.hurley@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-15 15:45:36 -07:00
..
3com 3c515: fix integer overflow warning 2019-03-19 15:07:49 -07:00
8390 mac8390: Fix mmio access size probe 2019-03-18 16:56:57 -07:00
adaptec net: adaptec: starfire: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-14 12:43:15 -05:00
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
amd net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
apm
apple net: apple: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-13 20:50:42 -08:00
aquantia net: aquantia: enable driver build for arm64 or compile_test 2019-03-23 22:16:53 -04:00
arc net: arc_emac: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-14 12:43:15 -05:00
atheros Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-24 12:06:19 -08:00
aurora drivers: net: aurora: use netdev_xmit_more helper 2019-04-01 18:35:02 -07:00
broadcom Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-08 23:39:36 -07:00
brocade
cadence Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-08 23:39:36 -07:00
calxeda
cavium ethtool: thunder_bgx: use ethtool.h constants for speed and duplex 2019-04-08 16:37:40 -07:00
chelsio cxgb4: Don't return EAGAIN when TCAM is full. 2019-04-08 10:01:50 -07:00
cirrus
cisco net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
cortina
davicom
dec
dlink net:dl2k: Replace dev_kfree_skb_irq by dev_consume_skb_irq 2019-02-14 12:25:24 -05:00
emulex net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
ezchip
faraday drivers: net: Remove unnecessary semicolon 2019-03-01 23:13:49 -08:00
freescale Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-03-27 17:37:58 -07:00
fujitsu net: fujitsu: fix a potential NULL pointer dereference 2019-03-12 14:48:35 -07:00
hisilicon net: hns3: fix for vport->bw_limit overflow problem 2019-04-15 13:39:19 -07:00
hp
huawei net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
i825xx net: i825xx: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-14 12:43:14 -05:00
ibm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-05 14:14:19 -07:00
intel Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-05 14:14:19 -07:00
marvell net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
mediatek net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
mellanox mlxsw: spectrum_router: Add neighbour offload indication 2019-04-15 13:29:20 -07:00
micrel net: ks8851: Deduplicate register macros 2019-03-20 12:43:52 -07:00
microchip enc28j60: Convert to use SPDX identifier 2019-03-19 14:59:32 -07:00
moxa net: moxa: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-13 20:50:42 -08:00
mscc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-03-04 13:26:15 -08:00
myricom net: myri10ge: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-14 11:56:36 -05:00
natsemi net: ns83820: code cleanup for ns83820_probe_phy() 2019-02-19 14:08:19 -08:00
neterion net: neterion: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-13 20:50:41 -08:00
netronome nfp: flower: get flows by host context 2019-04-15 15:45:36 -07:00
ni
nuvoton net: nuvoton: w90p910_ether: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-14 11:56:36 -05:00
nvidia
nxp
oki-semi pci-v5.1-changes 2019-03-09 14:57:08 -08:00
packetengines net: packetengines: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-14 12:43:15 -05:00
pasemi net: pasemi: remove set but not used variable 'cpyhdr' 2019-04-04 17:36:23 -07:00
qlogic Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-08 23:39:36 -07:00
qualcomm net: qualcomm: emac: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-13 20:50:42 -08:00
rdc net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
realtek r8169: change irq handler to always trigger NAPI polling 2019-04-14 13:58:15 -07:00
renesas net: remove 'fallback' argument from dev->ndo_select_queue() 2019-03-20 11:18:55 -07:00
rocker ipv4: Flag fib_info with a fib_nh using IPv6 gateway 2019-04-08 15:22:41 -07:00
samsung
seeq
sfc drivers: net: sfc: use netdev_xmit_more helper 2019-04-01 18:35:02 -07:00
sgi net: sgi: use GFP_ATOMIC under spin lock 2019-02-17 15:51:46 -08:00
silan
sis net: sis900: fix indentation issues, remove some spaces 2019-03-15 11:59:00 -07:00
smsc
socionext
stmicro net: stmmac: don't log oversized frames 2019-03-31 14:00:59 -07:00
sun net: remove 'fallback' argument from dev->ndo_select_queue() 2019-03-20 11:18:55 -07:00
synopsys net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
tehuti
ti net: ethernet: ti: davinci_mdio: switch to readl/writel() 2019-04-01 15:02:50 -07:00
toshiba
tundra
via
wiznet
xilinx net: xilinx: emaclite: add minimal ndo_do_ioctl hook 2019-04-08 10:00:10 -07:00
xircom
xscale net: ixp4xx_eth: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-13 20:50:54 -08:00
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c net: fealnx: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-13 20:50:42 -08:00
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
lantiq_xrx200.c net: lantiq: Do not use eth_change_mtu() 2019-02-24 17:35:42 -08:00
Makefile
netx-eth.c