William Tu
c079389878
net/mlx5e: clear xdp features on non-uplink representors
...
Non-uplink representor port does not support XDP. The patch clears
the xdp feature by checking the net_device_ops.ndo_bpf is set or not.
Verify using the netlink tool:
$ tools/net/ynl/cli.py --spec Documentation/netlink/specs/netdev.yaml --dump dev-get
Representor netdev before the patch:
{'ifindex': 8,
'xdp-features': {'basic',
'ndo-xmit',
'ndo-xmit-sg',
'redirect',
'rx-sg',
'xsk-zerocopy'},
'xdp-rx-metadata-features': set(),
'xdp-zc-max-segs': 1,
'xsk-features': set()},
With the patch:
{'ifindex': 8,
'xdp-features': set(),
'xdp-rx-metadata-features': set(),
'xsk-features': set()},
Fixes: 4d5ab0ad96 ("net/mlx5e: take into account device reconfiguration for xdp_features flag")
Signed-off-by: William Tu <witu@nvidia.com >
Signed-off-by: Tariq Toukan <tariqt@nvidia.com >
Link: https://patch.msgid.link/20241107183527.676877-6-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2024-11-11 19:23:38 -08:00
..
2024-10-30 10:17:00 +01:00
2024-10-29 12:56:19 +01:00
2024-09-04 15:01:17 +01:00
2024-09-11 16:02:45 +02:00
2024-10-24 11:14:00 +02:00
2024-10-02 17:23:23 -04:00
2024-11-03 08:51:53 -10:00
2024-09-10 19:52:30 -05:00
2024-10-18 15:53:00 -07:00
2024-10-16 16:10:25 -04:00
2024-09-27 08:48:37 -07:00
2024-10-17 19:47:15 -06:00
2024-11-04 01:59:08 +02:00
2024-10-17 16:24:42 -07:00
2024-09-17 15:27:01 +02:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-15 23:54:15 -05:00
2024-09-18 10:49:45 +02:00
2024-10-16 08:42:54 -07:00
2024-10-25 16:07:03 -05:00
2024-10-09 12:47:19 -07:00
2024-09-05 01:23:56 +09:00
2024-11-03 10:15:50 -10:00
2024-09-19 10:18:15 +02:00
2024-10-05 22:17:08 -05:00
2024-09-26 10:13:08 -07:00
2024-10-27 11:14:35 +09:00
2024-11-04 15:23:26 -10:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-09-27 08:18:43 -07:00
2024-10-31 19:14:17 +01:00
2024-11-02 04:44:27 +10:00
2024-10-02 17:23:23 -04:00
2024-11-06 07:49:54 -10:00
2024-09-19 10:18:15 +02:00
2024-10-14 19:14:08 -07:00
2024-09-27 08:18:43 -07:00
2024-10-05 10:31:04 -07:00
2024-09-17 16:51:45 +02:00
2024-09-25 22:30:33 +02:00
2024-10-24 18:46:04 +01:00
2024-10-21 13:28:15 -03:00
2024-11-03 08:35:29 -10:00
2024-10-15 10:17:54 +02:00
2024-10-27 17:30:16 +01:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-09-27 09:11:05 -05:00
2024-11-06 07:56:47 -10:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-09-29 09:22:34 -07:00
2024-10-02 17:23:23 -04:00
2024-10-29 04:01:40 +01:00
2024-10-28 12:30:27 +01:00
2024-10-02 17:23:23 -04:00
2024-11-11 19:23:38 -08:00
2024-10-02 17:23:23 -04:00
2024-09-20 10:51:25 -04:00
2024-09-26 08:43:17 -07:00
2024-11-01 13:41:55 -10:00
2024-09-26 10:13:08 -07:00
2024-10-10 12:43:01 -05:00
2024-10-02 01:27:50 +02:00
2024-09-09 08:53:17 +02:00
2024-10-13 18:17:35 +02:00
2024-11-01 15:44:23 -10:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-01 02:47:39 -07:00
2024-10-21 23:34:42 +05:30
2024-10-12 22:04:38 +02:00
2024-11-06 08:03:19 -10:00
2024-10-02 12:38:53 +02:00
2024-10-02 17:23:23 -04:00
2024-10-21 13:23:06 +02:00
2024-09-27 08:18:43 -07:00
2024-10-02 17:23:23 -04:00
2024-10-25 11:29:17 +02:00
2024-09-13 19:08:14 +01:00
2024-09-29 09:53:04 -07:00
2024-09-30 14:24:37 +02:00
2024-10-24 13:03:37 -05:00
2024-10-02 17:23:23 -04:00
2024-10-16 11:32:32 +02:00
2024-09-27 08:18:43 -07:00
2024-10-30 08:16:23 -10:00
2024-09-26 17:25:29 +02:00
2024-09-03 12:10:38 +02:00
2024-11-04 14:23:09 +01:00
2024-10-17 12:11:19 +01:00
2024-10-23 22:37:54 +01:00
2024-10-24 18:30:47 +01:00
2024-10-19 12:52:19 -07:00
2024-09-09 12:22:06 +02:00
2024-10-11 11:41:20 -07:00
2024-10-21 09:42:42 +03:00
2024-10-11 08:39:24 +02:00
2024-10-30 08:16:23 -10:00
2024-09-11 16:02:54 +02:00
2024-10-29 04:38:00 +01:00
2024-10-07 11:33:26 -07:00
2024-09-27 08:18:43 -07:00
2024-10-07 11:33:26 -07:00
2024-10-21 11:16:51 +02:00
2024-09-27 08:18:43 -07:00
2024-10-07 11:33:26 -07:00
2024-09-06 19:18:32 +02:00
2024-10-02 17:23:23 -04:00
2024-10-18 11:59:04 +02:00
2024-09-04 17:24:58 -05:00