From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0085.outbound.protection.outlook.com [104.47.33.85]) by dpdk.org (Postfix) with ESMTP id 12EAA5599; Sat, 29 Apr 2017 02:46:47 +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; bh=DYuF13gkaeNKj1Kkzowsmkr0DoIFC9ieaAeVGC1fgXY=; b=P89HxAol4n5UZXcTxav2Tr/LYqqMLmQDY3V3ShEGKVndS9vERJIfnHHwzry7GXutWPPuDwdkAPIrAZC/0CM1W8bsGCRkfyw0UMOkGApPrwog8isR6LGNulqBYuU3bVdfyEcCml1NhmeglrIER1KwQWiU6P8XVBOSW8/kpg7eKhE= Received: from CO2PR07CA0037.namprd07.prod.outlook.com (10.141.194.175) by CO2PR07MB2517.namprd07.prod.outlook.com (10.166.200.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13; Sat, 29 Apr 2017 00:46:45 +0000 Received: from BN1AFFO11FD023.protection.gbl (2a01:111:f400:7c10::129) by CO2PR07CA0037.outlook.office365.com (2a01:111:e400:1414::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12 via Frontend Transport; Sat, 29 Apr 2017 00:46:45 +0000 Authentication-Results: spf=none (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=cavium.com; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BN1AFFO11FD023.mail.protection.outlook.com (10.58.52.83) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1047.9 via Frontend Transport; Sat, 29 Apr 2017 00:46:44 +0000 Received: from avsmtprelay01.qlc.com (10.1.112.194) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Fri, 28 Apr 2017 17:46:43 -0700 Received: from avluser05.qlc.com (avluser05.qlc.com [10.1.113.115]) by avsmtprelay01.qlc.com (Postfix) with ESMTP id 251B58BF70C78; Fri, 28 Apr 2017 17:38:42 -0700 (PDT) Received: (from rmody@localhost) by avluser05.qlc.com (8.14.4/8.14.4/Submit) id v3T0cgUc016575; Fri, 28 Apr 2017 17:38:42 -0700 X-Authentication-Warning: avluser05.qlc.com: rmody set sender to rasesh.mody@cavium.com using -f From: Rasesh Mody To: CC: Rasesh Mody , , Date: Fri, 28 Apr 2017 17:38:34 -0700 Message-ID: <1493426314-16514-1-git-send-email-rasesh.mody@cavium.com> X-Mailer: git-send-email 1.7.10.3 MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(39840400002)(39860400002)(39850400002)(39410400002)(39400400002)(2980300002)(428002)(199003)(189002)(9170700003)(110136004)(4326008)(5660300001)(86362001)(356003)(38730400002)(6666003)(50986999)(2351001)(54906002)(105586002)(101416001)(106466001)(33646002)(450100002)(5003940100001)(189998001)(2906002)(4720700003)(6916009)(36756003)(305945005)(50226002)(42186005)(8676002)(81166006)(50466002)(8936002)(48376002)(47776003)(87636003)(473944003); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB2517; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD023; 1:dyl83EdjI73lFZ7cP4cnvo6TkCldX7p8L9SjjUpiCuiqvTahiJ4UohcfHj5x3Fttt4C2+TTumWZYEmMqd7UBsciOWxap5VgVjU2G9ePTNLXTOusWSKT6UX3vaQzO+Vx5XW4ZXm6vkLkuGYpxrUZGTHPKVHuZtI2zcasxGxMJ2amrFeuIBt/dfIL+3yWJP/W1JrpuZFD0ohohpDZ3VBNcTZyhnwOvpSkOujrda/vbQiSVenGqP/wjI6HguLaFHwTlGS2C16SjNKN2AaGs6Un9CPCvkVtj+4YUJ2fSCSNt84i3rPEdfzF91Z2j7ttjZ0YQwBSQ1KXf9/vSdJLtR8iSw+xWYRqAVoVbxf9deCHhTXNxgZl8pHG62TTB3osGmCb0caKFrEaEklem4F1IgEvaihyrpxNCkQtsATOqLDKNkIYyqf0uyjGolFzNq7+Xaa7jfx67WlWKoy0SRlSyAd5tKNshAomAm+WWL/9449fRvDzx8fJeP/GJefoWB67VgBMeBFjNW0hBzp9bqCpMsCC/6A== X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 829f4675-9f16-423d-318f-08d48e9935eb X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:CO2PR07MB2517; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 3:u+Y3WDN/FzYlmAhi5INB7Vc+Wb/YPeWQ3fqLCIOvqJLsxmsYQ2e8RScBOx7rA1VShQ5kRYjj1jqvJPmkS7yKYjjiuKUdYK4LlAyQ7Nnacck+zAZB4yqh9AQ04bfIrpm5H7/P4Xtaza/Gs+47dEcKkskKvOztYHDlnKOk1cRdMihg/nMZSwK6p43XTL4iVpImQ9VyYqGI82oJi++PQjKUjZlbt5VGCGnSOPVZbUsuNQJi7QOhKKlY+i4MzehBUTLLBbvWHf8I+edgT93SQSVckd1/mklRlsLUHCZSuMhiq7OUABxCc3FOR+gd5sItMtQVO0T9aB16j1EF7gh0okliYttZFxlIlVFlaL/BU66F6XUqSRtNn1lrZq+Ur/mvO10a0Xemfxw4J+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ZzhJCKm9cm4IMJcqbl2nb55nJUc/+DJFmE+Pj6x5QWClJLP6rYY5gc/VgJtVhX+nJp74w1YzX1HzmE7PM47GQ/0JBlSNVcNmQWj6egsCG453qEyFqST9QvvWyj6ZkrBRIbBZFf/9X8K++D95lMGdOan8P4Fb1rBr0FHxUWUVWI5dVhPSwY8Ot0fyneRwytqJ3S4LmRskr1Ar9QvtCjXYJ2u16SscCRLB4FNZa7U9ntQagHSMjVX62pgaom1Nq2DzQcl8jbf41+WYDvMZ0m7ZiblGO0Z2TrjCDMiz/+sSzGi3r+PlUvLdoOYiuXUZhfrgl03K5rFaMENMni5oK8BAC1w6G9s80a8E5MofdmGTwmiOaG+h7ZeQChRNAsc5XnV9RuizM8jJG+CO X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(13017025)(13015025)(13023025)(13018025)(13024025)(5005006)(93006095)(93001095)(3002001)(10201501046)(6041248)(20161123564025)(201703131423075)(201703011903075)(201702281528075)(201703061421075)(20161123562025)(20161123560025)(20161123555025)(6072148); SRVR:CO2PR07MB2517; BCL:0; PCL:0; RULEID:; SRVR:CO2PR07MB2517; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 4:dq4wCbDfbaQWX7zMc/Dm78AjKC3Iljj/L9BmtVIshDby57vyI0m+dVno91xbx2IFhmhc2Wa1CHRuGRSYwsBwfCHFexnPItCZ/OKh+uzgdDLhpqzJMiri+jDpvkve+J6YdKWdWc0XadJ92dxzSXhe9XdwVeOg3YROQDJUIAW8poLxYMRcqwVrSTByGFQNUCCdMYYDDjSFIza1iIWpxST7Ns82JN2hAVAzRV0w4GNfgZRKKa0awSe6DcsLL+UnOLsupIhmMG0Q4iihQOuCN5iNWdZ5CQbmEbYwEcJuKYLLYwXWIUwT6is4QWYhfUQ0gFgUXFdGYOiArXz495RkQJbTbMU7I1Zc2YtiEX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82gvtOA== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2017 00:46:44.8085 (UTC) X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB2517 Subject: [dpdk-dev] [PATCH] net/qede: fix to increment Tx packets 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: Sat, 29 Apr 2017 00:46:47 -0000 Inadvertently we failed to increment tx_pkts pointer while addressing coverity issue, this patch fixes that. Fixes: 41b52b732ec5 ("net/qede/base: fix code flow and remove unused code") Cc: stable@dpdk.org Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c index 83e1bc4..baea1bb 100644 --- a/drivers/net/qede/qede_rxtx.c +++ b/drivers/net/qede/qede_rxtx.c @@ -1471,7 +1471,7 @@ static inline uint32_t qede_rx_cqe_to_tunn_pkt_type(uint16_t flags) bd3 = NULL; hdr_size = 0; - mbuf = *tx_pkts; + mbuf = *tx_pkts++; assert(mbuf); /* Check minimum TX BDS availability against available BDs */ -- 1.7.10.3