]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net/mlx5e: Single bfreg (UAR) for all mlx5e SQs and netdevs
authorSaeed Mahameed <saeedm@mellanox.com>
Fri, 24 Mar 2017 21:52:05 +0000 (00:52 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Mar 2017 02:11:45 +0000 (19:11 -0700)
commitaff2615763f206f897146e0ee1ddae8e22055ae3
tree2ce4556582a37e2ae268e4b1884fd98a95e39dad
parent6982ab609768f4e7c84eab053314effa0bc500fc
net/mlx5e: Single bfreg (UAR) for all mlx5e SQs and netdevs

One is sufficient since Blue Flame is not supported anymore.
This will also come in handy for switchdev mode to save resources, since
VF representors will use same single UAR as well for their own SQs.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_common.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
include/linux/mlx5/driver.h