]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: Tx, Unconstify SQ stop room
authorTariq Toukan <tariqt@mellanox.com>
Fri, 5 Jul 2019 15:30:19 +0000 (18:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Jul 2019 23:29:19 +0000 (16:29 -0700)
commit01614d4f603ed651098b7741f4742e7caf6d0155
tree8d9d1f0376b8409fb538c37e642f25773ca35b41
parent9ab0233728cab92575eee90a86cda639ef34ba57
net/mlx5e: Tx, Unconstify SQ stop room

Use an SQ field for stop_room, and use the larger value only if TLS
is supported.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@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/txrx.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c