aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en.h
diff options
context:
space:
mode:
authorHadar Hen Zion <hadarh@mellanox.com>2016-07-24 16:12:39 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-25 17:53:40 -0700
commitae76715d153e33c249b6850361e4d8d775388b5a (patch)
tree80a2979527df9f9d20f67385607434dc2009e48f /drivers/net/ethernet/mellanox/mlx5/core/en.h
parentnet/sctp: terminate rhashtable walk correctly (diff)
downloadlinux-dev-ae76715d153e33c249b6850361e4d8d775388b5a.tar.xz
linux-dev-ae76715d153e33c249b6850361e4d8d775388b5a.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/en.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h
index 4cbd452fec25..2c20c7b14043 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/en.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h
@@ -398,6 +398,7 @@ struct mlx5e_sq {
u32 sqn;
u16 bf_buf_size;
u16 max_inline;
+ u8 min_inline_mode;
u16 edge;
struct device *pdev;
struct mlx5e_tstamp *tstamp;