From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by dpdk.org (Postfix) with ESMTP id 37374C788 for ; Wed, 29 Apr 2015 10:38:22 +0200 (CEST) Received: by wizk4 with SMTP id k4so170839961wiz.1 for ; Wed, 29 Apr 2015 01:38:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=HPdc05w3fDxZw8snXc6ojBMGkQaD2pyvUekI1fPbU5w=; b=FVSG82lKO/HUHkRo+lIvVxCQ9JvgLcTXiUQyunFigL2AmVG4+CE1igNL/If2FkSwhj 6m56QuGB7cukpb/NgpLYTMiyKQU2EDgJIN1jfs60JBSCdf89k7P/w21x8D3avww9zn3v 1v/SIvYf4Q4SqhKaZ8uB+2sCUhGDr/W30z3uqOcUyMaRIZ6iLfLAPjADkqqF+Eiu2557 e3NMWPGeNvFm6jFFek8mdr91jWpxQTurbD4hQBRGaa3gK+ofRBmr1d2RJtK0YUV4DFx4 jhDwj0ORDMFdulRv1/kiLQrQ9WtRv3awwNfAz//EwI2HR6fJejp2xv/6TtAKCuYjWCf+ OMBg== X-Gm-Message-State: ALoCoQlajvgaGoNAorfHdz3YD6wQb0OUofjkQpz7ZyRjII8T8ukFtwaVz2mniyU3hhnHYXJjSDSB X-Received: by 10.194.190.49 with SMTP id gn17mr40765666wjc.11.1430296702020; Wed, 29 Apr 2015 01:38:22 -0700 (PDT) Received: from vladz-laptop.localdomain (bzq-79-182-192-238.red.bezeqint.net. [79.182.192.238]) by mx.google.com with ESMTPSA id yr1sm37946370wjc.37.2015.04.29.01.38.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Apr 2015 01:38:21 -0700 (PDT) From: Vlad Zolotarov To: dev@dpdk.org Date: Wed, 29 Apr 2015 11:38:12 +0300 Message-Id: <1430296697-32650-1-git-send-email-vladz@cloudius-systems.com> X-Mailer: git-send-email 2.1.0 Subject: [dpdk-dev] [PATCH v2 0/5]: Cleanups in the ixgbe PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2015 08:38:22 -0000 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 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(-) -- 2.1.0