net/mlx5: select Rx/Tx callbacks when starting device
authorYongseok Koh <yskoh@mellanox.com>
Thu, 6 Jul 2017 18:41:09 +0000 (11:41 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 7 Jul 2017 09:55:47 +0000 (11:55 +0200)
commitf3d2dcc856fe6de4e14a9a44eb760da4634df655
tree8dd7190dbf28d2f60e94de5c330ade2523269a85
parentb0b09384579357265db6cb01a0d1ee24b19b3163
net/mlx5: select Rx/Tx callbacks when starting device

The callbacks are global to a device but the selection is made every queue
configuration, which is redundant.

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_ethdev.c
drivers/net/mlx5/mlx5_rxq.c
drivers/net/mlx5/mlx5_trigger.c
drivers/net/mlx5/mlx5_txq.c