]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/irdma: Set VLAN in UD work completion correctly
authorMustafa Ismail <mustafa.ismail@intel.com>
Tue, 19 Oct 2021 15:16:53 +0000 (10:16 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 19 Oct 2021 23:22:01 +0000 (20:22 -0300)
commitd3822492ec672924eeda576a28d7374a8f460656
treeef94505a94f128ef12aeea5812ac25469f6d4bf3
parentade0a4575812eefe5b5f014d00ff104d37d22707
RDMA/irdma: Set VLAN in UD work completion correctly

Currently VLAN is reported in UD work completion when VLAN id is zero,
i.e. no VLAN case.

Report VLAN in UD work completion only when VLAN id is non-zero.

Fixes: 434ed3ceee5a ("RDMA/irdma: Implement device supported verb APIs")
Link: https://lore.kernel.org/r/20211019151654.1943-1-shiraz.saleem@intel.com
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/irdma/verbs.c