On Wed, 2019-10-02 at 15:17 +0300, Leon Romanovsky wrote: > From: Parav Pandit <parav@xxxxxxxxxxxx> > > Current code tries to derive VLAN ID and compares it with GID > attribute for matching entry. This raw search fails on macvlan > netdevice as its not a VLAN device, but its an upper device of a VLAN > netdevice. > > Due to this limitation, incoming QP1 packets fail to match in the > GID table. Such packets are dropped. > > Hence, to support it, use the existing rdma_read_gid_l2_fields() > that takes care of diffferent device types. > > Fixes: dbf727de7440 ("IB/core: Use GID table in AH creation and dmac > resolution") > Signed-off-by: Parav Pandit <parav@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> Thanks, applied to for-rc. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: B826A3330E572FDD Fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: This is a digitally signed message part