]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Fix QLogic application/driver interface for virtual NIC configuration
authorJitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Mon, 14 Apr 2014 14:02:22 +0000 (10:02 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Apr 2014 17:43:52 +0000 (13:43 -0400)
commit2a1faea5996365b353f1374b41e6f471c6977766
tree26725f007f35a69379f1d612d7872e0dc9f6d2aa
parent99c078fd328523f9e2c0578ed23449c36fa3a5f7
qlcnic: Fix QLogic application/driver interface for virtual NIC configuration

o Application expect vNIC number as the array index but driver interface
return configuration in array index form.

o Pack the vNIC information array in the buffer such that application can
access it using vNIC number as the array index.

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