diff options
| author | Matan Barak <[email protected]> | 2016-01-07 11:19:29 +0200 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2016-01-19 13:33:47 -0500 |
| commit | 649367735ee5dedb128d9fac0b86ba7e0fe7ae3b (patch) | |
| tree | 2f8ea043dc286fd69b796a6c90bd9d2cb6638e1c /tools/perf/scripts/python | |
| parent | 09dc9cd6528f5b52bcbd3292a6312e762c85260f (diff) | |
IB/cma: Fix RDMA port validation for iWarp
cma_validate_port wrongly assumed that Ethernet devices are RoCE
devices and thus their ndev should be matched in the GID table.
This broke the iWarp support. Fixing that matching the ndev only if
we work on a RoCE port.
Cc: <[email protected]> # 4.4.x-
Fixes: abae1b71dd37 ('IB/cma: cma_validate_port should verify the port
and netdevice')
Reported-by: Hariprasad Shenai <[email protected]>
Tested-by: Hariprasad Shenai <[email protected]>
Signed-off-by: Matan Barak <[email protected]>
Reviewed-by: Steve Wise <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions