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 iWrap support. Fixing that matching the ndev only if
we work on a RoCE port.
Fixes: abae1b71dd37 ('IB/cma: cma_validate_port should verify the port
On 1/6/2016 7:06 AM, Matan Barak wrote:
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 iWrap support. Fixing that matching the ndev only if
Typo "iWrap"
Reviewed-by: Steve Wise