linux_dsm_epyc7002/drivers/net/ethernet/chelsio/cxgb4
Pablo Neira Ayuso 4e95bc268b net: flow_offload: add flow_block_cb_setup_simple()
Most drivers do the same thing to set up the flow block callbacks, this
patch adds a helper function to do this.

This preparation patch reduces the number of changes to adapt the
existing drivers to use the flow block callback API.

This new helper function takes a flow block list per-driver, which is
set to NULL until this driver list is used.

This patch also introduces the flow_block_command and
flow_block_binder_type enumerations, which are renamed to use
FLOW_BLOCK_* in follow up patches.

There are three definitions (aliases) in order to reduce the number of
updates in this patch, which go away once drivers are fully adapted to
use this flow block API.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-07-09 14:38:50 -07:00
..
clip_tbl.c cxgb4: clip_tbl: Use struct_size() in kvzalloc() 2019-01-29 10:55:02 -08:00
clip_tbl.h drivers, net, ethernet: convert clip_entry.refcnt from atomic_t to refcount_t 2017-10-22 02:22:38 +01:00
cudbg_common.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_entity.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_if.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_lib_common.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_lib.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_lib.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_zlib.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_zlib.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_cudbg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_cudbg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_dcb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_dcb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_debugfs.c chelsio: use BUG() instead of BUG_ON(1) 2019-03-26 11:42:11 -07:00
cxgb4_debugfs.h cxgb4: remove DEFINE_SIMPLE_DEBUGFS_FILE() 2018-12-15 11:21:22 -08:00
cxgb4_ethtool.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_fcoe.c cxgb4/chtls: Prefix adapter flags with CXGB4 2019-03-04 10:21:32 -08:00
cxgb4_fcoe.h
cxgb4_filter.c cxgb4: Re-work the logic for mps refcounting 2019-06-24 14:54:06 -07:00
cxgb4_filter.h cxgb4: Enable hash filter with offload 2019-05-22 17:35:14 -07:00
cxgb4_main.c net: flow_offload: add flow_block_cb_setup_simple() 2019-07-09 14:38:50 -07:00
cxgb4_mps.c cxgb4: Add MPS refcounting for alloc/free mac filters 2019-06-24 14:54:06 -07:00
cxgb4_ptp.c net: cxgb4: fix various indentation issues 2019-01-10 09:30:49 -05:00
cxgb4_ptp.h
cxgb4_tc_flower.c cxgb4: offload VLAN flows regardless of VLAN ethtype 2019-05-23 09:38:54 -07:00
cxgb4_tc_flower.h cxgb4: convert flower table to use rhashtable 2017-11-01 22:06:03 +09:00
cxgb4_tc_u32_parse.h
cxgb4_tc_u32.c cxgb4: cxgb4_tc_u32: use struct_size() in kvzalloc() 2019-01-29 10:55:25 -08:00
cxgb4_tc_u32.h net: sched: push cls related args into cls_common structure 2017-08-07 09:42:37 -07:00
cxgb4_thermal.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_uld.c cxgb4: Set initial IRQ affinity hints 2019-06-09 13:30:39 -07:00
cxgb4_uld.h cxgb4/libcxgb/cxgb4i/cxgbit: enable eDRAM page pods for iSCSI 2019-06-10 09:20:23 -07:00
cxgb4.h cxgb4: Add MPS refcounting for alloc/free mac filters 2019-06-24 14:54:06 -07:00
l2t.c cxgb4/l2t: Use struct_size() in kvzalloc() 2019-01-16 21:11:09 -08:00
l2t.h
Makefile cxgb4: Re-work the logic for mps refcounting 2019-06-24 14:54:06 -07:00
sched.c cxgb4: sched: use struct_size() in kvzalloc() 2019-02-01 15:12:29 -08:00
sched.h cxgb4: remove the unneeded locks 2018-10-03 09:34:52 -07:00
sge.c chelsio: use BUG() instead of BUG_ON(1) 2019-03-26 11:42:11 -07:00
smt.c cxgb4: smt: use struct_size() in kvzalloc() 2019-02-01 15:12:29 -08:00
smt.h cxgb4: introduce SMT ops to prepare for SMAC rewrite support 2017-10-20 13:06:53 +01:00
srq.c cxgb4/chtls: Prefix adapter flags with CXGB4 2019-03-04 10:21:32 -08:00
srq.h cxgb4: Add support to initialise/read SRQ entries 2018-03-22 11:59:11 -04:00
t4_chip_type.h cxgb4: clean up init_one 2018-05-25 14:59:38 -04:00
t4_hw.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-05-31 10:49:43 -07:00
t4_hw.h cxgb4/cxgb4vf: Add support for SGE doorbell queue timer 2019-02-14 12:39:35 -05:00
t4_msg.h cxgb4: add tcb flags and tcb rpl struct 2019-02-08 17:02:05 -07:00
t4_pci_id_tbl.h cxgb4: Add new T6 PCI device ids 0x608b 2019-02-06 13:41:48 -08:00
t4_regs.h cxgb4: Enable hash filter with offload 2019-05-22 17:35:14 -07:00
t4_tcb.h cxgb4: add tcb flags and tcb rpl struct 2019-02-08 17:02:05 -07:00
t4_values.h cxgb4/cxgb4vf: Add support for SGE doorbell queue timer 2019-02-14 12:39:35 -05:00
t4fw_api.h cxgb4/libcxgb/cxgb4i/cxgbit: enable eDRAM page pods for iSCSI 2019-06-10 09:20:23 -07:00
t4fw_version.h cxgb4: Update 1.23.3.0 as the latest firmware supported. 2019-03-29 13:47:31 -07:00