net/mlx5: enable inlining data from multiple segments
authorYongseok Koh <yskoh@mellanox.com>
Wed, 27 Dec 2017 03:55:43 +0000 (19:55 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commitf895536be4fa8d207789b286900eae793fcb4917
tree47c25bfea30ee64fa5df60f222483aa544f1fef5
parentde48f16525e23cd04ee4c1c5b74392123529758a
net/mlx5: enable inlining data from multiple segments

mlx5_tx_burst() doesn't inline data from the 2nd segment. If there's still
enough room in the descriptor after inlining the 1st segment, further
inlining from the 2nd segment would be beneficial to save PCIe bandwidth.

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_rxtx.c