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 01ADCA0096 for ; Wed, 5 Jun 2019 07:17:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CB25F1B94B; Wed, 5 Jun 2019 07:17:59 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 7B2E42C15; Wed, 5 Jun 2019 07:17:58 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x555B057013233; Tue, 4 Jun 2019 22:17:57 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=yPDWvPt64dYbL2SfK9sBsfVLlrJshhla/8CuHmRyg5s=; b=bbAlAa2gkTfXqquTjoIEmzwyfu/qRoJemEeoemW7Zds21IqwVrVC23cbkCYksAUVv61c zKDZ89r7TJKvS1z29wMeCksZ4CEan36vzGaXx5bf+5E7uYd69OrenbJTNv0awRKdR+En 7SBakkNuzsZMarV63NGP6UZ2DG31uW/vuW0a8wBpD4rkbbhClB4E0LMDyJTGGu+NdGoq D5VeeiywstFcyhT+oYWLKqLhtJXdiyBEie/KHiRV1S2F30BwJc0DYM2DrKzmC2fgUYXl 4iDKtV+U5C3E54VTSevZGat2LYs/jcR43QTkV6pSwuu9ADznvxBmFT0FQMGravbw9jLc hw== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 2sx3kg8t0h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 04 Jun 2019 22:17:57 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 4 Jun 2019 22:17:56 -0700 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.59) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Tue, 4 Jun 2019 22:17:56 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yPDWvPt64dYbL2SfK9sBsfVLlrJshhla/8CuHmRyg5s=; b=QQnuAXfNuJFKad5pTTEB9KVWeA6Cd8HlXdMdGu2JSft4AkECKxLs/VZi6VCLsYe/UYbqyRGucHKaSlRCz3O8iZ3RVqaqFknWZexKTgYWnSUeSnnvyaYtmrMB0WVXTeWWqWrhizqVLATglQy1Ix6ixd1340U9EucZNAhLa//Fjb8= Received: from BYAPR18MB2838.namprd18.prod.outlook.com (20.179.58.18) by BYAPR18MB2725.namprd18.prod.outlook.com (20.179.56.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.12; Wed, 5 Jun 2019 05:17:52 +0000 Received: from BYAPR18MB2838.namprd18.prod.outlook.com ([fe80::8d89:6979:5ad4:2128]) by BYAPR18MB2838.namprd18.prod.outlook.com ([fe80::8d89:6979:5ad4:2128%6]) with mapi id 15.20.1965.011; Wed, 5 Jun 2019 05:17:50 +0000 From: Rasesh Mody To: Shahed Shaikh , "dev@dpdk.org" CC: "ferruh.yigit@intel.com" , GR-Everest-DPDK-Dev , "stable@dpdk.org" Thread-Topic: [PATCH 1/5] net/bnx2x: fix packet drop Thread-Index: AQHVGwbh7nAFAJfutECsYF2mMAx/pKaMhUcg Date: Wed, 5 Jun 2019 05:17:50 +0000 Message-ID: References: <20190604185352.28629-1-shshaikh@marvell.com> In-Reply-To: <20190604185352.28629-1-shshaikh@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [199.233.58.37] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 41fd98d1-6fa1-4f64-9d51-08d6e97527d3 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:BYAPR18MB2725; x-ms-traffictypediagnostic: BYAPR18MB2725: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1079; x-forefront-prvs: 00594E8DBA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39860400002)(136003)(366004)(396003)(189003)(199004)(68736007)(26005)(81166006)(55016002)(81156014)(14454004)(478600001)(316002)(71190400001)(71200400001)(8676002)(6246003)(33656002)(476003)(6436002)(11346002)(446003)(9686003)(53936002)(229853002)(66066001)(8936002)(186003)(86362001)(486006)(52536014)(4744005)(6506007)(76176011)(7736002)(3846002)(6116002)(102836004)(74316002)(2501003)(2906002)(5660300002)(305945005)(4326008)(66946007)(66446008)(66476007)(66556008)(64756008)(73956011)(76116006)(110136005)(54906003)(25786009)(99286004)(256004)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2725; H:BYAPR18MB2838.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: ddbDyHwTr/PV3nFhmj+15WRFy3MqPMzCt9C6mb3FvkR7KCBTztVRNPeqzGBrNE0yCQKKSxwtbmcjMccg/gmSm7yfkJkJKvD7hREOkbZIJwzq/JpDNBo90tEc2A9yHFBotnm2scuoxF2eQM30QiaSQDQcEk4K/koxA7BksH1GmnenUqQAydTSMa0Jv1ezvLUjXjFkApEDowhC2jPjlrIR+yeGGkIAD9RP8ZodmV5DR8HKNIcmnJIm6hUex/cx91X7h9X7FvNrfXVjXYeYnOmEt5grqa4RHZcr54kVkr3vTXK5TYIPAKbfgRIwhdMzIOlhiJ5aoEqE76IakDi+1zNGkp/ggRlV1OChUDEQiHMGd6LqwMfYCJKC+Die3XVn3WG8gHCXHXOZgWz8tFVAzakbFY3B7Qg8dcp+WON9JNQTxyU= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 41fd98d1-6fa1-4f64-9d51-08d6e97527d3 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2019 05:17:50.6829 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rmody@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2725 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-05_04:, , signatures=0 Subject: Re: [dpdk-dev] [PATCH 1/5] net/bnx2x: fix packet drop 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" >From: Shahed Shaikh >Sent: Tuesday, June 04, 2019 11:54 AM > >Patch "8bd31421c593 ("net/bnx2x: fix ramrod timeout")" >introduced a regression where sc->scan_fp flags is set for unexpectedly lo= ng >time. So the slow path completion handler flow is run unnecessarily which >walks over receive descriptor ring of fast path and drops the data packets >while looking for slow path completion descriptor out of fast path ring. > >This issue is seen under heavy traffic with link events happening in >background. > >Fixes: 8bd31421c593 ("net/bnx2x: fix ramrod timeout") >Cc: stable@dpdk.org > >Signed-off-by: Shahed Shaikh >--- For the whole series. Acked-by: Rasesh Mody