mirror_ubuntu-kernels/drivers/net/ethernet/marvell
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
..
mvpp2 net: mvpp2: always set port pcs ops 2022-02-18 20:14:16 -08:00
octeontx2 flow_offload: reject offload for all drivers with invalid police parameters 2022-02-28 11:12:20 +00:00
prestera net: marvell: prestera: Fix return value check in prestera_kern_fib_cache_find() 2022-02-24 21:21:27 -08:00
Kconfig net: marvell: Remove reference to CONFIG_MV64X60 2021-03-18 14:19:39 -07:00
Makefile net: marvell: prestera: Add driver for Prestera family ASIC devices 2020-09-17 16:35:46 -07:00
mv643xx_eth.c net: mv643xx_eth: process retval from of_get_mac_address 2022-02-24 10:05:08 -08:00
mvmdio.c net: mvmdio: fix compilation warning 2021-11-16 18:55:17 -08:00
mvneta_bm.c
mvneta_bm.h net: mvneta: make stub functions static inline 2019-10-25 16:21:48 -07:00
mvneta.c net: mvneta: remove unnecessary if condition in mvneta_xdp_submit_frame 2022-01-28 14:29:19 +00:00
pxa168_eth.c net: pxa168_eth: Use platform_get_irq() to get the interrupt 2021-12-27 12:22:19 +00:00
skge.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
skge.h net: marvell: remove leading spaces before tabs 2021-05-19 12:17:31 -07:00
sky2.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
sky2.h net: marvell: remove leading spaces before tabs 2021-05-19 12:17:31 -07:00