RDMA/irdma: Fix netdev notifications for vlan's
authorMustafa Ismail <mustafa.ismail@intel.com>
Fri, 25 Feb 2022 16:32:09 +0000 (10:32 -0600)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 28 Feb 2022 16:07:40 +0000 (12:07 -0400)
commit6702bc14744847842a87fed21a795b6e8bab6965
tree3dbcfea76edd4d6fe21d3762c0835d26c0e11bc3
parentea7596c1e5a738a6979edf1e3539e0c85db15e90
RDMA/irdma: Fix netdev notifications for vlan's

Currently, events on vlan netdevs are being ignored. Fix this by finding
the real netdev and processing the notifications for vlan netdevs.

Fixes: 915cc7ac0f8e ("RDMA/irdma: Add miscellaneous utility definitions")
Link: https://lore.kernel.org/r/20220225163211.127-2-shiraz.saleem@intel.com
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/irdma/utils.c