From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 42D7CA0A0E for ; Mon, 10 May 2021 18:14:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 33E4A40140; Mon, 10 May 2021 18:14:54 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2046.outbound.protection.outlook.com [40.107.236.46]) by mails.dpdk.org (Postfix) with ESMTP id E838940140 for ; Mon, 10 May 2021 18:14:52 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WmPfQWNscgiNQSChBdXQGtXOEydiYBynGV9TzM13vLSx9bcX+i6RWmithHP4uIgZ8ZC/AKOAzp6xG4mWLCwaaDWKEGd0WY4EyfOAfWhOetcIF3vgUaFlFXe0teExHdFO4QSEclADUr9jvGAVUrgCv0aOzxlyfNGzo2Va1My9XnXzcbC2PlI/6K7ryeyPkNym52Fb9kgeF+C0HLGkvr51OunWh2xIcC/LL8lc7hej3ZYdacaa/l0nYycfUsCB0rDjmoEtPmQepBU7NOzq9xtitGo2MjGwv+odQR8jj8EAw2/ZG/3a1n9t9+GgshVOVK5uSxwX73HRZxqHjrhCSygHgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9ZAB8eU2M8HIJlv0RKCXNAfXtq2AwSt4sl5DqOuxgBw=; b=Rq61AYGQbXdWYTmVr7H4Wa/Lw7cfASgG3/eTkj8/Xdl4ztx6vmudBD0TwB/JsRuu+QWeYw6hwVEXQdGvJjw2jBWR5HFZk6OzncvRrqYefDQB1CsgzoP4Ph8kOQjsQB44CwDPAcrJ0TQy8p0wzNQ4yPI0a3hJETfbVE0Hf8pUV7Lg9aV4Ji2AIRA/vp4HmFIkO5ekWlhoEtdAr6VCJFw8jcUaGYucp+uOgJ4lZEgtyjFsVRHG4JP6+2sGF/4vqXfhS510Kf1Sht/oIJj+s49CFvSVJpr/x8lWP0gk3C+Wk30Om/ICBRSnBZQgCPxhsGY4dn1J3SRcp160xLS5dqE58g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9ZAB8eU2M8HIJlv0RKCXNAfXtq2AwSt4sl5DqOuxgBw=; b=diuKCopRAaMfXa2feVISvLH5WpZGnKQg3eibCIbZhqJuizCy0TxsfS/bRD1FqCfnRSW0Kg15bXHdsDpeZwDwGnDr9xBYVezFaOc9nhfWQxYXeTmt1xBfgn+5nSz2FWxBsWuUICAT9MXiB1MeZVRg9WaPKG/8+4G+A/ajlroKD0fce7KzanHTnZ2/JKBazp2cHkHs+Q68VO8bJxEuqMEeQX5NrIUG3lo1VqRR8dxXbpNObno2lbeakMXJLUsz1qtaaeSmsR4GZr7zxdzOd2Uq8Y1cBl/hkmgzo+D996Ee3CBslnTkKjxoy3KfNE06lnRRL9F4GFFSpR2rqTibiMSvaw== Received: from MW2PR2101CA0028.namprd21.prod.outlook.com (2603:10b6:302:1::41) by SN1PR12MB2511.namprd12.prod.outlook.com (2603:10b6:802:23::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25; Mon, 10 May 2021 16:14:51 +0000 Received: from CO1NAM11FT054.eop-nam11.prod.protection.outlook.com (2603:10b6:302:1:cafe::f4) by MW2PR2101CA0028.outlook.office365.com (2603:10b6:302:1::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.0 via Frontend Transport; Mon, 10 May 2021 16:14:50 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by CO1NAM11FT054.mail.protection.outlook.com (10.13.174.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:14:50 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 10 May 2021 16:14:46 +0000 From: Xueming Li To: Qi Zhang CC: Luca Boccassi , Beilei Xing , dpdk stable Date: Tue, 11 May 2021 00:01:05 +0800 Message-ID: <20210510160258.30982-116-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210510160258.30982-1-xuemingl@nvidia.com> References: <20210510160258.30982-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 35000817-bb6e-466d-c48c-08d913cebd32 X-MS-TrafficTypeDiagnostic: SN1PR12MB2511: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OPUoEM5A80qHmh83IaJONPq3rVuHPoAR5FrTpD8w+nlu1N5QNpdc/b1BG7fw9dew+NMCzPBuVFkUCOzbofzaxFDl/z0HzAiT65d/K0Hm8I1+sDMhJ87o4pHvjd112wOV/dBNxolSXmSnyu+INwCvymKg6lMHx8opWYJJ73MIgj3LuL3o9yy+wULR/kW1shb1U+zJIJ1ZswDMY3IsZD7oaElM8yQVQF6p9iiM90VxmCMe/A/jXJ/azr/CMSMp3KOs9eJQp0nVIQ32OFjcLjqoms2fJRx4UBriFqmRqXmwlo0p/pvAw6xoUfiDLbIg84zsKnS3TQfgJIPA/eMHk+zQwWCv/4nTn9/NvbQ5m2KmtTWWgr6aqvflwZktDPixpXb8CFV5WKggkJj45lIXSa2GAAc09bsZuNJt+zfufFwzZ0VzI7ci7653t0IfP3800nHa5fRf2vhWxOxSqqVEM7L6e4FKFhWXUrqRu3jhW89oQtTZWWbKNJcYR0VtbjFke8Gdbb8SoB2v2EdymV8t1n5rjswHi6ufgMl+NkC2Ekw2IoKjeRljYigkY7TDQ+RFcrC4vAn2XFC/mEXOM59/mm0UPDK5jgJQejRsj8ZA37G7AwEoLSP7wprQc9WYXug9c77m1tgU92YIUUzhlDB1xY61/ahD6BzF6ibDfDNlrVnzpz+S0HeBe6dPZ0NSBoSeI3V0QGIt717BMf6YrYa4M8ZafK3yMgDQ/h0jW1vEimNCFdWloibAv2wF1Ux8vFeXJzv7pDZjfa++J1QAcjH1NT8iPA== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(376002)(136003)(39860400002)(346002)(396003)(46966006)(36840700001)(47076005)(7696005)(86362001)(83380400001)(356005)(36860700001)(478600001)(36756003)(336012)(2616005)(4326008)(426003)(26005)(70206006)(70586007)(54906003)(53546011)(6286002)(966005)(55016002)(5660300002)(8676002)(6666004)(16526019)(82310400003)(186003)(316002)(82740400003)(7636003)(8936002)(2906002)(6916009)(36906005)(1076003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:14:50.6998 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 35000817-bb6e-466d-c48c-08d913cebd32 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT054.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB2511 Subject: [dpdk-stable] patch 'net/iavf: fix TSO max segment size' has been queued to stable release 20.11.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/12/21. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/843b7caa8efd8ef584519fc0acc2d608a1185630 Thanks. Xueming Li --- >From 843b7caa8efd8ef584519fc0acc2d608a1185630 Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Mon, 1 Mar 2021 15:57:14 +0800 Subject: [PATCH] net/iavf: fix TSO max segment size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Luca Boccassi [ upstream commit 6d05fc905df216b78e4e3db935927a53a638c6d0 ] According to IntelĀ® AVF spec (https://www.intel.com/content/dam/ www/public/us/en/documents/product-specifications/ ethernet-adaptive-virtual-function-hardware-spec.pdf) section 2.2.2.3: The max segment size(MSS) of TSO should not be set lower than 88. Fixes: a2b29a7733ef ("net/avf: enable basic Rx Tx") Signed-off-by: Qi Zhang Acked-by: Beilei Xing --- drivers/net/iavf/iavf_rxtx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/iavf/iavf_rxtx.h b/drivers/net/iavf/iavf_rxtx.h index d4b4935be6..6bf6a44b77 100644 --- a/drivers/net/iavf/iavf_rxtx.h +++ b/drivers/net/iavf/iavf_rxtx.h @@ -34,7 +34,7 @@ #define DEFAULT_TX_RS_THRESH 32 #define DEFAULT_TX_FREE_THRESH 32 -#define IAVF_MIN_TSO_MSS 256 +#define IAVF_MIN_TSO_MSS 88 #define IAVF_MAX_TSO_MSS 9668 #define IAVF_TSO_MAX_SEG UINT8_MAX #define IAVF_TX_MAX_MTU_SEG 8 -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:29.623566200 +0800 +++ 0117-net-iavf-fix-TSO-max-segment-size.patch 2021-05-10 23:59:26.510000000 +0800 @@ -1 +1 @@ -From 6d05fc905df216b78e4e3db935927a53a638c6d0 Mon Sep 17 00:00:00 2001 +From 843b7caa8efd8ef584519fc0acc2d608a1185630 Mon Sep 17 00:00:00 2001 @@ -7,0 +8,3 @@ +Cc: Luca Boccassi + +[ upstream commit 6d05fc905df216b78e4e3db935927a53a638c6d0 ] @@ -17 +19,0 @@ -Cc: stable@dpdk.org @@ -26 +28 @@ -index 5377459eae..4fbd847034 100644 +index d4b4935be6..6bf6a44b77 100644