mirror_ubuntu-kernels/drivers/net/ethernet/chelsio/cxgb4
Jianbo Liu d97b4b105c flow_offload: reject offload for all drivers with invalid police parameters
As more police parameters are passed to flow_offload, driver can check
them to make sure hardware handles packets in the way indicated by tc.
The conform-exceed control should be drop/pipe or drop/ok. Besides,
for drop/ok, the police should be the last action. As hardware can't
configure peakrate/avrate/overhead, offload should not be supported if
any of them is configured.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-02-28 11:12:20 +00:00
..
clip_tbl.c cxgb4: clip_tbl: use list_del_init instead of list_del/INIT_LIST_HEAD 2021-05-18 13:43:37 -07:00
clip_tbl.h
cudbg_common.c
cudbg_entity.h cxgb4: collect serial config version from register 2021-02-10 15:05:40 -08:00
cudbg_if.h
cudbg_lib_common.h
cudbg_lib.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-04-09 20:48:35 -07:00
cudbg_lib.h
cudbg_zlib.c
cudbg_zlib.h
cxgb4_cudbg.c cxgb4: remove unneeded if-null-free check 2021-04-09 16:47:41 -07:00
cxgb4_cudbg.h
cxgb4_dcb.c
cxgb4_dcb.h
cxgb4_debugfs.c
cxgb4_debugfs.h
cxgb4_ethtool.c cxgb4: allow reading unrecognized port module eeprom 2021-11-24 17:27:07 -08:00
cxgb4_fcoe.c
cxgb4_fcoe.h
cxgb4_filter.c cxgb4: make the array match_all_mac static, makes object smaller 2021-08-02 15:01:26 -07:00
cxgb4_filter.h
cxgb4_main.c cxgb4: Remove useless DMA-32 fallback configuration 2022-01-09 16:52:20 -08:00
cxgb4_mps.c
cxgb4_ptp.c net: chelsio: cxgb4: Fix wrong function name in comments 2021-05-17 14:12:38 -07:00
cxgb4_ptp.h
cxgb4_tc_flower.c cxgb4: fix regression with HASH tc prio value update 2021-06-03 15:12:42 -07:00
cxgb4_tc_flower.h
cxgb4_tc_matchall.c flow_offload: reject offload for all drivers with invalid police parameters 2022-02-28 11:12:20 +00:00
cxgb4_tc_matchall.h
cxgb4_tc_mqprio.c cxgb4: avoid link re-train during TC-MQPRIO configuration 2021-06-04 14:45:13 -07:00
cxgb4_tc_mqprio.h
cxgb4_tc_u32_parse.h
cxgb4_tc_u32.c cxgb4: remove unneeded if-null-free check 2021-04-09 16:47:41 -07:00
cxgb4_tc_u32.h
cxgb4_thermal.c
cxgb4_uld.c cxgb4: fix IRQ free race during driver unload 2021-07-08 13:34:13 -07:00
cxgb4_uld.h cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds 2021-02-15 12:39:33 -08:00
cxgb4.h ethernet: chelsio: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
l2t.c
l2t.h
Makefile
sched.c
sched.h
sge.c cxgb4: Use struct_group() for memcpy() region 2021-11-19 11:17:09 +00:00
smt.c
smt.h
srq.c
srq.h
t4_chip_type.h
t4_hw.c ethernet: chelsio: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
t4_hw.h cxgb4: fix eeprom len when diagnostics not implemented 2021-11-11 11:42:13 +00:00
t4_msg.h iw_cxgb4: Use memset_startat() for cpl_t5_pass_accept_rpl 2021-12-14 20:21:22 -04:00
t4_pci_id_tbl.h
t4_regs.h cxgb4: collect serial config version from register 2021-02-10 15:05:40 -08:00
t4_tcb.h
t4_values.h
t4fw_api.h cxgb4: Use struct_group() for memcpy() region 2021-11-19 11:17:09 +00:00
t4fw_version.h