From: Yevgeny Petrilin Date: Mon, 1 Jun 2009 23:24:07 +0000 (+0000) Subject: mlx4_en: multiqueue support X-Git-Tag: v2.6.31-rc1~330^2~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f813cad836ab14b764cfe76f42a3b50bb9677b30;p=pandora-kernel.git mlx4_en: multiqueue support 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed