Skip to content

Commit

Permalink
issue: 1584343 Disable vlan stripping in MP_RQ
Browse files Browse the repository at this point in the history
vlan should be part of the network header.

Signed-off-by: Rafi Wiener <rafiw@mellanox.com>
  • Loading branch information
rafiw authored and Liran Oz committed Dec 19, 2018
1 parent a0c576b commit de44790
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/vma/dev/qp_mgr_mp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ int qp_mgr_mp::prepare_ibv_qp(vma_ibv_qp_init_attr& qp_init_attr)
wq_init_attr.max_recv_sge = 1;
wq_init_attr.pd = m_p_ib_ctx_handler->get_ibv_pd();
wq_init_attr.cq = m_p_cq_mgr_rx->get_ibv_cq_hndl();
if (m_p_ib_ctx_handler->get_ibv_device_attr()->wq_vlan_offloads_cap &
IBV_EXP_RECEIVE_WQ_CVLAN_STRIP) {
wq_init_attr.comp_mask |= IBV_EXP_CREATE_WQ_VLAN_OFFLOADS;
wq_init_attr.vlan_offloads |= IBV_EXP_RECEIVE_WQ_CVLAN_STRIP;
}
wq_init_attr.comp_mask |= IBV_EXP_CREATE_WQ_RES_DOMAIN;
wq_init_attr.res_domain = m_p_mp_ring->get_res_domain();

Expand Down

0 comments on commit de44790

Please sign in to comment.