net/mlx4: simplify Rx buffer handling
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Fri, 1 Sep 2017 08:06:41 +0000 (10:06 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:48 +0000 (02:49 +0200)
commit5c5435192c09f0673255c67e0b6fb7f9561cb30b
treef58dc9c1e552cb156cda23588aed7bcc2056f1c1
parent49040046f48a4f90f7abce916f5da1d34b589df3
net/mlx4: simplify Rx buffer handling

Thanks to the fact the PMD temporarily uses a slower interface for Rx,
removing the WR ID hack to instead store mbuf pointers directly makes the
code simpler at no extra cost.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4.c
drivers/net/mlx4/mlx4.h