ixgbevf: set the disable state when ixgbevf_qv_disable is called
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 16 Jan 2014 10:30:06 +0000 (02:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Jan 2014 23:34:24 +0000 (15:34 -0800)
commite689e72823e73361147849c416e5da5c4bcc8ddf
tree6300b7139d559bfe6e98ac1ee71868d5fea00703
parent8f4c5c9fb87aa113f33ddeb4028fb0de8e18311d
ixgbevf: set the disable state when ixgbevf_qv_disable is called

The ixgbevf_qv_disable function used by CONFIG_NET_RX_BUSY_POLL is broken,
because it does not properly set the IXGBEVF_QV_STATE_DISABLED bit, indicating
that the q_vector should be disabled (and preventing future locks from
obtaining the vector). This patch corrects the issue by setting the disable
state.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h