diff options
author | Rony Efraim <ronye@mellanox.com> | 2013-11-07 12:19:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-11-07 19:22:47 -0500 |
commit | f0f829bf42cdeb027234a1d0e1e5f62d77380a4d (patch) | |
tree | a34783b75f12d3136073ab3a13dfdf734cfe8fba /drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | |
parent | 571b8b92c7d4cddd899cf19f11f14fb149968898 (diff) | |
download | op-kernel-dev-f0f829bf42cdeb027234a1d0e1e5f62d77380a4d.zip op-kernel-dev-f0f829bf42cdeb027234a1d0e1e5f62d77380a4d.tar.gz |
net/mlx4_core: Add immediate activate for VGT->VST->VGT
Allow immediate activate of VGT->VST and VST->VGT transitions, without
the need of rebinding in mlx4_master_immediate_activate_vlan_qos().
Also in struct res_qp: add qp parameters (vlan_index,fvl,vlan_cntrol..)
to the saved set, in order to restore when move to VGT.
- Clear at mlx4_RST2INIT_QP_wrapper()
- Save at mlx4_INIT2RTR_QP_wrapper()
- Restore at mlx4_vf_immed_vlan_work_handler()
Update mlx4_vf_immed_vlan_work_handler() to support VGT.
Signed-off-by: Rony Efraim <ronye@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Reviewed-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mlx4_en.h')
0 files changed, 0 insertions, 0 deletions