From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id DD37B5A06 for ; Tue, 3 Mar 2015 20:48:46 +0100 (CET) Received: by wghl18 with SMTP id l18so42232706wgh.8 for ; Tue, 03 Mar 2015 11:48:46 -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=uxyVMElcsP3uucAAhgq+16fM2wI5/0DAhrsgydUCai8=; b=YDlNFDG7Mj1kMURqLPb5BqtoEPXDBQIQi3G4Lldb6NpADLv0PuxAPZCqc0KvQ4l3xY FYzoTdSk+jaqc7wLX90NUuhNVWh1oT6Heb4elWRGQwwfh+iI0HtusDPI/41kGeYg7/zJ j+m+geEdZYS6CTRV44XJqSE/P8IwAByzu1JsNiK6yMdmg3ZzPfymDzC/30ukFBV5Sh1P 8kcn3n4KQFJPYCS9smgEg7q5XcfhKcbDfXCTTMUJfUb2yzw/14GqUaiThn6xKAa98yxb nhPGHOAkaM6dl3hZza2cmCAAAsZelB7OsVvyPXBKQWrLhkuuuV36jS31KvH6WBA/eSDD WU7A== X-Gm-Message-State: ALoCoQm3i5jJVvbcdFtd5++dQ8Ryd2Zd2ZZJbuzqfteycZjH6XG3+7hy0INoGOztjl9F7MShP74M X-Received: by 10.194.23.39 with SMTP id j7mr907092wjf.9.1425412126739; Tue, 03 Mar 2015 11:48:46 -0800 (PST) Received: from vladz-laptop.cloudius-systems.com. ([212.143.139.214]) by mx.google.com with ESMTPSA id k1sm2708022wjn.9.2015.03.03.11.48.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2015 11:48:46 -0800 (PST) From: Vlad Zolotarov To: dev@dpdk.org Date: Tue, 3 Mar 2015 21:48:38 +0200 Message-Id: <1425412123-5227-1-git-send-email-vladz@cloudius-systems.com> X-Mailer: git-send-email 2.1.0 Subject: [dpdk-dev] [PATCH v1 0/5]: 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: Tue, 03 Mar 2015 19:48:47 -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% Vlad Zolotarov (5): ixgbe: Cleanups ixgbe: Bug fix: Properly configure Rx CRC stripping for x540 devices ixgbe: Code refactoring common_linuxapp: Added CONFIG_RTE_ETHDEV_LRO_SUPPORT option ixgbe: Add LRO support config/common_linuxapp | 1 + lib/librte_ether/rte_ethdev.h | 7 +- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 17 + lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 5 + lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 724 ++++++++++++++++++++++++++++++++---- lib/librte_pmd_ixgbe/ixgbe_rxtx.h | 6 + 6 files changed, 687 insertions(+), 73 deletions(-) -- 2.1.0