-
- Downloads
net/mlx4_core: Dynamic VST to VST vlan/qos changes
Within VST mode, enable modifying the vlan and/or qos for a VF without requiring unbind/rebind. This requires firmware which supports the UPDATE_QP command. (If the command is not available, we fall back to requiring unbind/bind to activate these changes). To avoid race conditions with modify-qp on QPs that are affected by update-qp, this operation is performed on the comm_wq. If the update operation succeeds for all the necessary QPs, a vlan_unregister is performed for the abandoned vlan id. Signed-off-by:Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by:
Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/mellanox/mlx4/cmd.c 117 additions, 5 deletionsdrivers/net/ethernet/mellanox/mlx4/cmd.c
- drivers/net/ethernet/mellanox/mlx4/fw.c 4 additions, 1 deletiondrivers/net/ethernet/mellanox/mlx4/fw.c
- drivers/net/ethernet/mellanox/mlx4/mlx4.h 20 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlx4/mlx4.h
- drivers/net/ethernet/mellanox/mlx4/resource_tracker.c 141 additions, 4 deletionsdrivers/net/ethernet/mellanox/mlx4/resource_tracker.c
- include/linux/mlx4/cmd.h 1 addition, 0 deletionsinclude/linux/mlx4/cmd.h
- include/linux/mlx4/device.h 2 additions, 1 deletioninclude/linux/mlx4/device.h
- include/linux/mlx4/qp.h 34 additions, 0 deletionsinclude/linux/mlx4/qp.h
Loading
Please register or sign in to comment