[dpdk-dev] [PATCH v1 0/4]: Cleanups in the ixgbe PMD

Vlad Zolotarov vladz at cloudius-systems.com
Sun Apr 26 16:46:07 CEST 2015


This series includes:
   - Fix the "issue" introduced in 01fa1d6215fa7cd6b5303ac9296381b75b9226de:
     files in librte_pmd_ixgbe/ixgbe/ are shared with FreeBSD and AFAIU should not
     be changed unless the change is pushed into the FreeBSD tree first.
   - Remove unused rsc_en field in ixgbe_rx_queue struct.
     Thanks to Shiweixian <shiweixian at huawei.com> for pointing this out.
   - Kill the non-vector scattered Rx callback and use an appropriate LRO callback
     instead. This is possible because work against HW in both LRO and scattered RX
     cases is the same. Note that this patch touches the ixgbevf PMD as well.
   - Use LRO bulk callback when scattered (non-LRO) Rx is requested and parameters
     allow bulk allocation.

Note that this series is meant to cleanup the PF PMD and is a follow up series for my
previous patches. Although VF PMD is slightly modified here too this series doesn't mean
to fix/add new functionality to it. VF PMD should be patched in the similar way I've 
patched PF PMD in my previous series in order to fix the same issues that were fixed in
the PF PMD and in order to enable LRO and scattered Rx with bulk allocations.

Vlad Zolotarov (4):
  ixgbe: move rx_bulk_alloc_allowed and rx_vec_allowed to ixgbe_adapter
  ixgbe: ixgbe_rx_queue: remove unused rsc_en field
  ixgbe: Kill ixgbe_recv_scattered_pkts()
  ixgbe: Add support for scattered Rx with bulk allocation.

 lib/librte_pmd_ixgbe/ixgbe/ixgbe_type.h |   2 -
 lib/librte_pmd_ixgbe/ixgbe_ethdev.c     |  10 +-
 lib/librte_pmd_ixgbe/ixgbe_ethdev.h     |   6 +-
 lib/librte_pmd_ixgbe/ixgbe_rxtx.c       | 289 ++++----------------------------
 lib/librte_pmd_ixgbe/ixgbe_rxtx.h       |   1 -
 5 files changed, 41 insertions(+), 267 deletions(-)

-- 
2.1.0



More information about the dev mailing list