OSDN Git Service

IB/rxe: support for 802.1q VLAN on the listener
authorVijay Immanuel <vijayi@attalasystems.com>
Wed, 13 Jun 2018 01:12:05 +0000 (18:12 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Jun 2018 19:16:04 +0000 (13:16 -0600)
commit92cf36eec2a76d8fe61d439cd2b3ebbf33029477
treefad0a25f6e4934ef13bd2e7aeae919f444c74c0e
parent6a965ee57d0ccff9994cf068bfc4f8beb2a2aba0
IB/rxe: support for 802.1q VLAN on the listener

Set the vlan flag and vlan_id field in the wc for rdma_listen()
to work over VLAN. This is required by ib_init_ah_attr_from_wc()
which is called by the CM REQ handler.

Signed-off-by: Vijay Immanuel <vijayi@attalasystems.com>
Reviewed-by: Yonatan Cohen <yonatanc@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rxe/rxe_resp.c