qlcnic: Updates to QLogic application/driver interface for virtual NIC configuration
authorJitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Fri, 21 Feb 2014 18:20:11 +0000 (13:20 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2014 23:43:19 +0000 (18:43 -0500)
commitd91abf903b1d39f46251305328e245c76f14b349
tree77a37610a5d9be5b92a266bcb80b852e6232b60a
parent225837a076b284ac408a3b0104584ae0ad117a0c
qlcnic: Updates to QLogic application/driver interface for virtual NIC configuration

Qlogic application interface in the driver which has larger than 8 vNIC
configuration support has been updated to handle the following cases:

o Only 8 or lower total vNICs were enabled within the vNIC 0-7 range
o vNICs were enabled in the vNIC 0-15 range such that enabled vNICs were
  not contiguous and only 8 or lower number of total VNICs were enabled
o Disconnect in the vNIC mapping between application and driver when the
  enabled VNICs were dis contiguous

Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c