[dpdk-dev] [PATCH v2 0/5]: Cleanups in the ixgbe PMD

Ananyev, Konstantin konstantin.ananyev at intel.com
Wed Apr 29 13:25:29 CEST 2015


> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov
> Sent: Wednesday, April 29, 2015 9:38 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v2 0/5]: Cleanups in the ixgbe PMD
> 
> 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.
> 
> New in v2:
>    - Rename RSC-specific structures to "Scattered Rx" derivatives.
>    - Always allocate Scattered Rx ring.
> 
> Vlad Zolotarov (5):
>   ixgbe: move rx_bulk_alloc_allowed and rx_vec_allowed to ixgbe_adapter
>   ixgbe: ixgbe_rx_queue: remove unused rsc_en field
>   ixgbe: Rename yy_rsc_xx -> yy_sc/scattered_rx_xx
>   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       | 360 ++++++--------------------------
>  lib/librte_pmd_ixgbe/ixgbe_rxtx.h       |   5 +-
>  5 files changed, 77 insertions(+), 306 deletions(-)
> 

Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
Thanks a lot for doing it.

> --
> 2.1.0



More information about the dev mailing list