mirror_ubuntu-kernels/drivers/net/ethernet/marvell/octeontx2
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
..
af octeontx2-af: cn10k: add workaround for ptp errata 2022-02-21 13:07:48 +00:00
nic flow_offload: reject offload for all drivers with invalid police parameters 2022-02-28 11:12:20 +00:00
Kconfig octeontx2-pf: select CONFIG_NET_DEVLINK 2021-11-05 10:14:38 +00:00
Makefile octeontx2-pf: Add Marvell OcteonTX2 NIC driver 2020-01-27 14:33:39 +01:00