net/mlx4: small optimization in mlx4_en_xmit()
authorEric Dumazet <edumazet@google.com>
Wed, 7 Dec 2022 14:12:37 +0000 (14:12 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Dec 2022 22:27:48 +0000 (14:27 -0800)
commit0e706f7961a44f4be13cf9b5eedb70f0ab2724b8
treed211b775704e9d99a19a55d169de8e5a6e1b780c
parent26782aad00ccb8f8e5ae6221358fa79cdafc8548
net/mlx4: small optimization in mlx4_en_xmit()

Test against MLX4_MAX_DESC_TXBBS only matters if the TX
bounce buffer is going to be used.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Wei Wang <weiwan@google.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx4/en_tx.c