linux_dsm_epyc7002/drivers/net/ethernet/netronome/nfp
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
..
abm nfp: allow fallback packets from non-reprs 2019-04-15 15:45:36 -07:00
bpf nfp: split out common control message handling code 2019-04-12 17:29:15 -07:00
flower nfp: flower: get flows by host context 2019-04-15 15:45:36 -07:00
nfpcore nfp: nsp: implement read SFF module EEPROM 2019-04-01 18:05:13 -07:00
nic nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
ccm.c nfp: split out common control message handling code 2019-04-12 17:29:15 -07:00
ccm.h nfp: split out common control message handling code 2019-04-12 17:29:15 -07:00
Makefile nfp: split out common control message handling code 2019-04-12 17:29:15 -07:00
nfp_abi.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_app_nic.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_app.c nfp: add offloads on representors 2018-11-30 13:30:44 -08:00
nfp_app.h nfp: allow fallback packets from non-reprs 2019-04-15 15:45:36 -07:00
nfp_asm.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_asm.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_devlink.c nfp: pass switch ID through devlink_port_attrs_set() 2019-04-04 17:42:36 -07:00
nfp_hwmon.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_main.c nfp: devlink: allow flashing the device via devlink 2019-02-17 15:27:38 -08:00
nfp_main.h nfp: devlink: allow flashing the device via devlink 2019-02-17 15:27:38 -08:00
nfp_net_common.c nfp: allow fallback packets from non-reprs 2019-04-15 15:45:36 -07:00
nfp_net_ctrl.c nfp: add offset to all TLV parsing errors 2018-11-30 13:30:44 -08:00
nfp_net_ctrl.h nfp: add a mutex lock for the vNIC ctrl BAR 2019-04-12 17:29:15 -07:00
nfp_net_debugdump.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_debugfs.c nfp: convert to DEFINE_SHOW_ATTRIBUTE 2018-12-03 17:33:38 -08:00
nfp_net_ethtool.c nfp: implement ethtool get module EEPROM 2019-04-01 18:05:13 -07:00
nfp_net_main.c nfp: register devlink port before netdev 2019-03-28 12:55:30 -07:00
nfp_net_repr.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-04-05 14:14:19 -07:00
nfp_net_repr.h nfp: add offloads on representors 2018-11-30 13:30:44 -08:00
nfp_net_sriov.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_sriov.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net.h nfp: add a mutex lock for the vNIC ctrl BAR 2019-04-12 17:29:15 -07:00
nfp_netvf_main.c nfp: pass ctrl_bar pointer to nfp_net_alloc 2018-11-08 20:48:00 -08:00
nfp_port.c nfp: remove ndo_get_port_parent_id implementation 2019-04-04 17:42:36 -07:00
nfp_port.h nfp: move devlink port type set after netdev registration 2019-03-24 14:55:31 -04:00
nfp_shared_buf.c net: devlink: report cell size of shared buffers 2019-02-03 11:25:34 -08:00