mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
net/mlx5e: Check the minimum inline header mode before xmit
Each send queue (SQ) has inline mode that defines the minimal required inline headers in the SQ WQE. Before sending each packet check that the minimum required headers on the WQE are copied. Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
5fc382d875
commit
ae76715d15
@@ -129,6 +129,13 @@ __mlx5_mask(typ, fld))
|
||||
tmp; \
|
||||
})
|
||||
|
||||
enum mlx5_inline_modes {
|
||||
MLX5_INLINE_MODE_NONE,
|
||||
MLX5_INLINE_MODE_L2,
|
||||
MLX5_INLINE_MODE_IP,
|
||||
MLX5_INLINE_MODE_TCP_UDP,
|
||||
};
|
||||
|
||||
enum {
|
||||
MLX5_MAX_COMMANDS = 32,
|
||||
MLX5_CMD_DATA_BLOCK_SIZE = 512,
|
||||
|
||||
Reference in New Issue
Block a user