DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1185] enic: no longer accepting 2048 descriptor size in 20.11.6
@ 2023-03-15 17:33 bugzilla
  2023-03-15 17:46 ` Fwd: " Kevin Traynor
  0 siblings, 1 reply; 3+ messages in thread
From: bugzilla @ 2023-03-15 17:33 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 1869 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1185

            Bug ID: 1185
           Summary: enic: no longer accepting 2048 descriptor size in
                    20.11.6
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: ktraynor@redhat.com
  Target Milestone: ---

Hi enic maintainers,

With openvswitch 2.15 using dpdk 20.11.6, enic driver is reporting that it
cannot accept setup with default OVS number of tx descriptors (2048).

2022-08-19T16:29:38.555Z|00204|dpdk|ERR|Invalid value for nb_tx_desc(=2048),
should be: <= 256, >= 64, and a product of 32

OVS has used 2048 as default for many years and the code in 20.11.6 does not
look like it changed much from previous releases either.

The commit below [0] on dpdk main branch (but not on 20.11 branch), changes how
max descriptor values are calculated.

So any idea why the 2048 can no longer be used with 20.11.6 ? some commit I
missed? different firmware?

or is it an incorrect calculation and the commit [0] is needed on stable
branches to correct this?

Thanks.

Reference: https://bugzilla.redhat.com/show_bug.cgi?id=2119876

[0]
commit 22572e84fbda2c195707ffbb0dd6af4433d7a219
Author: John Daley <johndale@cisco.com>
Date:   Fri Jan 28 09:58:13 2022 -0800

    net/enic: support max descriptors allowed by adapter

    Newer VIC adapters have the max number of supported RX and TX
    descriptors in their configuration. Use these values as the
    maximums.

    Signed-off-by: John Daley <johndale@cisco.com>
    Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 3966 bytes --]

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

* Fwd: [Bug 1185] enic: no longer accepting 2048 descriptor size in 20.11.6
  2023-03-15 17:33 [Bug 1185] enic: no longer accepting 2048 descriptor size in 20.11.6 bugzilla
@ 2023-03-15 17:46 ` Kevin Traynor
  2023-03-15 17:53   ` John Daley (johndale)
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Traynor @ 2023-03-15 17:46 UTC (permalink / raw)
  To: John Daley, Hyong Youb Kim; +Cc: Luca Boccassi, David Marchand, dev

Hi John/Hyong Youb,

Not sure if you are monitoring dpdk bugzilla, but wanted to draw your 
attention to https://bugs.dpdk.org/show_bug.cgi?id=1185

Maybe you have some clues about it and if we need to backport the 
mentioned commit?

thanks,
Kevin.

-------- Forwarded Message --------
Subject: [Bug 1185] enic: no longer accepting 2048 descriptor size in 
20.11.6
Date: Wed, 15 Mar 2023 17:33:52 +0000
From: bugzilla@dpdk.org
To: dev@dpdk.org

https://bugs.dpdk.org/show_bug.cgi?id=1185

             Bug ID: 1185
            Summary: enic: no longer accepting 2048 descriptor size in
                     20.11.6
            Product: DPDK
            Version: 20.11
           Hardware: All
                 OS: All
             Status: UNCONFIRMED
           Severity: normal
           Priority: Normal
          Component: core
           Assignee: dev@dpdk.org
           Reporter: ktraynor@redhat.com
   Target Milestone: ---

Hi enic maintainers,

With openvswitch 2.15 using dpdk 20.11.6, enic driver is reporting that it
cannot accept setup with default OVS number of tx descriptors (2048).

2022-08-19T16:29:38.555Z|00204|dpdk|ERR|Invalid value for nb_tx_desc(=2048),
should be: <= 256, >= 64, and a product of 32

OVS has used 2048 as default for many years and the code in 20.11.6 does not
look like it changed much from previous releases either.

The commit below [0] on dpdk main branch (but not on 20.11 branch), 
changes how
max descriptor values are calculated.

So any idea why the 2048 can no longer be used with 20.11.6 ? some commit I
missed? different firmware?

or is it an incorrect calculation and the commit [0] is needed on stable
branches to correct this?

Thanks.

Reference: https://bugzilla.redhat.com/show_bug.cgi?id=2119876

[0]
commit 22572e84fbda2c195707ffbb0dd6af4433d7a219
Author: John Daley <johndale@cisco.com>
Date:   Fri Jan 28 09:58:13 2022 -0800

     net/enic: support max descriptors allowed by adapter

     Newer VIC adapters have the max number of supported RX and TX
     descriptors in their configuration. Use these values as the
     maximums.

     Signed-off-by: John Daley <johndale@cisco.com>
     Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.


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

* Re: [Bug 1185] enic: no longer accepting 2048 descriptor size in 20.11.6
  2023-03-15 17:46 ` Fwd: " Kevin Traynor
@ 2023-03-15 17:53   ` John Daley (johndale)
  0 siblings, 0 replies; 3+ messages in thread
From: John Daley (johndale) @ 2023-03-15 17:53 UTC (permalink / raw)
  To: Kevin Traynor, Hyong Youb Kim (hyonkim)
  Cc: Luca Boccassi, David Marchand, dev

[-- Attachment #1: Type: text/plain, Size: 2790 bytes --]

Thank you, I will take a look and get back to you.
-john

From: Kevin Traynor <ktraynor@redhat.com>
Date: Wednesday, March 15, 2023 at 10:47 AM
To: John Daley (johndale) <johndale@cisco.com>, Hyong Youb Kim (hyonkim) <hyonkim@cisco.com>
Cc: Luca Boccassi <bluca@debian.org>, David Marchand <david.marchand@redhat.com>, dev@dpdk.org <dev@dpdk.org>
Subject: Fwd: [Bug 1185] enic: no longer accepting 2048 descriptor size in 20.11.6
Hi John/Hyong Youb,

Not sure if you are monitoring dpdk bugzilla, but wanted to draw your
attention to https://bugs.dpdk.org/show_bug.cgi?id=1185

Maybe you have some clues about it and if we need to backport the
mentioned commit?

thanks,
Kevin.

-------- Forwarded Message --------
Subject: [Bug 1185] enic: no longer accepting 2048 descriptor size in
20.11.6
Date: Wed, 15 Mar 2023 17:33:52 +0000
From: bugzilla@dpdk.org
To: dev@dpdk.org

https://bugs.dpdk.org/show_bug.cgi?id=1185

             Bug ID: 1185
            Summary: enic: no longer accepting 2048 descriptor size in
                     20.11.6
            Product: DPDK
            Version: 20.11
           Hardware: All
                 OS: All
             Status: UNCONFIRMED
           Severity: normal
           Priority: Normal
          Component: core
           Assignee: dev@dpdk.org
           Reporter: ktraynor@redhat.com
   Target Milestone: ---

Hi enic maintainers,

With openvswitch 2.15 using dpdk 20.11.6, enic driver is reporting that it
cannot accept setup with default OVS number of tx descriptors (2048).

2022-08-19T16:29:38.555Z|00204|dpdk|ERR|Invalid value for nb_tx_desc(=2048),
should be: <= 256, >= 64, and a product of 32

OVS has used 2048 as default for many years and the code in 20.11.6 does not
look like it changed much from previous releases either.

The commit below [0] on dpdk main branch (but not on 20.11 branch),
changes how
max descriptor values are calculated.

So any idea why the 2048 can no longer be used with 20.11.6 ? some commit I
missed? different firmware?

or is it an incorrect calculation and the commit [0] is needed on stable
branches to correct this?

Thanks.

Reference: https://bugzilla.redhat.com/show_bug.cgi?id=2119876

[0]
commit 22572e84fbda2c195707ffbb0dd6af4433d7a219
Author: John Daley <johndale@cisco.com>
Date:   Fri Jan 28 09:58:13 2022 -0800

     net/enic: support max descriptors allowed by adapter

     Newer VIC adapters have the max number of supported RX and TX
     descriptors in their configuration. Use these values as the
     maximums.

     Signed-off-by: John Daley <johndale@cisco.com>
     Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>

--
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 6210 bytes --]

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

end of thread, other threads:[~2023-03-15 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-15 17:33 [Bug 1185] enic: no longer accepting 2048 descriptor size in 20.11.6 bugzilla
2023-03-15 17:46 ` Fwd: " Kevin Traynor
2023-03-15 17:53   ` John Daley (johndale)

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).