net/mlx5: enable loopback by configured mode
authorDekel Peled <dekelp@mellanox.com>
Thu, 1 Nov 2018 07:11:04 +0000 (09:11 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Nov 2018 14:01:25 +0000 (15:01 +0100)
commit65c9d24170c9ec1db59d3472b7c4af3fd087d621
treead1728a519531b19111a2113473f4343d5a1d69f
parentc513f05cdedbf0e63de1c7ed4dc744e599e58d2c
net/mlx5: enable loopback by configured mode

Enable NIC loopback mode based on rte_eth_conf.lpbk_mode
configuration.

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_rxq.c