qlcnic: Set real_num_{tx|rx}_queues properly
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Tue, 6 May 2014 07:46:49 +0000 (03:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 May 2014 20:53:15 +0000 (16:53 -0400)
commit84d7ad2c3b8a80888d9a483388ccbd5e5f07438f
treed66b5da3616c3d20eca737b532c3230839a75562
parentd5d2bf3eabb34cc8eaf54db37fdc43f04267985a
qlcnic: Set real_num_{tx|rx}_queues properly

Do not set netdev->real_num_tx_queues directly,
let netif_set_real_num_tx_queues() take care of it.
Do not overwrite netdev->num_tx_queues everytime when driver
changes its Tx ring size through ethtool -L and also notify
stack to update number of Rx queues.

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c