net/af_xdp: fix redundant check for wakeup need
authorXiao Wang <xiao.w.wang@intel.com>
Mon, 6 Jan 2020 14:09:40 +0000 (09:09 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:01 +0000 (19:46 +0100)
commitfdf69a8179245b01de3a736938166331487f4257
tree358d21fbfa0267eb5b8d7912c36a93972ea00d60
parent9d1ef6b2e7310bceee52df48651f65be1514da00
net/af_xdp: fix redundant check for wakeup need

Function kick_tx() has built-in detection on NEED_WAKEUP flag, so just
call it directly, like elsewhere in the driver.

Fixes: d8a210774e1d ("net/af_xdp: support unaligned umem chunks")
Cc: stable@dpdk.org
Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Tested-by: Ciara Loftus <ciara.loftus@intel.com>
drivers/net/af_xdp/rte_eth_af_xdp.c