Repository navigation
Commit 92cd667
RDMA/mlx5: Don't rely on FW to set zeros in ECE response
The FW returns zeros in case feature is not enabled, but it is better to
have the capability check and ensure that returned result is cleared.
Fixes: 3e09a42 ("RDMA/mlx5: Get ECE options from FW during create QP")
Link: https://lore.kernel.org/r/20200602125548.172654-3-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>1 parent 6512f11 commit 92cd667
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1906 | 1906 | | |
1907 | 1907 | | |
1908 | 1908 | | |
1909 | | - | |
| 1909 | + | |
| 1910 | + | |
1910 | 1911 | | |
1911 | 1912 | | |
1912 | 1913 | | |
| |||
2082 | 2083 | | |
2083 | 2084 | | |
2084 | 2085 | | |
2085 | | - | |
| 2086 | + | |
| 2087 | + | |
2086 | 2088 | | |
2087 | 2089 | | |
2088 | 2090 | | |
| |||
0 commit comments