]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Fix resource allocation for TX queues
authorManish Chopra <manish.chopra@qlogic.com>
Thu, 2 Jan 2014 18:38:44 +0000 (13:38 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2014 22:19:12 +0000 (17:19 -0500)
commit45c702dd03f0ab3042442b596d97749d2fdd68e1
tree94f2d5868cd978835775be366e3a20074419d4f9
parent56d46e3ff11e015c409701ce34873fd93b57742a
qlcnic: Fix resource allocation for TX queues

o TX queues allocation was getting distributed equally among all the
  functions of the port including VFs and PF. Which was leading to failure
  in PF's multiple TX queues creation.

o Instead of dividing queues equally allocate one TX queue for each VF as VF
  doesn't support multiple TX queues.

Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c