From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 3BBE75A74 for ; Thu, 5 Mar 2015 12:28:09 +0100 (CET) Received: by wghl18 with SMTP id l18so5466854wgh.5 for ; Thu, 05 Mar 2015 03:28:09 -0800 (PST) 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=VVA2/eE7cW1HY55w4UDWfkAaBsB7YbNGZmBcT9kxTvg=; b=BUctF88nLAf/yryUtpP56Bcr0FNkvrxSN4eAQlbL54B8fBOvOD4ZDmhDCo1BtgT249 W34dxYRHbcxXfxQrisoBOuwlXJIcQRd7ab94vsxLCRQJy+nSzZJvPOrig/1oluPnKfYL TrOEJkk6eh6lAXr/FH8a3jH6sJPWsnOpkrFdUr2e5tpCtghZezzJW/HSVTRQjoxtRjSg mM9ty4rubxMmYHoYpikj4pNPW3XZR8I7Qy47AxPAob3mQ5EvVxc2KZLSzLFY1RoESzHs hBkhbxQmZJRfm7ZEkHyfN5XjK9BiIKQySWDrIRU5t5fBfe4axJjBW6lRbYaaJ+rVLquq /zLA== X-Gm-Message-State: ALoCoQkvV1aSqaDyinjktT5R278GIV52xKoZ8yiLi0qnm7S2+7t6oRsrilqzuJEarLYszQGCzBL/ X-Received: by 10.194.23.39 with SMTP id j7mr17942968wjf.9.1425554889083; Thu, 05 Mar 2015 03:28:09 -0800 (PST) Received: from vladz-laptop.cloudius-systems.com. ([212.143.139.214]) by mx.google.com with ESMTPSA id e2sm10069621wjy.46.2015.03.05.03.28.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Mar 2015 03:28:08 -0800 (PST) From: Vlad Zolotarov To: dev@dpdk.org Date: Thu, 5 Mar 2015 13:27:59 +0200 Message-Id: <1425554885-16901-1-git-send-email-vladz@cloudius-systems.com> X-Mailer: git-send-email 2.1.0 Subject: [dpdk-dev] [PATCH v2 0/6]: Add LRO support to 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: Thu, 05 Mar 2015 11:28:09 -0000 This series adds the missing flow for enabling the LRO in the ethdev and adds a support for this feature in the ixgbe PMD. There is a big hope that this initiative is going to be picked up by some Intel developer that would add the LRO support to other Intel PMDs. ;) The series starts with some cleanup work in the code the final patch (the actual adding of the LRO support) is going to touch/use/change. There are still quite a few issues in the ixgbe PMD code left but they have to be a matter of a different series and I've left a few "TODO" remarks in the code. The LRO ("RSC" in Intel's context) PMD completion handling code follows the same design as the corresponding Linux and FreeBSD implementation: pass the aggregation's cluster HEAD buffer to the NEXTP entry of the software ring till EOP is met. HW configuration follows the corresponding specs: this feature is supported only by x540 and 82599 PF devices. The feature has been tested with seastar TCP stack with the following configuration on Tx side: - MTU: 400B - 100 concurrent TCP connections. The results were: - Without LRO: total throughput: 0.12Gbps, coefficient of variance: 1.41% - With LRO: total throughput: 8.21Gbps, coefficient of variance: 0.59% This is an almost factor 80 improvement. New in v2: - Removed rte_eth_dev_data.lro_bulk_alloc and added ixgbe_hw.rx_bulk_alloc_allowed instead. - Unified the rx_pkt_bulk callback setting (a separate new patch). - Fixed a few styling and spelling issues. Vlad Zolotarov (6): ixgbe: Cleanups ixgbe: Bug fix: Properly configure Rx CRC stripping for x540 devices ixgbe: Code refactoring ixgbe: Unify the rx_pkt_bulk callback initialization common_linuxapp: Added CONFIG_RTE_ETHDEV_LRO_SUPPORT option ixgbe: Add LRO support config/common_linuxapp | 1 + lib/librte_ether/rte_ethdev.h | 6 +- lib/librte_pmd_ixgbe/ixgbe/ixgbe_type.h | 1 + lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 22 +- lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 5 + lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 869 +++++++++++++++++++++++++++----- lib/librte_pmd_ixgbe/ixgbe_rxtx.h | 26 +- 7 files changed, 798 insertions(+), 132 deletions(-) -- 2.1.0