mirror_ubuntu-kernels/drivers/net/ethernet/chelsio
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
..
cxgb chelsio: cxgb: Use dma_set_mask_and_coherent() and simplify code 2022-01-02 16:14:30 +00:00
cxgb3 cxgb3: Remove useless DMA-32 fallback configuration 2022-01-09 16:52:20 -08:00
cxgb4 flow_offload: reject offload for all drivers with invalid police parameters 2022-02-28 11:12:20 +00:00
cxgb4vf cxgb4vf: Remove useless DMA-32 fallback configuration 2022-01-09 16:52:20 -08:00
inline_crypto tcp: switch orphan_count to bare per-cpu counters 2021-10-15 11:28:34 +01:00
libcxgb libcxgb: Don't accidentally set RTO_ONLINK in cxgb_find_route() 2022-01-11 20:36:08 -08:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile chelsio/chtls: separate chelsio tls driver from crypto driver 2020-08-21 14:15:15 -07:00