aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ocrdma/ocrdma_main.c
diff options
context:
space:
mode:
authorDevesh Sharma <devesh.sharma@avagotech.com>2015-12-24 13:14:05 -0500
committerDoug Ledford <dledford@redhat.com>2016-01-19 14:00:47 -0500
commita2addf94a8f05171ecb98ac22d335bde09ed9f36 (patch)
tree2337bb2e55027e04cbc43d4fe1ee78efc0c69ff2 /drivers/infiniband/hw/ocrdma/ocrdma_main.c
parentIB/cma: Fix RDMA port validation for iWarp (diff)
downloadlinux-dev-a2addf94a8f05171ecb98ac22d335bde09ed9f36.tar.xz
linux-dev-a2addf94a8f05171ecb98ac22d335bde09ed9f36.zip
RDMA/ocrdma: Fix vlan-id assignment in qp parameters
vlan-id is wrongly getting as 0 when PFC is enabled. Set vlan-id configured by user in QP parameters. In case vlan interface is not used, flash a warning to user to configure vlan and assign vlan-id as 0 in qp params. Fixes: dbf727de7440 ('IB/core: Use GID table in AH creation and dmac resolution') Cc: Matan Barak <matanb@mellanox.com> Signed-off-by: Devesh Sharma <devesh.sharma@avagotech.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_main.c')
0 files changed, 0 insertions, 0 deletions