aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio-sun4i.c
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2019-11-18 11:41:04 +0200
committerDavid S. Miller <davem@davemloft.net>2019-11-18 17:18:34 -0800
commit2744bf42680f64ebf2ee8a00354897857c073331 (patch)
tree9c4e77e4a82bfde968979c99315339b1d4bca1df /drivers/net/phy/mdio-sun4i.c
parentnet: sched: ensure opts_len <= IP_TUNNEL_OPTS_MAX in act_tunnel_key (diff)
downloadlinux-dev-2744bf42680f64ebf2ee8a00354897857c073331.tar.xz
linux-dev-2744bf42680f64ebf2ee8a00354897857c073331.zip
net/mlx4_en: Fix wrong limitation for number of TX rings
XDP_TX rings should not be limited by max_num_tx_rings_p_up. To make sure total number of TX rings never exceed MAX_TX_RINGS, add similar check in mlx4_en_alloc_tx_queue_per_tc(), where a new value is assigned for num_up. Fixes: 7e1dc5e926d5 ("net/mlx4_en: Limit the number of TX rings") Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions