]> git.karo-electronics.de Git - linux-beck.git/commit
net/mlx4_en: Configure the XPS queue mapping on driver load
authorIdo Shamay <idos@mellanox.com>
Thu, 19 Dec 2013 19:20:14 +0000 (21:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Dec 2013 00:04:44 +0000 (19:04 -0500)
commitd03a68f8217ea03492e4f7928db222dc6544792a
tree0cbd6beb3a60fc350a9aad45da3e0725afef84c5
parent84c864038d6d991be81344fc3168ec2c2f7a8d06
net/mlx4_en: Configure the XPS queue mapping on driver load

Only TX rings of User Piority 0 are mapped.
TX rings of other UP's are using UP 0 mapping.
XPS is not in use when num_tc is set.

Signed-off-by: Ido Shamay <idos@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/en_tx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h