net/mlx5e: Support TX packet copy into WQE
authorAchiad Shochat <achiad@mellanox.com>
Thu, 23 Jul 2015 20:35:58 +0000 (23:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 07:29:17 +0000 (00:29 -0700)
commit58d522912ac7d25b63f468fa4a4e8bb059c5144e
treed106329cbe7ddb86d852a0c71ab8f0899a4fe665
parent311c7c71c9bb8786c96fee353fe9886c08b017fe
net/mlx5e: Support TX packet copy into WQE

AKA inline WQE.
A TX latency optimization to save data gather DMA reads.
Controlled by ETHTOOL_TX_COPYBREAK.

Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Amir Vadai <amirv@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_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c