Repository navigation
Commit 5e6ad64
net/mlx5e: Fix ICOSQ recovery flow for XSK
[ Upstream commit 19c4aba ]
There are two ICOSQs per channel: one is needed for RX, and the other
for async operations (XSK TX, kTLS offload). Currently, the recovery
flow for both is the same, and async ICOSQ is mistakenly treated like
the regular ICOSQ.
This patch prevents running the regular ICOSQ recovery on async ICOSQ.
The purpose of async ICOSQ is to handle XSK wakeup requests and post
kTLS offload RX parameters, it has nothing to do with RQ and XSKRQ UMRs,
so the regular recovery sequence is not applicable here.
Fixes: be5323c ("net/mlx5e: Report and recover from CQE error on ICOSQ")
Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Reviewed-by: Aya Levin <ayal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 7366516 commit 5e6ad64
2 files changed
Lines changed: 22 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
916 | 916 | | |
917 | 917 | | |
918 | 918 | | |
919 | | - | |
920 | | - | |
921 | | - | |
922 | 919 | | |
923 | 920 | | |
924 | 921 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1051 | 1051 | | |
1052 | 1052 | | |
1053 | 1053 | | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
1054 | 1064 | | |
1055 | 1065 | | |
1056 | | - | |
| 1066 | + | |
| 1067 | + | |
1057 | 1068 | | |
1058 | 1069 | | |
1059 | 1070 | | |
| |||
1073 | 1084 | | |
1074 | 1085 | | |
1075 | 1086 | | |
1076 | | - | |
| 1087 | + | |
1077 | 1088 | | |
1078 | 1089 | | |
1079 | 1090 | | |
| |||
1423 | 1434 | | |
1424 | 1435 | | |
1425 | 1436 | | |
1426 | | - | |
1427 | | - | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
1428 | 1440 | | |
1429 | 1441 | | |
1430 | 1442 | | |
1431 | 1443 | | |
1432 | | - | |
| 1444 | + | |
1433 | 1445 | | |
1434 | 1446 | | |
1435 | 1447 | | |
| |||
1459 | 1471 | | |
1460 | 1472 | | |
1461 | 1473 | | |
1462 | | - | |
| 1474 | + | |
1463 | 1475 | | |
1464 | 1476 | | |
1465 | 1477 | | |
| |||
1862 | 1874 | | |
1863 | 1875 | | |
1864 | 1876 | | |
1865 | | - | |
| 1877 | + | |
| 1878 | + | |
1866 | 1879 | | |
1867 | 1880 | | |
1868 | 1881 | | |
1869 | | - | |
| 1882 | + | |
| 1883 | + | |
1870 | 1884 | | |
1871 | 1885 | | |
1872 | 1886 | | |
| |||
0 commit comments