mlx4_en: multiqueue support
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Mon, 1 Jun 2009 23:24:07 +0000 (23:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jun 2009 09:29:06 +0000 (02:29 -0700)
By default the driver opens 8 TX queues (defined by MLX4_EN_NUM_TX_RINGS).
If the driver is configured to support Per Priority Flow Control, we open
8 additional TX rings.
dev->real_num_tx_queues is always set to be MLX4_EN_NUM_TX_RINGS.
The mlx4_en_select_queue() function uses standard hashing (skb_tx_hash)
in case that PPFC is not supported or the skb contain a vlan tag,
otherwise the queue is selected according to vlan priority.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found