net/mlx5: fix legacy inline multi-packet performance
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Wed, 27 Nov 2019 13:06:16 +0000 (13:06 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 27 Nov 2019 15:27:00 +0000 (16:27 +0100)
commitc8a1a172ae2b4535b57bcf194a731334246a5a35
treef0fc66c3a9bdf42b646cece95b491c89ab97458b
parent57725162f05dfb9f81fa3bae76018488083f9493
net/mlx5: fix legacy inline multi-packet performance

The legacy multi-packet write is the feature allowing to
put multiple packets into one transmitting descriptor,
this feature is supported by only NIC ConnectX-4LX.
The number of packets should be limited to provide
optimal size descriptor and better performance.

Fixes: 18a1c20044c0 ("net/mlx5: implement Tx burst template")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/mlx5_prm.h
drivers/net/mlx5/mlx5_rxtx.c