From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 2383BA0679 for ; Tue, 2 Apr 2019 11:29:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7B5B34F91; Tue, 2 Apr 2019 11:29:09 +0200 (CEST) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id 32A81378B for ; Tue, 2 Apr 2019 11:28:59 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us1.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id DCA6110007E for ; Tue, 2 Apr 2019 09:28:57 +0000 (UTC) Received: from ocex03.SolarFlarecom.com (10.20.40.36) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 2 Apr 2019 02:28:55 -0700 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 2 Apr 2019 02:28:54 -0700 Received: from ukv-loginhost.uk.solarflarecom.com (ukv-loginhost.uk.solarflarecom.com [10.17.10.39]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id x329Sr2i028247 for ; Tue, 2 Apr 2019 10:28:53 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id 93EB0161610 for ; Tue, 2 Apr 2019 10:28:53 +0100 (BST) From: Andrew Rybchenko To: Date: Tue, 2 Apr 2019 10:28:32 +0100 Message-ID: <1554197324-32391-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24526.005 X-TM-AS-Result: No-1.910700-4.000000-10 X-TMASE-MatchedRID: lpk7+cih7u8hf4rgBUUgxuv8QGaI25e3Thn37FFP5A1aW2Ktn+I8/onz ULiU6+udekBrihMLHO8RidIEWMkkVdhch266padXTVa+L3Zgqc4sTeaup4tMK99zZd3pUn7K3Cs x/6CQHNKPrj9cXsRchPhQ2SJXp3ribpaEKoZ1yloflhDI6DvVln0tCKdnhB58I/9UW5M5dRMLky 6aORxHNY6HM5rqDwqt0Y8l0eRJ+Bph82lLdt9KzlJYU5MjL3eKdZN13LVjz7jFyyTF+3IvB1XWw pZYOq6PItYopFlFMi3Dl1mV76Ap4O3p9LQLAwlGNyPA1MjqGnlPsCTSrxuh0NTzZKM4UWNx1DUd wIcMSOx1QoPdG+Gv/A== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--1.910700-4.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24526.005 X-MDID: 1554197338-PFxU1cg--fu5 Subject: [dpdk-dev] [PATCH 00/12] net/sfc: add Tx prepare and encapsulated TSO X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190402092832.UW6zbQ0PTaaiGb5-fhipK1oBjxHHF3ppHwwiL5y-q8M@z> Move and add missing Tx offloads checks to Tx prepare stage. Keep absolutely required checks in Tx burst to avoid spoil of memory and segmentation faults. There are few checkpatches.sh warnings since positive errno is used inside driver. The patch series depends on [1] and should be applied only after it. [1] is acked by Olivier and was acked by Konstantin Ananyev at RFC stage saying that more testing is required. [1] https://patches.dpdk.org/patch/51908/ Igor Romanov (9): net/sfc: improve TSO header length check in EFX datapath net/sfc: improve TSO header length check in EF10 datapath net/sfc: make TSO descriptor numbers EF10-specific net/sfc: support Tx preparation in EFX datapath net/sfc: support Tx preparation in EF10 datapath net/sfc: support Tx preparation in EF10 simple datapath net/sfc: move TSO header checks from Tx burst to Tx prepare net/sfc: introduce descriptor space check in Tx prepare net/sfc: add TSO header length check to Tx prepare Ivan Malov (3): net/sfc: factor out function to get IPv4 packet ID for TSO net/sfc: improve log message about missing HW TSO support net/sfc: support tunnel TSO on EF10 native Tx datapath doc/guides/nics/sfc_efx.rst | 2 +- doc/guides/rel_notes/release_19_05.rst | 2 + drivers/net/sfc/sfc.c | 9 +- drivers/net/sfc/sfc.h | 1 + drivers/net/sfc/sfc_dp_tx.h | 84 ++++++++++++ drivers/net/sfc/sfc_ef10_tx.c | 172 ++++++++++++++++++++----- drivers/net/sfc/sfc_ethdev.c | 4 + drivers/net/sfc/sfc_tso.c | 46 +++---- drivers/net/sfc/sfc_tso.h | 16 ++- drivers/net/sfc/sfc_tx.c | 59 +++++++-- 10 files changed, 322 insertions(+), 73 deletions(-) -- 2.17.1