From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 88D43A0542; Thu, 13 Feb 2020 10:38:59 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 82E252629; Thu, 13 Feb 2020 10:38:58 +0100 (CET) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70088.outbound.protection.outlook.com [40.107.7.88]) by dpdk.org (Postfix) with ESMTP id 1B52D1F28 for ; Thu, 13 Feb 2020 10:38:57 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KsMl9q0n453Nj5hNw13mmggkK4MXN698M5PJ9TdPEG8TvJ0m3cMKmQqitPS0Ne7x5bdPGZVfqjIvoehkw4xf0RIFrHEfB5hs3HA/iTybPFg1VoC+xGsC4qgrUtKGDwChB2OghF2m6b3E9Kqu58vyzmrQ2hnwXVaIi8C0XOnkeE9qmAOumi3hpGH8CuFsIPS2pDQBchDegoyz74ubHxN4NyMpl24ZSF5WxLsIsu3Apm6I0ABhBMaFTf80b61NraoBT3jalOJUG8FrDn0q5JbtrsRt4D7oNLwGiUDZWbI4HYzEWWbTM4QJnH6mrOTRxjkaW8jCYWPsfi5JI9aY5eJkUA== 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=B/CS0oqMOObYJdWxT+4GdZYtvTzpHIrzI5RpTisH8cs=; b=M2FrEhdu3tQv0XZaSr8a0MZlssIE7AjLreaxC4AyR9PwEZoaytkLQBS675wLpdMpAkMdAPC87k04ADQYrDRnms828IZXeOaLN6819x1Vq7Gl8hxT/HdotLGSc/RKaa6bvGbeVsbuongDutmFrtu0rPJFqfLdRe5SiwmnmzWxgVTiaCb+tFYfWmqT5zfMuinPBfVnY4dlnsWYdJd4oREFj2lvZMEahg7kE4IfHFB+VLqzGit8dO34JFwighVtS7ViIatla+FVHA8SAgt6PX4/qsdsbYPpY+CddTWFt4rLR0iwuh4sEgnHhz5jhYQ9UfHaAbmp+IG1HF/JcVMUQ0bUMw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B/CS0oqMOObYJdWxT+4GdZYtvTzpHIrzI5RpTisH8cs=; b=oXmRIlA86fWQXV7nol3wZBTsN6JUH0CDtXcTkSWcs6HhFRRzML6WPbqioasTtyYDarZXl96j0q/mKGRgpBG15sS2EBn3PcOF1/kx6PpwIzhlpT/9kLblHluyNqB7uZrcEV8gPOCxVF29oCxCOjQsqRxbcaFSPE1R3UnWoL3SOOI= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (10.186.174.145) by AM0PR05MB4562.eurprd05.prod.outlook.com (52.133.56.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.22; Thu, 13 Feb 2020 09:38:55 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::adbd:45ca:54:bba9]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::adbd:45ca:54:bba9%7]) with mapi id 15.20.2729.021; Thu, 13 Feb 2020 09:38:55 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , Ori Kam Thread-Topic: [PATCH] net/mlx5: fix legacy non inline multi packet session Thread-Index: AQHV4czEGusdK7G7+EiLfPxLOCdnwKgY2OQw Date: Thu, 13 Feb 2020 09:38:55 +0000 Message-ID: References: <1581529748-21677-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1581529748-21677-1-git-send-email-viacheslavo@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 74ce8775-7f47-4e15-16eb-08d7b0688b6e x-ms-traffictypediagnostic: AM0PR05MB4562:|AM0PR05MB4562: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:651; x-forefront-prvs: 031257FE13 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(366004)(346002)(376002)(39860400002)(396003)(199004)(189003)(107886003)(316002)(110136005)(7696005)(71200400001)(54906003)(81166006)(8676002)(478600001)(53546011)(81156014)(33656002)(86362001)(5660300002)(9686003)(55016002)(64756008)(186003)(52536014)(66476007)(66556008)(66946007)(76116006)(6506007)(4326008)(66446008)(26005)(8936002)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB4562; H:AM0PR05MB6707.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: iPE1uk3i0XVb+U1ryQQv4ITK9m78vTnYvH+9RiglAsLD/TI0trfPZ2+cR2iagvOwPUfwWWVzH14fZH2mzxrWHukYCZuzZgW06iirdeDK3Ng9vl8+tBCtbh2ZUJo75vCe7KIqv43Gt6ORZej1yHoobepW0tKgT8tVUYukRwsltep17n5lVqoekCrn/MLq7DPDaD9J9g87mZa0tadvSiI5rMEvofK4GL9X1W241jcwCgVEwE7QouydJF3kv9UdDKLaGcBnJigmTzV+OWYhqMOe8IHWaU8sz+glM+Y8FwuUe52wX7D8YZUQxnv/zn+qIigAXl4EnfsOVJaMHB07NkHo/RIclFAAxspDCFHjhnjIUpyCVifSF/JMKoby2gBcSCEzEvtuxTlIbOnCttaWW7qseEJDQX+UF9IZnQcfAVgyS2cLL0f329nzcr3eSsUPYZYQ x-ms-exchange-antispam-messagedata: 5FtgFDVZ8iO8NnRWRp/2U7h+MpZZdI1pcOKHhriGfw0CRI+6eobST2ia2MkorRvb3Yxn5NIgc4EFmtvfDNmqMmZdy+WUXGRH6MwGbK4QI5WhknxNusYyGzFNM12HeD3f4X9g02RB86TuqF+p6O1eIw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 74ce8775-7f47-4e15-16eb-08d7b0688b6e X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2020 09:38:55.7295 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Q0TWWgt855dqfyYBRm1AxeAX9qnQQHYOTZTSP2Y2spvOLxANjvTWpK5lXN8wxy1oJ+QLfXqAce7DKEO31Lhc2g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4562 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix legacy non inline multi packet session 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" Hi, > -----Original Message----- > From: Viacheslav Ovsiienko > Sent: Wednesday, February 12, 2020 7:49 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Ori Kam > Subject: [PATCH] net/mlx5: fix legacy non inline multi packet session >=20 > The commit being fixed introduced the different format > for the transmitting descriptor multi-packet session for > ConnectX-4LX. The session was assumed always opened if > not-inlinable packet was encountered. The patch checks > whether the inline multi-packet is opened and it allows > to proceed with normal packets (non inlined) successfully. >=20 > Fixes: 82a506b404b0 ("net/mlx5: fix the legacy multi packet write session= ") >=20 Added Cc: stable@dpdk.org > Signed-off-by: Viacheslav Ovsiienko > --- > drivers/net/mlx5/mlx5_rxtx.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/net/mlx5/mlx5_rxtx.c b/drivers/net/mlx5/mlx5_rxtx.c > index 86e0fab..b55db4f 100644 > --- a/drivers/net/mlx5/mlx5_rxtx.c > +++ b/drivers/net/mlx5/mlx5_rxtx.c > @@ -4341,6 +4341,7 @@ enum mlx5_txcmp_code { > * intermix for legacy MPW sessions. > */ > if (MLX5_TXOFF_CONFIG(MPW) && > + part !=3D room && > loc->wqe_last->dseg[0].bcount =3D=3D RTE_BE32(0)) > break; > /* > -- > 1.8.3.1 Patch applied next-net-mlx, Kindest regards, Raslan Darawsheh