net/bonding: fix LACP fast queue Rx handler
authorDavid Marchand <david.marchand@redhat.com>
Wed, 10 Apr 2019 12:53:47 +0000 (14:53 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 22 Aug 2019 16:45:49 +0000 (18:45 +0200)
commit58729b54949598cc43d56e22ef813b620651bb6a
tree570b2b793f39e6b0631ff2c72f3df4306810ecae
parent8ff0003c19412b04f70bfbe59fa52822417f86c3
net/bonding: fix LACP fast queue Rx handler

Fast queue Rx burst function is missing checks on promisc and the
slave collecting state.
Define an inline wrapper to have a common base.

Fixes: 112891cd27e5 ("net/bonding: add dedicated HW queues for LACP control")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Chas Williams <chas3@att.com>
drivers/net/bonding/rte_eth_bond_pmd.c