diff options
author | 2023-03-09 13:25:31 +0100 | |
---|---|---|
committer | 2023-03-10 21:33:48 -0800 | |
commit | 4d5ab0ad964df178beba031b89429a601893ff61 (patch) | |
tree | 014438748a5c3d73fb2862793f4f45d73fe2907c /net/lapb/lapb_timer.c | |
parent | veth: take into account device reconfiguration for xdp_features flag (diff) | |
download | linux-rng-4d5ab0ad964df178beba031b89429a601893ff61.tar.xz linux-rng-4d5ab0ad964df178beba031b89429a601893ff61.zip |
net/mlx5e: take into account device reconfiguration for xdp_features flag
Take into account LRO and GRO configuration setting device xdp_features
flag. Consider channel rq_wq_type enabling rx scatter-gatter support in
xdp_features flag and disable NETDEV_XDP_ACT_NDO_XMIT_SG since it is not
supported yet by the driver.
Moreover always enable NETDEV_XDP_ACT_NDO_XMIT as the ndo_xdp_xmit
callback does not require to load a dummy xdp program on the NIC.
Fixes: 66c0e13ad236 ("drivers: net: turn on XDP features")
Co-developed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions