]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net/mlx5e: Check the minimum inline header mode before xmit
authorHadar Hen Zion <hadarh@mellanox.com>
Sun, 24 Jul 2016 13:12:39 +0000 (16:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jul 2016 00:53:40 +0000 (17:53 -0700)
commitae76715d153e33c249b6850361e4d8d775388b5a
tree80a2979527df9f9d20f67385607434dc2009e48f
parent5fc382d87517707ad77ea4c9c12e2a3fde2c838a
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>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
include/linux/mlx5/device.h