HomeFreeBSD

Honor port_num while resolving GID for IB link layer in ibcore.

Description

Honor port_num while resolving GID for IB link layer in ibcore.

ah_attr contains the port number to which cm_id is bound. However, while
searching for GID table for matching GID entry, the port number is
ignored.

This could cause the wrong GID to be used when the ah_attr is converted to
an AH.

Linux commit:
563c4ba3bd2b8b0b21c65669ec2226b1cfa1138b

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS336385: Set IPv4 TOS and IPv6 traffic class field for RoCEv2 traffic in ibcore.
Branches
Unknown
Tags
Unknown