net/ena: update completion queue after cleanup
authorRafal Kozik <rk@semihalf.com>
Fri, 14 Dec 2018 13:18:44 +0000 (14:18 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Dec 2018 15:22:40 +0000 (16:22 +0100)
commita45462c507e98b49cb5c2302e0be3c72d2e20a1a
tree6dff28456036d9e1222983d4ac8d723534a33662
parent94c3e3765d9e0366acf145668d32d5eee3200c2b
net/ena: update completion queue after cleanup

After Rx or Tx cleanup update completion queue head by calling
ena_com_update_dev_comp_head().

Fixes: 1daff5260ff8 ("net/ena: use unmasked head and tail")
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