Commit 96a8395
net/mlx5e: Update XDP features in switch channels
The XDP features state might depend of the state of other features, like
HW-LRO / HW-GRO.
In general, move the re-evaluation announcement of the XDP features
(xdp_set_features_flag_locked) into the flow where configuration gets
changed. There's no point in updating them elsewhere.
This is a more appropriate place, as this modifies the announced
features while channels are inactive, which avoids the small interval
between channel activation and the proper setting of the XDP features.
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: William Tu <witu@nvidia.com>
Link: https://patch.msgid.link/1764497617-1326331-2-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>1 parent 31a3ed4 commit 96a8395
File tree
4 files changed
+9
-18
lines changed- drivers/net/ethernet/mellanox/mlx5/core
4 files changed
+9
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1249 | 1249 | | |
1250 | 1250 | | |
1251 | 1251 | | |
1252 | | - | |
| 1252 | + | |
1253 | 1253 | | |
1254 | 1254 | | |
1255 | 1255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2294 | 2294 | | |
2295 | 2295 | | |
2296 | 2296 | | |
2297 | | - | |
2298 | 2297 | | |
2299 | 2298 | | |
2300 | 2299 | | |
| |||
2315 | 2314 | | |
2316 | 2315 | | |
2317 | 2316 | | |
2318 | | - | |
2319 | | - | |
2320 | | - | |
2321 | | - | |
2322 | | - | |
2323 | | - | |
2324 | | - | |
2325 | | - | |
| 2317 | + | |
2326 | 2318 | | |
2327 | 2319 | | |
2328 | 2320 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3365 | 3365 | | |
3366 | 3366 | | |
3367 | 3367 | | |
| 3368 | + | |
3368 | 3369 | | |
3369 | 3370 | | |
3370 | 3371 | | |
| |||
3396 | 3397 | | |
3397 | 3398 | | |
3398 | 3399 | | |
| 3400 | + | |
3399 | 3401 | | |
3400 | 3402 | | |
3401 | 3403 | | |
| |||
4409 | 4411 | | |
4410 | 4412 | | |
4411 | 4413 | | |
4412 | | - | |
| 4414 | + | |
4413 | 4415 | | |
4414 | | - | |
4415 | 4416 | | |
| 4417 | + | |
4416 | 4418 | | |
4417 | 4419 | | |
4418 | 4420 | | |
| |||
4461 | 4463 | | |
4462 | 4464 | | |
4463 | 4465 | | |
4464 | | - | |
4465 | | - | |
4466 | | - | |
4467 | 4466 | | |
4468 | 4467 | | |
4469 | 4468 | | |
| |||
5859 | 5858 | | |
5860 | 5859 | | |
5861 | 5860 | | |
5862 | | - | |
| 5861 | + | |
5863 | 5862 | | |
5864 | 5863 | | |
5865 | 5864 | | |
| |||
5957 | 5956 | | |
5958 | 5957 | | |
5959 | 5958 | | |
5960 | | - | |
| 5959 | + | |
5961 | 5960 | | |
5962 | 5961 | | |
5963 | 5962 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
867 | 867 | | |
868 | 868 | | |
869 | 869 | | |
870 | | - | |
| 870 | + | |
871 | 871 | | |
872 | 872 | | |
873 | 873 | | |
| |||
0 commit comments