net/mlx4_core: Add HW enforcement to VF link state
authorRony Efraim <ronye@mellanox.com>
Thu, 27 Jun 2013 16:05:22 +0000 (19:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jul 2013 20:10:57 +0000 (13:10 -0700)
commit0a6eac24583848490e9a9c02daef5e33c997431f
treec314d372854be62218ccaccfc93ebcd9cae29efb
parentb01978cacfd7e3a4ca703b0e48f2e18de8865df5
net/mlx4_core: Add HW enforcement to VF link state

When the firmware supports the UPDATE_QP command, if the VF link is disabled,
block all QPs opened by the VF, by programming the UPDATE_QP command to drop
all RX & TX traffic to/from these QPs. Operates only in VST mode.

Signed-off-by: Rony Efraim <ronye@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/cmd.c
drivers/net/ethernet/mellanox/mlx4/mlx4.h
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
include/linux/mlx4/qp.h
This page took 0.026585 seconds and 5 git commands to generate.