net/mlx5: re-factorize functions
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Wed, 14 Sep 2016 11:53:54 +0000 (13:53 +0200)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commitd772d4408d3f71d89ab2c50bf02c553c9e11d4db
tree79c74a23fdd9b355ddbf6e9cb9ce6cc4799d59e9
parenta6ca35aa74339cdd1596c9ba897097b2d2ba77ce
net/mlx5: re-factorize functions

Rework logic of wqe_write() and wqe_write_vlan() which are pretty similar
to keep a single one.

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_rxtx.c