DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/2] doc: announce eth queue release callback parameter change
@ 2021-08-02 13:10 Xueming Li
  2021-08-02 13:10 ` [dpdk-dev] [PATCH 2/2] doc: announce eth new offload flag and group field Xueming Li
  2021-08-04 12:27 ` [dpdk-dev] [PATCH 1/2] doc: announce eth queue release callback parameter change Andrew Rybchenko
  0 siblings, 2 replies; 8+ messages in thread
From: Xueming Li @ 2021-08-02 13:10 UTC (permalink / raw)
  Cc: dev, xuemingl, Ray Kinsella

This patch announces the parameter change of eth_queue_release_t
callback API to eth_dev_ops in DPDK v21.11.

[1] mail list discussion:
https://mails.dpdk.org/archives/dev/2021-July/215654.html

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
---
 doc/guides/rel_notes/deprecation.rst | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index d9c0e65921..c38aebe99d 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -131,6 +131,9 @@ Deprecation Notices
   consistent with existing outer header checksum status flag naming, which
   should help in reducing confusion about its usage.
 
+* ethdev: queue release callback parameter will be changed to device and queue
+  ID to align with other queue configureation callback.
+
 * i40e: As there are both i40evf and iavf pmd, the functions of them are
   duplicated. And now more and more advanced features are developed on iavf.
   To keep consistent with kernel driver's name
-- 
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [dpdk-dev] [PATCH 2/2] doc: announce eth new offload flag and group field
  2021-08-02 13:10 [dpdk-dev] [PATCH 1/2] doc: announce eth queue release callback parameter change Xueming Li
@ 2021-08-02 13:10 ` Xueming Li
  2021-08-04  8:08   ` Slava Ovsiienko
  2021-08-04 12:27 ` [dpdk-dev] [PATCH 1/2] doc: announce eth queue release callback parameter change Andrew Rybchenko
  1 sibling, 1 reply; 8+ messages in thread
From: Xueming Li @ 2021-08-02 13:10 UTC (permalink / raw)
  Cc: dev, xuemingl, Ray Kinsella

To support shared Rx queue, this patch announces new offload flag
RTE_ETH_RX_OFFLOAD_SHARED_RXQ and new shared_group field to struct
rte_eth_rxconf in DPDK v21.11.

[1] mail list discussion:
https://mails.dpdk.org/archives/dev/2021-July/215575.html

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
---
 doc/guides/rel_notes/deprecation.rst | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index c38aebe99d..14f1f2dca7 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -131,6 +131,9 @@ Deprecation Notices
   consistent with existing outer header checksum status flag naming, which
   should help in reducing confusion about its usage.
 
+* ethdev: add new Rx queue offload flag ``RTE_ETH_RX_OFFLOAD_SHARED_RXQ`` and
+  ``shared_group`` field to struct rte_eth_rxconf.
+
 * ethdev: queue release callback parameter will be changed to device and queue
   ID to align with other queue configureation callback.
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dpdk-dev] [PATCH 2/2] doc: announce eth new offload flag and group field
  2021-08-02 13:10 ` [dpdk-dev] [PATCH 2/2] doc: announce eth new offload flag and group field Xueming Li
@ 2021-08-04  8:08   ` Slava Ovsiienko
  2021-08-04 12:29     ` Andrew Rybchenko
  0 siblings, 1 reply; 8+ messages in thread
From: Slava Ovsiienko @ 2021-08-04  8:08 UTC (permalink / raw)
  To: Xueming(Steven) Li; +Cc: dev, Xueming(Steven) Li, Ray Kinsella

> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Xueming Li
> Sent: Monday, August 2, 2021 16:11
> Cc: dev@dpdk.org; Xueming(Steven) Li <xuemingl@nvidia.com>; Ray Kinsella
> <mdr@ashroe.eu>
> Subject: [dpdk-dev] [PATCH 2/2] doc: announce eth new offload flag and
> group field
> 
> To support shared Rx queue, this patch announces new offload flag
> RTE_ETH_RX_OFFLOAD_SHARED_RXQ and new shared_group field to struct
> rte_eth_rxconf in DPDK v21.11.
> 
> [1] mail list discussion:
> https://mails.dpdk.org/archives/dev/2021-July/215575.html
> 
> Signed-off-by: Xueming Li <xuemingl@nvidia.com>

We need this change to handle shared queues - the same queue
object can be shared by multiple ports, and releasing routine should
know exactly on which port_id/queue_id  object is being released.

Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dpdk-dev] [PATCH 1/2] doc: announce eth queue release callback parameter change
  2021-08-02 13:10 [dpdk-dev] [PATCH 1/2] doc: announce eth queue release callback parameter change Xueming Li
  2021-08-02 13:10 ` [dpdk-dev] [PATCH 2/2] doc: announce eth new offload flag and group field Xueming Li
@ 2021-08-04 12:27 ` Andrew Rybchenko
  2021-08-04 12:31   ` Xueming(Steven) Li
  1 sibling, 1 reply; 8+ messages in thread
From: Andrew Rybchenko @ 2021-08-04 12:27 UTC (permalink / raw)
  To: Xueming Li; +Cc: dev, Ray Kinsella

On 8/2/21 4:10 PM, Xueming Li wrote:
> This patch announces the parameter change of eth_queue_release_t
> callback API to eth_dev_ops in DPDK v21.11.
> 
> [1] mail list discussion:
> https://mails.dpdk.org/archives/dev/2021-July/215654.html
> 
> Signed-off-by: Xueming Li <xuemingl@nvidia.com>
> ---
>   doc/guides/rel_notes/deprecation.rst | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
> index d9c0e65921..c38aebe99d 100644
> --- a/doc/guides/rel_notes/deprecation.rst
> +++ b/doc/guides/rel_notes/deprecation.rst
> @@ -131,6 +131,9 @@ Deprecation Notices
>     consistent with existing outer header checksum status flag naming, which
>     should help in reducing confusion about its usage.
>   
> +* ethdev: queue release callback parameter will be changed to device and queue
> +  ID to align with other queue configureation callback.
> +
>   * i40e: As there are both i40evf and iavf pmd, the functions of them are
>     duplicated. And now more and more advanced features are developed on iavf.
>     To keep consistent with kernel driver's name
> 

Isn't it an internal callback and no deprecation notice required to
change it?

"to align with" is a bit weak justification that so huge change is
required (really many sources must be fixed). I guess it could be
required for shared RxQ. If so, it should be mentioned.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dpdk-dev] [PATCH 2/2] doc: announce eth new offload flag and group field
  2021-08-04  8:08   ` Slava Ovsiienko
@ 2021-08-04 12:29     ` Andrew Rybchenko
  2021-08-07 13:32       ` Jerin Jacob
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Rybchenko @ 2021-08-04 12:29 UTC (permalink / raw)
  To: Slava Ovsiienko, Xueming(Steven) Li; +Cc: dev, Ray Kinsella

On 8/4/21 11:08 AM, Slava Ovsiienko wrote:
>> -----Original Message-----
>> From: dev <dev-bounces@dpdk.org> On Behalf Of Xueming Li
>> Sent: Monday, August 2, 2021 16:11
>> Cc: dev@dpdk.org; Xueming(Steven) Li <xuemingl@nvidia.com>; Ray Kinsella
>> <mdr@ashroe.eu>
>> Subject: [dpdk-dev] [PATCH 2/2] doc: announce eth new offload flag and
>> group field
>>
>> To support shared Rx queue, this patch announces new offload flag
>> RTE_ETH_RX_OFFLOAD_SHARED_RXQ and new shared_group field to struct
>> rte_eth_rxconf in DPDK v21.11.
>>
>> [1] mail list discussion:
>> https://mails.dpdk.org/archives/dev/2021-July/215575.html
>>
>> Signed-off-by: Xueming Li <xuemingl@nvidia.com>
> 
> We need this change to handle shared queues - the same queue
> object can be shared by multiple ports, and releasing routine should
> know exactly on which port_id/queue_id  object is being released.
> 
> Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
> 

Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dpdk-dev] [PATCH 1/2] doc: announce eth queue release callback parameter change
  2021-08-04 12:27 ` [dpdk-dev] [PATCH 1/2] doc: announce eth queue release callback parameter change Andrew Rybchenko
@ 2021-08-04 12:31   ` Xueming(Steven) Li
  0 siblings, 0 replies; 8+ messages in thread
From: Xueming(Steven) Li @ 2021-08-04 12:31 UTC (permalink / raw)
  To: Andrew Rybchenko; +Cc: dev, Ray Kinsella



> -----Original Message-----
> From: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
> Sent: Wednesday, August 4, 2021 8:28 PM
> To: Xueming(Steven) Li <xuemingl@nvidia.com>
> Cc: dev@dpdk.org; Ray Kinsella <mdr@ashroe.eu>
> Subject: Re: [dpdk-dev] [PATCH 1/2] doc: announce eth queue release callback parameter change
> 
> On 8/2/21 4:10 PM, Xueming Li wrote:
> > This patch announces the parameter change of eth_queue_release_t
> > callback API to eth_dev_ops in DPDK v21.11.
> >
> > [1] mail list discussion:
> > https://mails.dpdk.org/archives/dev/2021-July/215654.html
> >
> > Signed-off-by: Xueming Li <xuemingl@nvidia.com>
> > ---
> >   doc/guides/rel_notes/deprecation.rst | 3 +++
> >   1 file changed, 3 insertions(+)
> >
> > diff --git a/doc/guides/rel_notes/deprecation.rst
> > b/doc/guides/rel_notes/deprecation.rst
> > index d9c0e65921..c38aebe99d 100644
> > --- a/doc/guides/rel_notes/deprecation.rst
> > +++ b/doc/guides/rel_notes/deprecation.rst
> > @@ -131,6 +131,9 @@ Deprecation Notices
> >     consistent with existing outer header checksum status flag naming, which
> >     should help in reducing confusion about its usage.
> >
> > +* ethdev: queue release callback parameter will be changed to device
> > +and queue
> > +  ID to align with other queue configureation callback.
> > +
> >   * i40e: As there are both i40evf and iavf pmd, the functions of them are
> >     duplicated. And now more and more advanced features are developed on iavf.
> >     To keep consistent with kernel driver's name
> >
> 
> Isn't it an internal callback and no deprecation notice required to change it?

Agree, let's drop this deprecation notice. Thanks for pointing this out.

> 
> "to align with" is a bit weak justification that so huge change is required (really many sources must be fixed). I guess it could be
> required for shared RxQ. If so, it should be mentioned.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dpdk-dev] [PATCH 2/2] doc: announce eth new offload flag and group field
  2021-08-04 12:29     ` Andrew Rybchenko
@ 2021-08-07 13:32       ` Jerin Jacob
  2021-08-07 19:15         ` Thomas Monjalon
  0 siblings, 1 reply; 8+ messages in thread
From: Jerin Jacob @ 2021-08-07 13:32 UTC (permalink / raw)
  To: Andrew Rybchenko; +Cc: Slava Ovsiienko, Xueming(Steven) Li, dev, Ray Kinsella

On Wed, Aug 4, 2021 at 5:59 PM Andrew Rybchenko
<andrew.rybchenko@oktetlabs.ru> wrote:
>
> On 8/4/21 11:08 AM, Slava Ovsiienko wrote:
> >> -----Original Message-----
> >> From: dev <dev-bounces@dpdk.org> On Behalf Of Xueming Li
> >> Sent: Monday, August 2, 2021 16:11
> >> Cc: dev@dpdk.org; Xueming(Steven) Li <xuemingl@nvidia.com>; Ray Kinsella
> >> <mdr@ashroe.eu>
> >> Subject: [dpdk-dev] [PATCH 2/2] doc: announce eth new offload flag and
> >> group field
> >>
> >> To support shared Rx queue, this patch announces new offload flag
> >> RTE_ETH_RX_OFFLOAD_SHARED_RXQ and new shared_group field to struct
> >> rte_eth_rxconf in DPDK v21.11.
> >>
> >> [1] mail list discussion:
> >> https://mails.dpdk.org/archives/dev/2021-July/215575.html
> >>
> >> Signed-off-by: Xueming Li <xuemingl@nvidia.com>
> >
> > We need this change to handle shared queues - the same queue
> > object can be shared by multiple ports, and releasing routine should
> > know exactly on which port_id/queue_id  object is being released.
> >
> > Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
> >
>
> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>

Acked-by: Jerin Jacob <jerinj@marvell.com>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [dpdk-dev] [PATCH 2/2] doc: announce eth new offload flag and group field
  2021-08-07 13:32       ` Jerin Jacob
@ 2021-08-07 19:15         ` Thomas Monjalon
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Monjalon @ 2021-08-07 19:15 UTC (permalink / raw)
  To: Xueming(Steven) Li
  Cc: Andrew Rybchenko, dev, Slava Ovsiienko, Ray Kinsella,
	Jerin Jacob, ferruh.yigit

> > >> To support shared Rx queue, this patch announces new offload flag
> > >> RTE_ETH_RX_OFFLOAD_SHARED_RXQ and new shared_group field to struct
> > >> rte_eth_rxconf in DPDK v21.11.
> > >>
> > >> [1] mail list discussion:
> > >> https://mails.dpdk.org/archives/dev/2021-July/215575.html
> > >>
> > >> Signed-off-by: Xueming Li <xuemingl@nvidia.com>
> > >
> > > We need this change to handle shared queues - the same queue
> > > object can be shared by multiple ports, and releasing routine should
> > > know exactly on which port_id/queue_id  object is being released.
> > >
> > > Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
> > Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
> Acked-by: Jerin Jacob <jerinj@marvell.com>

Applied, thanks.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-08-07 19:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-02 13:10 [dpdk-dev] [PATCH 1/2] doc: announce eth queue release callback parameter change Xueming Li
2021-08-02 13:10 ` [dpdk-dev] [PATCH 2/2] doc: announce eth new offload flag and group field Xueming Li
2021-08-04  8:08   ` Slava Ovsiienko
2021-08-04 12:29     ` Andrew Rybchenko
2021-08-07 13:32       ` Jerin Jacob
2021-08-07 19:15         ` Thomas Monjalon
2021-08-04 12:27 ` [dpdk-dev] [PATCH 1/2] doc: announce eth queue release callback parameter change Andrew Rybchenko
2021-08-04 12:31   ` Xueming(Steven) Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).