net/mlx5: change pkt burst select function prototype
authorShahaf Shuler <shahafs@mellanox.com>
Wed, 10 Jan 2018 09:16:57 +0000 (11:16 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit1cfa649ba614693165fc4659ace525d8b45bf110
tree89f835b39fc7fdd9dd3c33a58896f7ce58b86f0e
parentd27fb0de2f2ae072f2dbdb236c1d10bd2b19b28f
net/mlx5: change pkt burst select function prototype

Change the function prototype to return the function pointer of the
selected Tx/Rx burst function instead of assigning it directly to the
device context.

Such change will enable to use those select functions to query the burst
function that will be selected according to the device configuration.

Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_ethdev.c
drivers/net/mlx5/mlx5_trigger.c