Message ID | 1603713305-30991-1-git-send-email-viacheslavo@nvidia.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7A538A04DC; Mon, 26 Oct 2020 12:55:15 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 679612BAA; Mon, 26 Oct 2020 12:55:13 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id F07E82BA2 for <dev@dpdk.org>; Mon, 26 Oct 2020 12:55:10 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from viacheslavo@nvidia.com) with SMTP; 26 Oct 2020 13:55:09 +0200 Received: from nvidia.com (pegasus12.mtr.labs.mlnx [10.210.17.40]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 09QBt8vT013951; Mon, 26 Oct 2020 13:55:09 +0200 From: Viacheslav Ovsiienko <viacheslavo@nvidia.com> To: dev@dpdk.org Cc: thomas@monjalon.net, matan@nvidia.com, akozyrev@nvidia.com, rasland@nvidia.com, orika@nvidia.com Date: Mon, 26 Oct 2020 11:54:59 +0000 Message-Id: <1603713305-30991-1-git-send-email-viacheslavo@nvidia.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1603381371-5360-2-git-send-email-viacheslavo@nvidia.com> References: <1603381371-5360-2-git-send-email-viacheslavo@nvidia.com> Subject: [dpdk-dev] [PATCH v4 0/6] net/mlx5: add Rx buffer split support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
net/mlx5: add Rx buffer split support
|
|
Message
Slava Ovsiienko
Oct. 26, 2020, 11:54 a.m. UTC
This patch adds to PMD the functionality for the receiving
buffer split feasture [1]
[1] http://patches.dpdk.org/patch/81154/
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
---
v1: http://patches.dpdk.org/patch/81808/
v2: http://patches.dpdk.org/patch/81923/
- typos
- documentation is updated
v3: http://patches.dpdk.org/patch/82177/
- extra parameter checks in PMD rx_queue_setup removed
- minor optimizations in PMD
v4: - rebasing
Viacheslav Ovsiienko (6):
net/mlx5: add extended Rx queue setup routine
net/mlx5: configure Rx queue to support split
net/mlx5: register multiple pool for Rx queue
net/mlx5: update Rx datapath to support split
net/mlx5: report Rx segmentation capabilities
doc: add buffer split feature limitation to mlx5 guide
doc/guides/nics/mlx5.rst | 6 +-
drivers/net/mlx5/mlx5.h | 3 +
drivers/net/mlx5/mlx5_ethdev.c | 4 ++
drivers/net/mlx5/mlx5_mr.c | 3 +
drivers/net/mlx5/mlx5_rxq.c | 136 +++++++++++++++++++++++++++++++++++-----
drivers/net/mlx5/mlx5_rxtx.c | 3 +-
drivers/net/mlx5/mlx5_rxtx.h | 13 +++-
drivers/net/mlx5/mlx5_trigger.c | 20 +++---
8 files changed, 160 insertions(+), 28 deletions(-)
Comments
Hi, > -----Original Message----- > From: Viacheslav Ovsiienko <viacheslavo@nvidia.com> > Sent: Monday, October 26, 2020 1:55 PM > To: dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Matan Azrad > <matan@nvidia.com>; Alexander Kozyrev <akozyrev@nvidia.com>; Raslan > Darawsheh <rasland@nvidia.com>; Ori Kam <orika@nvidia.com> > Subject: [PATCH v4 0/6] net/mlx5: add Rx buffer split support > > This patch adds to PMD the functionality for the receiving > buffer split feasture [1] > > [1] > https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch > es.dpdk.org%2Fpatch%2F81154%2F&data=02%7C01%7Crasland%40nvid > ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db3 > 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=fyiL3PS8r8wv8u > pyOYUtITkVqId9DZsF9LvSJQL9fdM%3D&reserved=0 > > Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> > > --- > v1: > https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch > es.dpdk.org%2Fpatch%2F81808%2F&data=02%7C01%7Crasland%40nvid > ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db3 > 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=NPBFlGmVN6bi > GUpzHC%2FrOVmdMoK2fkYRC0%2FDB%2BNlNno%3D&reserved=0 > > v2: > https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch > es.dpdk.org%2Fpatch%2F81923%2F&data=02%7C01%7Crasland%40nvid > ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db3 > 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=YwYjMz3jrSYU6 > RBgwl0DmQfmjwwymNJTFjMdx0rsm2U%3D&reserved=0 > - typos > - documentation is updated > > v3: > https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch > es.dpdk.org%2Fpatch%2F82177%2F&data=02%7C01%7Crasland%40nvid > ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db3 > 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=HVvLbWS0sJxu > v%2Bc%2BKIMqllBq3edC4v0GD%2BtrwS7%2FsRo%3D&reserved=0 > - extra parameter checks in PMD rx_queue_setup removed > - minor optimizations in PMD > > v4: - rebasing > > Viacheslav Ovsiienko (6): > net/mlx5: add extended Rx queue setup routine > net/mlx5: configure Rx queue to support split > net/mlx5: register multiple pool for Rx queue > net/mlx5: update Rx datapath to support split > net/mlx5: report Rx segmentation capabilities > doc: add buffer split feature limitation to mlx5 guide > > doc/guides/nics/mlx5.rst | 6 +- > drivers/net/mlx5/mlx5.h | 3 + > drivers/net/mlx5/mlx5_ethdev.c | 4 ++ > drivers/net/mlx5/mlx5_mr.c | 3 + > drivers/net/mlx5/mlx5_rxq.c | 136 > +++++++++++++++++++++++++++++++++++----- > drivers/net/mlx5/mlx5_rxtx.c | 3 +- > drivers/net/mlx5/mlx5_rxtx.h | 13 +++- > drivers/net/mlx5/mlx5_trigger.c | 20 +++--- > 8 files changed, 160 insertions(+), 28 deletions(-) > > -- > 1.8.3.1 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh
On 10/26/2020 3:25 PM, Raslan Darawsheh wrote: > Hi, > >> -----Original Message----- >> From: Viacheslav Ovsiienko <viacheslavo@nvidia.com> >> Sent: Monday, October 26, 2020 1:55 PM >> To: dev@dpdk.org >> Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Matan Azrad >> <matan@nvidia.com>; Alexander Kozyrev <akozyrev@nvidia.com>; Raslan >> Darawsheh <rasland@nvidia.com>; Ori Kam <orika@nvidia.com> >> Subject: [PATCH v4 0/6] net/mlx5: add Rx buffer split support >> >> This patch adds to PMD the functionality for the receiving >> buffer split feasture [1] >> >> [1] >> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch >> es.dpdk.org%2Fpatch%2F81154%2F&data=02%7C01%7Crasland%40nvid >> ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db3 >> 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=fyiL3PS8r8wv8u >> pyOYUtITkVqId9DZsF9LvSJQL9fdM%3D&reserved=0 >> >> Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> >> >> --- >> v1: >> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch >> es.dpdk.org%2Fpatch%2F81808%2F&data=02%7C01%7Crasland%40nvid >> ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db3 >> 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=NPBFlGmVN6bi >> GUpzHC%2FrOVmdMoK2fkYRC0%2FDB%2BNlNno%3D&reserved=0 >> >> v2: >> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch >> es.dpdk.org%2Fpatch%2F81923%2F&data=02%7C01%7Crasland%40nvid >> ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db3 >> 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=YwYjMz3jrSYU6 >> RBgwl0DmQfmjwwymNJTFjMdx0rsm2U%3D&reserved=0 >> - typos >> - documentation is updated >> >> v3: >> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatch >> es.dpdk.org%2Fpatch%2F82177%2F&data=02%7C01%7Crasland%40nvid >> ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db3 >> 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=HVvLbWS0sJxu >> v%2Bc%2BKIMqllBq3edC4v0GD%2BtrwS7%2FsRo%3D&reserved=0 >> - extra parameter checks in PMD rx_queue_setup removed >> - minor optimizations in PMD >> >> v4: - rebasing >> >> Viacheslav Ovsiienko (6): >> net/mlx5: add extended Rx queue setup routine >> net/mlx5: configure Rx queue to support split >> net/mlx5: register multiple pool for Rx queue >> net/mlx5: update Rx datapath to support split >> net/mlx5: report Rx segmentation capabilities >> doc: add buffer split feature limitation to mlx5 guide >> >> doc/guides/nics/mlx5.rst | 6 +- >> drivers/net/mlx5/mlx5.h | 3 + >> drivers/net/mlx5/mlx5_ethdev.c | 4 ++ >> drivers/net/mlx5/mlx5_mr.c | 3 + >> drivers/net/mlx5/mlx5_rxq.c | 136 >> +++++++++++++++++++++++++++++++++++----- >> drivers/net/mlx5/mlx5_rxtx.c | 3 +- >> drivers/net/mlx5/mlx5_rxtx.h | 13 +++- >> drivers/net/mlx5/mlx5_trigger.c | 20 +++--- >> 8 files changed, 160 insertions(+), 28 deletions(-) >> >> -- >> 1.8.3.1 > > Series applied to next-net-mlx, > The feature was references with different name in each commit, I tried to unify it as "Rx buffer split" in next-net. Can you please double check the updated commit log/titles?
Hi, Ferruh PSB > -----Original Message----- > From: Ferruh Yigit <ferruh.yigit@intel.com> > Sent: Monday, October 26, 2020 19:04 > To: Raslan Darawsheh <rasland@nvidia.com>; Slava Ovsiienko > <viacheslavo@nvidia.com>; dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Matan Azrad > <matan@nvidia.com>; Alexander Kozyrev <akozyrev@nvidia.com>; Ori Kam > <orika@nvidia.com> > Subject: Re: [dpdk-dev] [PATCH v4 0/6] net/mlx5: add Rx buffer split support > > On 10/26/2020 3:25 PM, Raslan Darawsheh wrote: > > Hi, > > > >> -----Original Message----- > >> From: Viacheslav Ovsiienko <viacheslavo@nvidia.com> > >> Sent: Monday, October 26, 2020 1:55 PM > >> To: dev@dpdk.org > >> Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Matan Azrad > >> <matan@nvidia.com>; Alexander Kozyrev <akozyrev@nvidia.com>; Raslan > >> Darawsheh <rasland@nvidia.com>; Ori Kam <orika@nvidia.com> > >> Subject: [PATCH v4 0/6] net/mlx5: add Rx buffer split support > >> > >> This patch adds to PMD the functionality for the receiving buffer > >> split feasture [1] > >> > >> [1] > >> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatc > >> h > es.dpdk.org%2Fpatch%2F81154%2F&data=02%7C01%7Crasland%40nvid > >> > ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db > 3 > >> > 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=fyiL3PS8r8wv8u > >> pyOYUtITkVqId9DZsF9LvSJQL9fdM%3D&reserved=0 > >> > >> Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> > >> > >> --- > >> v1: > >> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatc > >> h > es.dpdk.org%2Fpatch%2F81808%2F&data=02%7C01%7Crasland%40nvid > >> > ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db > 3 > >> > 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=NPBFlGmVN6bi > >> GUpzHC%2FrOVmdMoK2fkYRC0%2FDB%2BNlNno%3D&reserved=0 > >> > >> v2: > >> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatc > >> h > es.dpdk.org%2Fpatch%2F81923%2F&data=02%7C01%7Crasland%40nvid > >> > ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db > 3 > >> > 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=YwYjMz3jrSYU6 > >> RBgwl0DmQfmjwwymNJTFjMdx0rsm2U%3D&reserved=0 > >> - typos > >> - documentation is updated > >> > >> v3: > >> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatc > >> h > es.dpdk.org%2Fpatch%2F82177%2F&data=02%7C01%7Crasland%40nvid > >> > ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db > 3 > >> > 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=HVvLbWS0sJxu > >> v%2Bc%2BKIMqllBq3edC4v0GD%2BtrwS7%2FsRo%3D&reserved=0 > >> - extra parameter checks in PMD rx_queue_setup removed > >> - minor optimizations in PMD > >> > >> v4: - rebasing > >> > >> Viacheslav Ovsiienko (6): > >> net/mlx5: add extended Rx queue setup routine > >> net/mlx5: configure Rx queue to support split > >> net/mlx5: register multiple pool for Rx queue > >> net/mlx5: update Rx datapath to support split > >> net/mlx5: report Rx segmentation capabilities > >> doc: add buffer split feature limitation to mlx5 guide > >> > >> doc/guides/nics/mlx5.rst | 6 +- > >> drivers/net/mlx5/mlx5.h | 3 + > >> drivers/net/mlx5/mlx5_ethdev.c | 4 ++ > >> drivers/net/mlx5/mlx5_mr.c | 3 + > >> drivers/net/mlx5/mlx5_rxq.c | 136 > >> +++++++++++++++++++++++++++++++++++----- > >> drivers/net/mlx5/mlx5_rxtx.c | 3 +- > >> drivers/net/mlx5/mlx5_rxtx.h | 13 +++- > >> drivers/net/mlx5/mlx5_trigger.c | 20 +++--- > >> 8 files changed, 160 insertions(+), 28 deletions(-) > >> > >> -- > >> 1.8.3.1 > > > > Series applied to next-net-mlx, > > > > The feature was references with different name in each commit, I tried to unify > it as "Rx buffer split" in next-net. > Can you please double check the updated commit log/titles? >> doc: add Rx buffer split limitation to mlx5 guide >> net/mlx5: report Rx buffer split capabilities OK about above. >> net/mlx5: support Rx buffer split It would be better: "net/mlx5: support Rx buffer split on datapath >> net/mlx5: register multiple pool for Rx queue OK >> net/mlx5: configure Rx buffer split It would be better: "net/mlx5: configure Rx queue for buffer split" >> net/mlx5: receive Rx buffer split description IMO, it would be better: "net/mlx5: handle Rx buffer split description" or "net/mlx5: support Rx buffer split description" Could you, please, also squash the hotfix: http://patches.dpdk.org/patch/82218/ Thanks in advance, Slava
On 10/26/2020 5:38 PM, Slava Ovsiienko wrote: > Hi, Ferruh > > PSB >> -----Original Message----- >> From: Ferruh Yigit <ferruh.yigit@intel.com> >> Sent: Monday, October 26, 2020 19:04 >> To: Raslan Darawsheh <rasland@nvidia.com>; Slava Ovsiienko >> <viacheslavo@nvidia.com>; dev@dpdk.org >> Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Matan Azrad >> <matan@nvidia.com>; Alexander Kozyrev <akozyrev@nvidia.com>; Ori Kam >> <orika@nvidia.com> >> Subject: Re: [dpdk-dev] [PATCH v4 0/6] net/mlx5: add Rx buffer split support >> >> On 10/26/2020 3:25 PM, Raslan Darawsheh wrote: >>> Hi, >>> >>>> -----Original Message----- >>>> From: Viacheslav Ovsiienko <viacheslavo@nvidia.com> >>>> Sent: Monday, October 26, 2020 1:55 PM >>>> To: dev@dpdk.org >>>> Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Matan Azrad >>>> <matan@nvidia.com>; Alexander Kozyrev <akozyrev@nvidia.com>; Raslan >>>> Darawsheh <rasland@nvidia.com>; Ori Kam <orika@nvidia.com> >>>> Subject: [PATCH v4 0/6] net/mlx5: add Rx buffer split support >>>> >>>> This patch adds to PMD the functionality for the receiving buffer >>>> split feasture [1] >>>> >>>> [1] >>>> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatc >>>> h >> es.dpdk.org%2Fpatch%2F81154%2F&data=02%7C01%7Crasland%40nvid >>>> >> ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db >> 3 >>>> >> 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=fyiL3PS8r8wv8u >>>> pyOYUtITkVqId9DZsF9LvSJQL9fdM%3D&reserved=0 >>>> >>>> Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> >>>> >>>> --- >>>> v1: >>>> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatc >>>> h >> es.dpdk.org%2Fpatch%2F81808%2F&data=02%7C01%7Crasland%40nvid >>>> >> ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db >> 3 >>>> >> 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=NPBFlGmVN6bi >>>> GUpzHC%2FrOVmdMoK2fkYRC0%2FDB%2BNlNno%3D&reserved=0 >>>> >>>> v2: >>>> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatc >>>> h >> es.dpdk.org%2Fpatch%2F81923%2F&data=02%7C01%7Crasland%40nvid >>>> >> ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db >> 3 >>>> >> 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=YwYjMz3jrSYU6 >>>> RBgwl0DmQfmjwwymNJTFjMdx0rsm2U%3D&reserved=0 >>>> - typos >>>> - documentation is updated >>>> >>>> v3: >>>> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpatc >>>> h >> es.dpdk.org%2Fpatch%2F82177%2F&data=02%7C01%7Crasland%40nvid >>>> >> ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db >> 3 >>>> >> 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=HVvLbWS0sJxu >>>> v%2Bc%2BKIMqllBq3edC4v0GD%2BtrwS7%2FsRo%3D&reserved=0 >>>> - extra parameter checks in PMD rx_queue_setup removed >>>> - minor optimizations in PMD >>>> >>>> v4: - rebasing >>>> >>>> Viacheslav Ovsiienko (6): >>>> net/mlx5: add extended Rx queue setup routine >>>> net/mlx5: configure Rx queue to support split >>>> net/mlx5: register multiple pool for Rx queue >>>> net/mlx5: update Rx datapath to support split >>>> net/mlx5: report Rx segmentation capabilities >>>> doc: add buffer split feature limitation to mlx5 guide >>>> >>>> doc/guides/nics/mlx5.rst | 6 +- >>>> drivers/net/mlx5/mlx5.h | 3 + >>>> drivers/net/mlx5/mlx5_ethdev.c | 4 ++ >>>> drivers/net/mlx5/mlx5_mr.c | 3 + >>>> drivers/net/mlx5/mlx5_rxq.c | 136 >>>> +++++++++++++++++++++++++++++++++++----- >>>> drivers/net/mlx5/mlx5_rxtx.c | 3 +- >>>> drivers/net/mlx5/mlx5_rxtx.h | 13 +++- >>>> drivers/net/mlx5/mlx5_trigger.c | 20 +++--- >>>> 8 files changed, 160 insertions(+), 28 deletions(-) >>>> >>>> -- >>>> 1.8.3.1 >>> >>> Series applied to next-net-mlx, >>> >> >> The feature was references with different name in each commit, I tried to unify >> it as "Rx buffer split" in next-net. >> Can you please double check the updated commit log/titles? > >>> doc: add Rx buffer split limitation to mlx5 guide >>> net/mlx5: report Rx buffer split capabilities > OK about above. > >>> net/mlx5: support Rx buffer split > It would be better: "net/mlx5: support Rx buffer split on datapath > Isn't the supporting the "Rx buffer split" mean supporting it on the datapath, where else it can be supported, the "on datapath" looks redundant to me. >>> net/mlx5: register multiple pool for Rx queue > OK > >>> net/mlx5: configure Rx buffer split > It would be better: "net/mlx5: configure Rx queue for buffer split" > Like above, isn't the configure "Rx buffer split" mean configuring Rx queue for it, "Rx queue" looks redundant to me. For both above, if you have strong opinion to update them, I can. But I prefer shorter versions. >>> net/mlx5: receive Rx buffer split description > IMO, it would be better: "net/mlx5: handle Rx buffer split description" > or > "net/mlx5: support Rx buffer split description" > OK to use "net/mlx5: support Rx buffer split description" > Could you, please, also squash the hotfix: > http://patches.dpdk.org/patch/82218/ > OK
> -----Original Message----- > From: Ferruh Yigit <ferruh.yigit@intel.com> > Sent: Tuesday, October 27, 2020 13:05 > To: Slava Ovsiienko <viacheslavo@nvidia.com>; Raslan Darawsheh > <rasland@nvidia.com>; dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Matan Azrad > <matan@nvidia.com>; Alexander Kozyrev <akozyrev@nvidia.com>; Ori Kam > <orika@nvidia.com> > Subject: Re: [dpdk-dev] [PATCH v4 0/6] net/mlx5: add Rx buffer split support > > On 10/26/2020 5:38 PM, Slava Ovsiienko wrote: > > Hi, Ferruh > > > > PSB > >> -----Original Message----- > >> From: Ferruh Yigit <ferruh.yigit@intel.com> > >> Sent: Monday, October 26, 2020 19:04 > >> To: Raslan Darawsheh <rasland@nvidia.com>; Slava Ovsiienko > >> <viacheslavo@nvidia.com>; dev@dpdk.org > >> Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Matan Azrad > >> <matan@nvidia.com>; Alexander Kozyrev <akozyrev@nvidia.com>; Ori Kam > >> <orika@nvidia.com> > >> Subject: Re: [dpdk-dev] [PATCH v4 0/6] net/mlx5: add Rx buffer split > >> support > >> > >> On 10/26/2020 3:25 PM, Raslan Darawsheh wrote: > >>> Hi, > >>> > >>>> -----Original Message----- > >>>> From: Viacheslav Ovsiienko <viacheslavo@nvidia.com> > >>>> Sent: Monday, October 26, 2020 1:55 PM > >>>> To: dev@dpdk.org > >>>> Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Matan > Azrad > >>>> <matan@nvidia.com>; Alexander Kozyrev <akozyrev@nvidia.com>; > Raslan > >>>> Darawsheh <rasland@nvidia.com>; Ori Kam <orika@nvidia.com> > >>>> Subject: [PATCH v4 0/6] net/mlx5: add Rx buffer split support > >>>> > >>>> This patch adds to PMD the functionality for the receiving buffer > >>>> split feasture [1] > >>>> > >>>> [1] > >>>> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpa > >>>> tc > >>>> h > >> > es.dpdk.org%2Fpatch%2F81154%2F&data=02%7C01%7Crasland%40nvid > >>>> > >> > ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db > >> 3 > >>>> > >> > 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=fyiL3PS8r8wv8u > >>>> pyOYUtITkVqId9DZsF9LvSJQL9fdM%3D&reserved=0 > >>>> > >>>> Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> > >>>> > >>>> --- > >>>> v1: > >>>> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpa > >>>> tc > >>>> h > >> > es.dpdk.org%2Fpatch%2F81808%2F&data=02%7C01%7Crasland%40nvid > >>>> > >> > ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db > >> 3 > >>>> > >> > 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=NPBFlGmVN6bi > >>>> GUpzHC%2FrOVmdMoK2fkYRC0%2FDB%2BNlNno%3D&reserved=0 > >>>> > >>>> v2: > >>>> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpa > >>>> tc > >>>> h > >> > es.dpdk.org%2Fpatch%2F81923%2F&data=02%7C01%7Crasland%40nvid > >>>> > >> > ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db > >> 3 > >>>> > >> > 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=YwYjMz3jrSYU6 > >>>> RBgwl0DmQfmjwwymNJTFjMdx0rsm2U%3D&reserved=0 > >>>> - typos > >>>> - documentation is updated > >>>> > >>>> v3: > >>>> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpa > >>>> tc > >>>> h > >> > es.dpdk.org%2Fpatch%2F82177%2F&data=02%7C01%7Crasland%40nvid > >>>> > >> > ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db > >> 3 > >>>> > >> > 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=HVvLbWS0sJxu > >>>> v%2Bc%2BKIMqllBq3edC4v0GD%2BtrwS7%2FsRo%3D&reserved=0 > >>>> - extra parameter checks in PMD rx_queue_setup removed > >>>> - minor optimizations in PMD > >>>> > >>>> v4: - rebasing > >>>> > >>>> Viacheslav Ovsiienko (6): > >>>> net/mlx5: add extended Rx queue setup routine > >>>> net/mlx5: configure Rx queue to support split > >>>> net/mlx5: register multiple pool for Rx queue > >>>> net/mlx5: update Rx datapath to support split > >>>> net/mlx5: report Rx segmentation capabilities > >>>> doc: add buffer split feature limitation to mlx5 guide > >>>> > >>>> doc/guides/nics/mlx5.rst | 6 +- > >>>> drivers/net/mlx5/mlx5.h | 3 + > >>>> drivers/net/mlx5/mlx5_ethdev.c | 4 ++ > >>>> drivers/net/mlx5/mlx5_mr.c | 3 + > >>>> drivers/net/mlx5/mlx5_rxq.c | 136 > >>>> +++++++++++++++++++++++++++++++++++----- > >>>> drivers/net/mlx5/mlx5_rxtx.c | 3 +- > >>>> drivers/net/mlx5/mlx5_rxtx.h | 13 +++- > >>>> drivers/net/mlx5/mlx5_trigger.c | 20 +++--- > >>>> 8 files changed, 160 insertions(+), 28 deletions(-) > >>>> > >>>> -- > >>>> 1.8.3.1 > >>> > >>> Series applied to next-net-mlx, > >>> > >> > >> The feature was references with different name in each commit, I > >> tried to unify it as "Rx buffer split" in next-net. > >> Can you please double check the updated commit log/titles? > > > >>> doc: add Rx buffer split limitation to mlx5 guide > >>> net/mlx5: report Rx buffer split capabilities > > OK about above. > > > >>> net/mlx5: support Rx buffer split > > It would be better: "net/mlx5: support Rx buffer split on datapath > > > > Isn't the supporting the "Rx buffer split" mean supporting it on the datapath, > where else it can be supported, the "on datapath" looks redundant to me. Options for possible "support Buffer Split" meaning: - generic PMD configuration - queue configuration - reporting caps - datapath The series is split for commits those updating the very specific parts in PMD. We may drop this specifics but we would lose the series split meaning. Sure, the entire series is about "support Rx buffer split", but each commit has its own clarification in the headline. > > >>> net/mlx5: register multiple pool for Rx queue > > OK > > > >>> net/mlx5: configure Rx buffer split > > It would be better: "net/mlx5: configure Rx queue for buffer split" > > > > Like above, isn't the configure "Rx buffer split" mean configuring Rx queue for > it, "Rx queue" looks redundant to me. It just emphasizes - "the queue object is configured in this specific commit", it would be easier to find this point and understand what it is in the long git log. Hence, in my opinion, "queue" is some kind of extra clue, we should not drop it. > For both above, if you have strong opinion to update them, I can. But I prefer > shorter versions. > > >>> net/mlx5: receive Rx buffer split description > > IMO, it would be better: "net/mlx5: handle Rx buffer split description" > > or > > "net/mlx5: support Rx buffer split description" > > > > OK to use "net/mlx5: support Rx buffer split description" > Please, see dpdk-next-net-mlx - Raslan updated the subtree, addressing the hotfix and yours and mine comments. With best regards, Slava
On 10/27/2020 7:05 PM, Slava Ovsiienko wrote: >> -----Original Message----- >> From: Ferruh Yigit <ferruh.yigit@intel.com> >> Sent: Tuesday, October 27, 2020 13:05 >> To: Slava Ovsiienko <viacheslavo@nvidia.com>; Raslan Darawsheh >> <rasland@nvidia.com>; dev@dpdk.org >> Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Matan Azrad >> <matan@nvidia.com>; Alexander Kozyrev <akozyrev@nvidia.com>; Ori Kam >> <orika@nvidia.com> >> Subject: Re: [dpdk-dev] [PATCH v4 0/6] net/mlx5: add Rx buffer split support >> >> On 10/26/2020 5:38 PM, Slava Ovsiienko wrote: >>> Hi, Ferruh >>> >>> PSB >>>> -----Original Message----- >>>> From: Ferruh Yigit <ferruh.yigit@intel.com> >>>> Sent: Monday, October 26, 2020 19:04 >>>> To: Raslan Darawsheh <rasland@nvidia.com>; Slava Ovsiienko >>>> <viacheslavo@nvidia.com>; dev@dpdk.org >>>> Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Matan Azrad >>>> <matan@nvidia.com>; Alexander Kozyrev <akozyrev@nvidia.com>; Ori Kam >>>> <orika@nvidia.com> >>>> Subject: Re: [dpdk-dev] [PATCH v4 0/6] net/mlx5: add Rx buffer split >>>> support >>>> >>>> On 10/26/2020 3:25 PM, Raslan Darawsheh wrote: >>>>> Hi, >>>>> >>>>>> -----Original Message----- >>>>>> From: Viacheslav Ovsiienko <viacheslavo@nvidia.com> >>>>>> Sent: Monday, October 26, 2020 1:55 PM >>>>>> To: dev@dpdk.org >>>>>> Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Matan >> Azrad >>>>>> <matan@nvidia.com>; Alexander Kozyrev <akozyrev@nvidia.com>; >> Raslan >>>>>> Darawsheh <rasland@nvidia.com>; Ori Kam <orika@nvidia.com> >>>>>> Subject: [PATCH v4 0/6] net/mlx5: add Rx buffer split support >>>>>> >>>>>> This patch adds to PMD the functionality for the receiving buffer >>>>>> split feasture [1] >>>>>> >>>>>> [1] >>>>>> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpa >>>>>> tc >>>>>> h >>>> >> es.dpdk.org%2Fpatch%2F81154%2F&data=02%7C01%7Crasland%40nvid >>>>>> >>>> >> ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db >>>> 3 >>>>>> >>>> >> 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=fyiL3PS8r8wv8u >>>>>> pyOYUtITkVqId9DZsF9LvSJQL9fdM%3D&reserved=0 >>>>>> >>>>>> Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> >>>>>> >>>>>> --- >>>>>> v1: >>>>>> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpa >>>>>> tc >>>>>> h >>>> >> es.dpdk.org%2Fpatch%2F81808%2F&data=02%7C01%7Crasland%40nvid >>>>>> >>>> >> ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db >>>> 3 >>>>>> >>>> >> 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=NPBFlGmVN6bi >>>>>> GUpzHC%2FrOVmdMoK2fkYRC0%2FDB%2BNlNno%3D&reserved=0 >>>>>> >>>>>> v2: >>>>>> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpa >>>>>> tc >>>>>> h >>>> >> es.dpdk.org%2Fpatch%2F81923%2F&data=02%7C01%7Crasland%40nvid >>>>>> >>>> >> ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db >>>> 3 >>>>>> >>>> >> 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=YwYjMz3jrSYU6 >>>>>> RBgwl0DmQfmjwwymNJTFjMdx0rsm2U%3D&reserved=0 >>>>>> - typos >>>>>> - documentation is updated >>>>>> >>>>>> v3: >>>>>> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpa >>>>>> tc >>>>>> h >>>> >> es.dpdk.org%2Fpatch%2F82177%2F&data=02%7C01%7Crasland%40nvid >>>>>> >>>> >> ia.com%7Ccf4913c6b58346b50b1b08d879a60608%7C43083d15727340c1b7db >>>> 3 >>>>>> >>>> >> 9efd9ccc17a%7C0%7C0%7C637393101256743078&sdata=HVvLbWS0sJxu >>>>>> v%2Bc%2BKIMqllBq3edC4v0GD%2BtrwS7%2FsRo%3D&reserved=0 >>>>>> - extra parameter checks in PMD rx_queue_setup removed >>>>>> - minor optimizations in PMD >>>>>> >>>>>> v4: - rebasing >>>>>> >>>>>> Viacheslav Ovsiienko (6): >>>>>> net/mlx5: add extended Rx queue setup routine >>>>>> net/mlx5: configure Rx queue to support split >>>>>> net/mlx5: register multiple pool for Rx queue >>>>>> net/mlx5: update Rx datapath to support split >>>>>> net/mlx5: report Rx segmentation capabilities >>>>>> doc: add buffer split feature limitation to mlx5 guide >>>>>> >>>>>> doc/guides/nics/mlx5.rst | 6 +- >>>>>> drivers/net/mlx5/mlx5.h | 3 + >>>>>> drivers/net/mlx5/mlx5_ethdev.c | 4 ++ >>>>>> drivers/net/mlx5/mlx5_mr.c | 3 + >>>>>> drivers/net/mlx5/mlx5_rxq.c | 136 >>>>>> +++++++++++++++++++++++++++++++++++----- >>>>>> drivers/net/mlx5/mlx5_rxtx.c | 3 +- >>>>>> drivers/net/mlx5/mlx5_rxtx.h | 13 +++- >>>>>> drivers/net/mlx5/mlx5_trigger.c | 20 +++--- >>>>>> 8 files changed, 160 insertions(+), 28 deletions(-) >>>>>> >>>>>> -- >>>>>> 1.8.3.1 >>>>> >>>>> Series applied to next-net-mlx, >>>>> >>>> >>>> The feature was references with different name in each commit, I >>>> tried to unify it as "Rx buffer split" in next-net. >>>> Can you please double check the updated commit log/titles? >>> >>>>> doc: add Rx buffer split limitation to mlx5 guide >>>>> net/mlx5: report Rx buffer split capabilities >>> OK about above. >>> >>>>> net/mlx5: support Rx buffer split >>> It would be better: "net/mlx5: support Rx buffer split on datapath >>> >> >> Isn't the supporting the "Rx buffer split" mean supporting it on the datapath, >> where else it can be supported, the "on datapath" looks redundant to me. > > Options for possible "support Buffer Split" meaning: > - generic PMD configuration > - queue configuration > - reporting caps > - datapath > > The series is split for commits those updating the very specific parts in PMD. > We may drop this specifics but we would lose the series split meaning. > Sure, the entire series is about "support Rx buffer split", but each commit has > its own clarification in the headline. > >> >>>>> net/mlx5: register multiple pool for Rx queue >>> OK >>> >>>>> net/mlx5: configure Rx buffer split >>> It would be better: "net/mlx5: configure Rx queue for buffer split" >>> >> >> Like above, isn't the configure "Rx buffer split" mean configuring Rx queue for >> it, "Rx queue" looks redundant to me. > It just emphasizes - "the queue object is configured in this specific commit", > it would be easier to find this point and understand what it is in the long git log. > Hence, in my opinion, "queue" is some kind of extra clue, we should not drop it. > >> For both above, if you have strong opinion to update them, I can. But I prefer >> shorter versions. >> > >>>>> net/mlx5: receive Rx buffer split description >>> IMO, it would be better: "net/mlx5: handle Rx buffer split description" >>> or >>> "net/mlx5: support Rx buffer split description" >>> >> >> OK to use "net/mlx5: support Rx buffer split description" >> > Please, see dpdk-next-net-mlx - Raslan updated the subtree, addressing > the hotfix and yours and mine comments. > What to see in the sub-tree? Making changes is easy, the essence is discussion and reaching into a consensus, which is what I am trying to do, without a consensus what is the point of updating it in the mlx sub-tree?
> -----Original Message----- > From: Ferruh Yigit <ferruh.yigit@intel.com> > Sent: Thursday, October 29, 2020 15:10 > To: Slava Ovsiienko <viacheslavo@nvidia.com>; Raslan Darawsheh > <rasland@nvidia.com>; dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Matan Azrad > <matan@nvidia.com>; Alexander Kozyrev <akozyrev@nvidia.com>; Ori Kam > <orika@nvidia.com> > Subject: Re: [dpdk-dev] [PATCH v4 0/6] net/mlx5: add Rx buffer split support > > On 10/27/2020 7:05 PM, Slava Ovsiienko wrote: > >> -----Original Message----- > >> From: Ferruh Yigit <ferruh.yigit@intel.com> > >> Sent: Tuesday, October 27, 2020 13:05 > >> To: Slava Ovsiienko <viacheslavo@nvidia.com>; Raslan Darawsheh > >> <rasland@nvidia.com>; dev@dpdk.org > >> Cc: NBU-Contact-Thomas Monjalon <thomas@monjalon.net>; Matan Azrad > >> <matan@nvidia.com>; Alexander Kozyrev <akozyrev@nvidia.com>; Ori Kam > >> <orika@nvidia.com> > >> Subject: Re: [dpdk-dev] [PATCH v4 0/6] net/mlx5: add Rx buffer split > >> support > >> [..snip..] > >>>> > >>>> The feature was references with different name in each commit, I > >>>> tried to unify it as "Rx buffer split" in next-net. > >>>> Can you please double check the updated commit log/titles? > >>> > >>>>> doc: add Rx buffer split limitation to mlx5 guide > >>>>> net/mlx5: report Rx buffer split capabilities > >>> OK about above. > >>> > >>>>> net/mlx5: support Rx buffer split > >>> It would be better: "net/mlx5: support Rx buffer split on datapath > >>> > >> > >> Isn't the supporting the "Rx buffer split" mean supporting it on the > >> datapath, where else it can be supported, the "on datapath" looks > redundant to me. > > > > Options for possible "support Buffer Split" meaning: > > - generic PMD configuration > > - queue configuration > > - reporting caps > > - datapath > > > > The series is split for commits those updating the very specific parts in PMD. > > We may drop this specifics but we would lose the series split meaning. > > Sure, the entire series is about "support Rx buffer split", but each > > commit has its own clarification in the headline. > > > >> > >>>>> net/mlx5: register multiple pool for Rx queue > >>> OK > >>> > >>>>> net/mlx5: configure Rx buffer split > >>> It would be better: "net/mlx5: configure Rx queue for buffer split" > >>> > >> > >> Like above, isn't the configure "Rx buffer split" mean configuring Rx > >> queue for it, "Rx queue" looks redundant to me. > > It just emphasizes - "the queue object is configured in this specific > > commit", it would be easier to find this point and understand what it is in the > long git log. > > Hence, in my opinion, "queue" is some kind of extra clue, we should not drop > it. > > > >> For both above, if you have strong opinion to update them, I can. But > >> I prefer shorter versions. > >> > > > >>>>> net/mlx5: receive Rx buffer split description > >>> IMO, it would be better: "net/mlx5: handle Rx buffer split description" > >>> or > >>> "net/mlx5: support Rx buffer split description" > >>> > >> > >> OK to use "net/mlx5: support Rx buffer split description" > >> > > Please, see dpdk-next-net-mlx - Raslan updated the subtree, addressing > > the hotfix and yours and mine comments. > > > > What to see in the sub-tree? > Making changes is easy, the essence is discussion and reaching into a > consensus, which is what I am trying to do, without a consensus what is the > point of updating it in the mlx sub-tree? Mmm, I hoped we got consensus, I agreed with you - the feature should be named in the same fashion in the commits and, in the same time, we would like to emphasize some commit specifics. I just tried to save your efforts with taking prepared commits from sub-tree. The patches are exactly the same, only headlines are updated. What, in your opinion, should be the next step? Do you mean we should send an updated version with updated headlines to the mailing list? With best regards, Slava