Commit e05feab
RDMA/mlx5: Enforce same type port association for multiport RoCE
Different core device types such as PFs and VFs shouldn't be affiliated
together since they have different capabilities, fix that by enforcing
type check before doing the affiliation.
Fixes: 32f69e4 ("{net, IB}/mlx5: Manage port association for multiport RoCE")
Reviewed-by: Mark Bloch <[email protected]>
Signed-off-by: Patrisious Haddad <[email protected]>
Link: https://patch.msgid.link/88699500f690dff1c1852c1ddb71f8a1cc8b956e.1733233480.git.leonro@nvidia.com
Reviewed-by: Mateusz Polchlopek <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>1 parent d0257e0 commit e05feab
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3639 | 3639 | | |
3640 | 3640 | | |
3641 | 3641 | | |
3642 | | - | |
| 3642 | + | |
| 3643 | + | |
3643 | 3644 | | |
3644 | 3645 | | |
3645 | 3646 | | |
| |||
4785 | 4786 | | |
4786 | 4787 | | |
4787 | 4788 | | |
4788 | | - | |
| 4789 | + | |
| 4790 | + | |
4789 | 4791 | | |
4790 | 4792 | | |
4791 | 4793 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1202 | 1202 | | |
1203 | 1203 | | |
1204 | 1204 | | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
1205 | 1211 | | |
1206 | 1212 | | |
1207 | 1213 | | |
| |||
0 commit comments