From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0081.outbound.protection.outlook.com [104.47.40.81]) by dpdk.org (Postfix) with ESMTP id 01A2F8D94; Sun, 20 May 2018 02:16:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FRaw+ZRM8QaYanh9i65dENnZTSXnmZd65KdALFqlbkw=; b=m99CE39qfeTYfIlqxg+xX3TyrCaCLKKllyN0bY0+5el06ADZCEwPrfW1i7OGtEhFI0Wo1Yn0+6GRpBM3KLhT31e4QZsi2E3fu1gvZcHF1ofvY/Cv1SKJc4RMuXBglWxXR7skL9rkn6OeUpJBZpGKDBIT2CKI9ZD0e8DAgSvzpeA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Rasesh.Mody@cavium.com; Received: from cavium.com (198.186.0.2) by CY4PR0701MB3668.namprd07.prod.outlook.com (2603:10b6:910:93::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.776.16; Sun, 20 May 2018 00:16:22 +0000 From: Rasesh Mody To: dev@dpdk.org Cc: Rasesh Mody , ferruh.yigit@intel.com, Dept-EngDPDKDev@cavium.com, stable@dpdk.org, Harish Patil Date: Sat, 19 May 2018 17:15:44 -0700 Message-Id: <1526775346-10643-2-git-send-email-rasesh.mody@cavium.com> X-Mailer: git-send-email 1.7.10.3 In-Reply-To: <1526775346-10643-1-git-send-email-rasesh.mody@cavium.com> References: <1526775346-10643-1-git-send-email-rasesh.mody@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [198.186.0.2] X-ClientProxiedBy: CO2PR04CA0149.namprd04.prod.outlook.com (2603:10b6:104::27) To CY4PR0701MB3668.namprd07.prod.outlook.com (2603:10b6:910:93::19) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:CY4PR0701MB3668; X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3668; 3:QI/47hsCDlawJtYge2UxRA4B2r8XmC62vaaGBu/AEgWKhFMzypwVlkZiGHhPsmVW1ujOOjkgX0Bj55o95QZkdNvQ8unwbYUWulZvlaLyeHJT93rdboGDs1t/xWusNgHsQ3BxKiR+cbiZTpZ3xv4sTdxmzIYoNRECG+fL/cbrarw69JbjHxWLWn/+pT/MX/0yEzay+a+H6ofSjTgo6B2o33d147mdfe7MmjX8G4YQ3dNM5jwB0PzqC14+Hxgx1QbF; 25:IH1TSZxODuglIHJaM9x/SKPapa6ch2lCDB+LBcOLbWTpabAzzmq/gVYU4SQwpt0iOYj9Pt1jAjHhZpmHduWrN5EdLKwC/HV2IleJb1q6Np0OTBmWjpO278Zz1CXST7CmDaI6xNK7pm6yt/7vUQARiBtj/hyCmQcWBegZ5fYROlK7L6eriZD9RCLNon4hJBGiHrdsduyLwV3xVyvLOViEA0WnSNxY/69IUxNJ5FHjKOigZNCJqYcpRpcnPkWvRv4qjbJKPivV5vwTkJrqE+7k1nE1tabH0FEcScqqcJmSECfJ+0iaHDLQBUEV+yrmYHxrmc4Yxm6H6N1ijO1jWbMIdA==; 31:jMS6e2kzX9C1BnraRYGLvmGXqpAqxvjTDjUjpwFL1cQu+0Vag0DsF9BbWldwzRx9peDDWpiMyMgFfAqrF1HVIrw0+kDhHEEwSX/u9iLcVySOKEldwlN9z2/Rg4wHP6M8d/QR2qx9czaL/aGEqu64GTI4dBzJWAuEP93/hQxi8phsrw9s41oIPqEi+53SR/8V/+AZomeBZyGimCJHgREXGhVan6aOJQvSwQtzUOI3iwM= X-MS-TrafficTypeDiagnostic: CY4PR0701MB3668: X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3668; 20:3Dickqgk5a65sMOvv+00p5eUO/cFPheIegOQTO6nq91o6VfBL7JrEbggy04z5EHZEp/C1AHUm0FHWi4sNPzTG3nw/U7ws+Qo6mB+gWZqe7Pfyq6kpsVvB3VtNVBCewdS5uiqolXaRZkNgO62UGYS+FakYpW/UB/tCWEl9MvPd0xU5RmNFlquAZqXMipRGbuQiUjpdWopKdPNyfJS39T8CGnZvrXPqVu0KPvW7Gtd9oD3wSfhLhnZ3Ka58sMDpjW+ELJ9g+5mQ5c/l8kK4lwsFEEqXRxvE/WHPmAJEV19pAm7QRyO6aHUH/dHIGUfRf0ealEfR443Pg53y5j1fbOaUPfzAEOdizZsQ/fzS/lr1wdCoPFBVADcwoauAFdXwtF+XCZ2bbbrmaO6Q1WVY5Yi0vk7k8B78kcwqWMkB6OKhR+p1EbnIgPESv+i3+fbCM4X7LwDrXii3L14pSy9a49242xqPRoVaqIwmM9hlc3MKntpOAo9NlA1U5i7VNYGFypI; 4:zl+Jmi10i8x3vK/TG6wlfSvhJKnrFjcGMyThOk4kKAye9MIKYDB8pVne8noo57EtSs7YMAQMvY9pYyYW6Q4LmxTTkCjgPcQcX88BJXmiaIJ0eqpNc/aBl8b5Az+Pst1OtZklplT9QC6YPU4qSW2yE2e6Aw/ykTHVKP/lMM0iOVlhcv7y77+Ev5RQMPmY/8vAYJ+a1rkVYolnFQLGmDk8VUXa1G1RnCj5o6LiAM924X20mlPMka0OcxHR3Ko5MhImMM6oIeqJfAaOwVN3yXW0wg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:CY4PR0701MB3668; BCL:0; PCL:0; RULEID:; SRVR:CY4PR0701MB3668; X-Forefront-PRVS: 06780E24F8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(376002)(346002)(396003)(39850400004)(39380400002)(199004)(189003)(4326008)(16526019)(186003)(54906003)(6666003)(386003)(51416003)(7696005)(8936002)(26005)(6116002)(53936002)(316002)(7736002)(69596002)(5660300001)(25786009)(44832011)(16586007)(36756003)(107886003)(81166006)(81156014)(52116002)(68736007)(8676002)(6916009)(76176011)(4720700003)(2906002)(50226002)(86362001)(2351001)(47776003)(2361001)(105586002)(478600001)(48376002)(66066001)(97736004)(3846002)(486006)(50466002)(446003)(476003)(2616005)(11346002)(305945005)(956004)(21086003)(106356001)(55016002)(72206003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR0701MB3668; H:cavium.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR0701MB3668; 23:S48gnZK35Cbg475Eo+A4pkwTK/ZXDNdVIYAh6+G?= =?us-ascii?Q?V/bccEc48Hsr+dR2kaTUChFbMhLpY4sA1F6CIKvD/9DYwNQet8o+i6Hg75m4?= =?us-ascii?Q?dk43XqalsX92kkJXOij9Jh7bJUImjrl+Hehnm+L+ALi80QkwpI4FlHSC6NWD?= =?us-ascii?Q?XbubTeLvImaO7gRjfX8Hjxm4MxGaAbR/JQdgM2fIVvQJ8YjoXLYMK180aoQl?= =?us-ascii?Q?QnmRyjsH6AFBVYXL1PiKKatcvN00eXBQAiDKZ8iOsMurtfclLeGhghSSM7L7?= =?us-ascii?Q?upExNBj+feKQ6ZYvpkJQeYmDWZnUuMoCylDNkf9Lpa8nVS0uUfPDGHTt6PEd?= =?us-ascii?Q?DEI8VV5WVrv1bi1y4WbSks5hPrsPj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MmqoSCwup14ZaKEYBFrMLc0D+mVi7UduSGMGooqnLVlv7yRkOr5tKGuOhvZWcGMirWRHSHvGHdq3zWTnfsI424L38= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR0701MB3668; 7:YesGvC9u646KQ0PqPwKDWOELGYB0wh6JdzrGCjgPvG2WwdBJQt/n3P+/cT9TMdo/C6NtQgtL+ONsT8/L1mojFc1wbGaAHU4l/v9ik7T8it39KKr9i5pKQb3MOJ/bbGA4yqQGdOj4TDj5XUFoc0007poL4Ihzzi4x/LMX4+KgPC6Dh+wp8ZKosBkQn5C7nzE8gsjb89ItQ0MeBTZPH3M4sVk7GaUadEjV1+Al8gNBdOBB1x60wYqu52APjSOQ4+r6 X-MS-Office365-Filtering-Correlation-Id: cf78aa64-0217-442d-2fe1-08d5bde6eafb X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2018 00:16:22.0563 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cf78aa64-0217-442d-2fe1-08d5bde6eafb X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR0701MB3668 Subject: [dpdk-dev] [PATCH 2/4] net/qede: fix missing loop index in Tx SG mode 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: , X-List-Received-Date: Sun, 20 May 2018 00:16:24 -0000 Fixes: 3d4bb4411683 ("net/qede: add fastpath support for VXLAN tunneling") Cc: stable@dpdk.org Signed-off-by: Harish Patil Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_rxtx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c index 2b9db32..48c6d81 100644 --- a/drivers/net/qede/qede_rxtx.c +++ b/drivers/net/qede/qede_rxtx.c @@ -1632,6 +1632,7 @@ static inline uint32_t qede_rx_cqe_to_tunn_pkt_type(uint16_t flags) QEDE_BD_SET_ADDR_LEN(tx_bd, mapping, m_seg->data_len); PMD_TX_LOG(DEBUG, txq, "BD len %04x", m_seg->data_len); } + start_seg++; m_seg = m_seg->next; } -- 1.7.10.3