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 D0AC2A0C3F for ; Mon, 10 May 2021 18:21:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CCE1F41106; Mon, 10 May 2021 18:21:22 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam08on2066.outbound.protection.outlook.com [40.107.102.66]) by mails.dpdk.org (Postfix) with ESMTP id 32AE0410FE for ; Mon, 10 May 2021 18:21:21 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KR5Sz0tnAy4i+qM6DVP7EIvP0K7ziWb2/86AD4omrEm3h5uFq/KYpTKz8DTylqEABQANdRCF1DzzBERasoYYEGyGuxVqWtZvA1KdPRDrNL0tFn7MsExG/yvOxCkMM6gQy5QMuZousEKLqT2rJmDD1dPiTHjdFEmSnWRWx2XrHsd3VKR6mfwi3QCWVpL+32ZJXH2Y+BErGgrij5Ienqtcd612CXnMPhF1mt9g+BvzmhJNEmiVE7gh2a4GaUpBhEXWFf7tx+bxR9FZAsOe5t5dBUbIlDjr8mDSm2FNzCoXczO8JtKxPNYvayhFvBKdm7AAe6EMT4/iwGfFNV6Gly/0Kg== 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=hhFg6jyMTcIo1+Cw+i+/36cl113n3enm2S0MFdRaI9U=; b=crSu4sQa4kN71egvZIithdEdaEu4soPBRkCEFvOsiJuMVDhTWgF+QaH5xB7nXS0G830UIHJ892M1D9zaWGF8JOGHWltg2z2h3mwaAfTMp0oRwEzNlPQZBazzlV7TfKQU0fcY5nUbbimk1mplj6ZtX86P209DPnFaOpdLBFTiM9ud3oUn95aETae1kpp566YE9xOXupkRlU+KlUFczyokMDA2/mfUSJwXzXs5N2v2uGq0EKWIQhyDRrZvynnZcOUxR2Ry/0FcFIC2tjWdKTFsa8ASnGG2/cXeLA/VvIskHoWCWQBh3ujNqZNBBRRavz9MNR09FiMLLnCkKDbuJRRgtg== 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=hhFg6jyMTcIo1+Cw+i+/36cl113n3enm2S0MFdRaI9U=; b=r+WmQOsj1Ur2/Udb/uDmiUITfDfdECIHaBQBehPAoZr9D2nBrD1DZd17pF0cODRsW+r5pcKWNLGn6u/G6Cn/7gue/etuNCHOARUCmETf7LeV3ZDOR7v7GcSHDFDd7WHgO+8NzzYjSyYlWIXTRr+rOubSxe22a2UBEJAId0fRz9YU6VXkXbQLKlGN+BNTKDotZ6+o8BTT+p4I8fkHPSRygq0BJfyLOQma8Hv4b8WrAic7FL3aTMheVBaf9cHphH+caTA9J1mld5MHhrwdDs/9Lty8p1BWUS+dA2m8quwolOarVh8lSAI/urHGQlO+rItiyuxfRiqNZyYeNEvdk7PNYQ== Received: from BN9PR03CA0916.namprd03.prod.outlook.com (2603:10b6:408:107::21) by MN2PR12MB4518.namprd12.prod.outlook.com (2603:10b6:208:266::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.26; Mon, 10 May 2021 16:21:20 +0000 Received: from BN8NAM11FT061.eop-nam11.prod.protection.outlook.com (2603:10b6:408:107:cafe::aa) by BN9PR03CA0916.outlook.office365.com (2603:10b6:408:107::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:21:20 +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 BN8NAM11FT061.mail.protection.outlook.com (10.13.177.144) 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:21:19 +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:20:51 +0000 From: Xueming Li To: Lance Richardson CC: Luca Boccassi , Ferruh Yigit , dpdk stable Date: Tue, 11 May 2021 00:02:06 +0800 Message-ID: <20210510160258.30982-177-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-Transfer-Encoding: 8bit Content-Type: text/plain 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: 4a75095f-90eb-4005-8d1b-08d913cfa533 X-MS-TrafficTypeDiagnostic: MN2PR12MB4518: 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: 8jQDfjA1OyKM3so1W3IIejCytibOXQn5bu1J7bQ1lDXnL2ySSbxvYhokCGEma2KLmXGZ3fhzpmHFCxGDVOJxqftAcZF/+TK1J40/ZjmLJyMwhMmfbKIr0G/XTb/BoVHwLVPI5fH50OqSk9VrTx1mppTkyvL25Z8IAYhgGeA9H63erE5G1YyAgJ2ITKH98Nv0orsdOPDBzRjPxz42hbxXUDH6umQ6jXcG+qwU8J0qM8R+sz30Gdh5JZABuZRuIA8d26XDAl6a/JlwzWBOhtJ9pRrPyIeUqgkGpWcmAp9Le5n/ac7l995CUU6cTYHzDXeTQsERBX6fjztC+4K6oJ80uA+ilnvBD+JBIxbkPrL0/13ufVDpU1Sl56gW8axM3RXjT+FGEGYdhdvNnCIfgZWCMIfl1Ae6YIuuF9+6PZ+kVhOx6Xl2CIFVlxWtoTKQDmLMptQ6xw9iTJ4q5IDvKUVohHxQR6+9ntKsUgytc7gHs4iFmSbQHmcHxGYeggRwUGx6BZtDbzICiIZIaoAJGlJ2dWbNEV/bZM7P09YqnUg2qug/X+6arI0kEoIuqYX+o4Ahf9X8rpI2O4tB0zIV0pLeYSFJ3Fjj04kbSVqB3CqUL3kZ/92LBB5tGauTq0iCIxULsTWfbaazTdMJ+FGFWGZri2W48kNUbK6c3gWb6XC+tkf1S0SifVCI9Zb42hPQTqGGR+WUfUI0bCfSY4iqPmJPo9/jbhcYfh1GN20Dzq1Db8Y2FmJfZOLVGquA3sYnDdauI/JXSd20h91BpH6g6H/QYA== 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)(39860400002)(346002)(136003)(376002)(396003)(46966006)(36840700001)(36860700001)(6666004)(70586007)(47076005)(5660300002)(6286002)(82310400003)(8936002)(186003)(53546011)(2906002)(4326008)(6916009)(70206006)(54906003)(82740400003)(478600001)(16526019)(7696005)(86362001)(8676002)(36756003)(36906005)(356005)(7636003)(966005)(316002)(83380400001)(426003)(55016002)(1076003)(336012)(26005)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:21:19.8573 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4a75095f-90eb-4005-8d1b-08d913cfa533 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: BN8NAM11FT061.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4518 Subject: [dpdk-stable] patch 'test: fix TCP header initialization' 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/60065a5a61d44f9b10c8e80a6423214a6430ae3f Thanks. Xueming Li --- >From 60065a5a61d44f9b10c8e80a6423214a6430ae3f Mon Sep 17 00:00:00 2001 From: Lance Richardson Date: Tue, 30 Mar 2021 09:23:28 -0400 Subject: [PATCH] test: fix TCP header initialization Cc: Luca Boccassi [ upstream commit 9fdba32788d4adbac196ba0bb9398ba8c2d0d4bc ] Initialize TCP data offset field with TCP header length, this field is used to derive L4 header length and by hardware to validate a TCP header. Fixes: 41f72ec94074 ("test: add packet burst generator functions") Signed-off-by: Lance Richardson Reviewed-by: Ferruh Yigit --- app/test/packet_burst_generator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test/packet_burst_generator.c b/app/test/packet_burst_generator.c index f203f9d09e..c05ea7ad51 100644 --- a/app/test/packet_burst_generator.c +++ b/app/test/packet_burst_generator.c @@ -117,6 +117,7 @@ initialize_tcp_header(struct rte_tcp_hdr *tcp_hdr, uint16_t src_port, memset(tcp_hdr, 0, sizeof(struct rte_tcp_hdr)); tcp_hdr->src_port = rte_cpu_to_be_16(src_port); tcp_hdr->dst_port = rte_cpu_to_be_16(dst_port); + tcp_hdr->data_off = (sizeof(struct rte_tcp_hdr) << 2) & 0xF0; return pkt_len; } -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:31.163852600 +0800 +++ 0178-test-fix-TCP-header-initialization.patch 2021-05-10 23:59:26.620000000 +0800 @@ -1 +1 @@ -From 9fdba32788d4adbac196ba0bb9398ba8c2d0d4bc Mon Sep 17 00:00:00 2001 +From 60065a5a61d44f9b10c8e80a6423214a6430ae3f Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit 9fdba32788d4adbac196ba0bb9398ba8c2d0d4bc ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org