net/ena: fix invalid reference to variable in union
authorRafal Kozik <rk@semihalf.com>
Fri, 14 Dec 2018 13:18:39 +0000 (14:18 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commiteccbe2ffdc755a9e759c6ba480f6c15ccb1163c7
tree68ecd84732e9799d4fa0ada633e351124c7f9fa9
parentb01ead202beb45346d7daeb2f2b1a608006af644
net/ena: fix invalid reference to variable in union

Use empty_rx_reqs instead of empty_tx_reqs.
As those two variables are part of union this not cause
any failure, but for consistency should be changed.

Fixes: c2034976673d ("net/ena: add Rx out of order completion")
Cc: stable@dpdk.org
Signed-off-by: Rafal Kozik <rk@semihalf.com>
Acked-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/ena_ethdev.c