]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Correct efx_for_each_possible_channel_tx_queue() to skip non-TX channels
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 23 Feb 2012 00:45:50 +0000 (00:45 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 23 Feb 2012 00:45:50 +0000 (00:45 +0000)
commit63b1931133d34571e2be5893b757dbac7ce46575
tree612050837d31b533a79db98679ccd6aaac7e028d
parent746590e9a57e474d2ba3244218124bc7d5ef252e
sfc: Correct efx_for_each_possible_channel_tx_queue() to skip non-TX channels

efx_for_each_possible_channel_tx_queue() should do nothing for RX-only
or extra channels.  The current definition results in allocating
additional unused hardware TX queues when using the mqprio qdisc and
either separate_tx_channels or SR-IOV.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/net_driver.h