]> Pileus Git - ~andy/linux/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)
commitf3e3ccf83bab261c5b55623bd3e9d1147b1c2e19
tree94f2d5868cd978835775be366e3a20074419d4f9
parentd9c602f033b00ba360a324c0ee5aa59a6838fb40
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