net/af_xdp: use recvfrom instead of poll syscall
authorCiara Loftus <ciara.loftus@intel.com>
Wed, 10 Mar 2021 07:48:15 +0000 (07:48 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 10 Mar 2021 17:49:32 +0000 (18:49 +0100)
commit63e8989fe5a4b599b638d1296433787eb0032849
tree8331ce815b1dc47a59cc709bf88ebcd56827dc70
parentd96394ea263cd2657610561d85c37a793ded573b
net/af_xdp: use recvfrom instead of poll syscall

poll() is more expensive and requires more tuning
when used with the upcoming busy polling functionality.

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/af_xdp/rte_eth_af_xdp.c