ixgbe: use scattered Rx with bulk allocation
authorVlad Zolotarov <vladz@cloudius-systems.com>
Wed, 29 Apr 2015 08:38:17 +0000 (11:38 +0300)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 7 May 2015 17:19:18 +0000 (19:19 +0200)
commitcddae880b69155f76efa3241d02437fc69fade45
tree4a69cfc630fa1a84fb1de9afb36453fcce983577
parent9d8a92628f21c43c88f7be9654b3b7699b4c6d2a
ixgbe: use scattered Rx with bulk allocation

Simply initialze rx_pkt_burst callback to ixgbe_recv_pkts_lro_bulk_alloc()
if the conditions are right.

This is possible because work against HW in LRO and scattered cases is
exactly the same and LRO callback already supports the bulk allocation.

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_pmd_ixgbe/ixgbe_rxtx.c