RE: Need help with reducing VIRT memory

2024-05-03 Thread Morten Brørup
> From: Lombardo, Ed [mailto:ed.lomba...@netscout.com] > Sent: Friday, 3 May 2024 23.19 > > Hi Dmitry, > Thank you, I will give this a try. Many arrays in DPDK are statically allocated at the build-time max array size, so tweaking DPDK's build-time configuration parameters will reduce the memory

Re: [PATCH] eal/arm: replace RTE_BUILD_BUG on non-constant

2024-05-03 Thread Stephen Hemminger
On Thu, 2 May 2024 15:21:16 +0100 Daniel Gregory wrote: > The ARM implementation of rte_pause uses RTE_BUILD_BUG_ON to check > memorder, which is not constant. This causes compile errors when it is > enabled with RTE_ARM_USE_WFE. eg. > > ../lib/eal/arm/include/rte_pause_64.h: In function ‘rte_w

Re: [PATCH v2] eal/arm: replace RTE_BUILD_BUG on non-constant

2024-05-03 Thread Stephen Hemminger
On Fri, 3 May 2024 19:27:30 +0100 Daniel Gregory wrote: > The ARM implementation of rte_pause uses RTE_BUILD_BUG_ON to check > memorder, which is not constant. This causes compile errors when it is > enabled with RTE_ARM_USE_WFE. eg. > > ../lib/eal/arm/include/rte_pause_64.h: In function ‘rte_w

Re: [PATCH] eal/arm: replace RTE_BUILD_BUG on non-constant

2024-05-03 Thread Stephen Hemminger
On Fri, 3 May 2024 10:46:05 +0100 Daniel Gregory wrote: > On Thu, May 02, 2024 at 02:48:26PM -0700, Stephen Hemminger wrote: > > There are already constant checks like this elsewhere in the file. > > Yes, but they're in macros, rather than inlined functions, so my > understanding was that at c

Re: [RFC v6 5/6] eal: add atomic bit operations

2024-05-03 Thread Tyler Retzlaff
On Fri, May 03, 2024 at 08:41:09AM +0200, Mattias Rönnblom wrote: > On 2024-05-02 07:57, Mattias Rönnblom wrote: > >Add atomic bit test/set/clear/assign/flip and > >test-and-set/clear/assign/flip functions. > > > >All atomic bit functions allow (and indeed, require) the caller to > >specify a memor

Re: [RFC v3] net/af_packet: make stats reset reliable

2024-05-03 Thread Stephen Hemminger
On Fri, 3 May 2024 16:45:47 +0100 Ferruh Yigit wrote: > For stats reset, use an offset instead of zeroing out actual stats values, > get_stats() displays diff between stats and offset. > This way stats only updated in datapath and offset only updated in stats > reset function. This makes stats re

RE: Need help with reducing VIRT memory

2024-05-03 Thread Lombardo, Ed
Hi Dmitry, Thank you, I will give this a try. Another angle is how can I calculate or determine when DPDK is initialized how much total memory DPDK will use. Then I can provide this to our application core and then they can take the DPDK memory max requirement and subtract it from the total me

Re: Need help with reducing VIRT memory

2024-05-03 Thread Dmitry Kozlyuk
2024-05-03 23:54 (UTC+0300), Dmitry Kozlyuk: > #define RTE_MAX_MEM_MB_PER_LIST 2024 // see item 4 below Typo: 2048

Re: Need help with reducing VIRT memory

2024-05-03 Thread Dmitry Kozlyuk
2024-05-03 14:48 (UTC+), Lombardo, Ed: > Hi Dmitry, > I am not clear on the DPDK memory layout and how to tweak these #define > values. Given your statement: > Currently we configure 2x1G hugepages and single socket. I suggest the following: #define RTE_MAX_MEMSEG_LISTS 2 // see i

RE: Need help with reducing VIRT memory

2024-05-03 Thread Lombardo, Ed
Hi Bruce, For the heck of it I tried to build DPDK .a and .h files with rte_config.h changes of these parmeters. 1st build- change RTE_MAX_MEMSEG_PER_TYPE: /*-orig: #define RTE_MAX_MEMSEG_PER_TYPE 32768 */ #define RTE_MAX_MEMSEG_PER_TYPE 16384 reduced by 1/2 And executed ninja clean

RE: Need help with reducing VIRT memory

2024-05-03 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Friday, 3 May 2024 17.52 > > On Fri, May 03, 2024 at 04:27:39PM +0100, Bruce Richardson wrote: > > On Fri, May 03, 2024 at 02:48:12PM +, Lombardo, Ed wrote: > > > Hi Dmitry, > > > I am not clear on the DPDK memory layout and

[PATCH] eal/arm: use stdatomic api in rte_pause

2024-05-03 Thread Daniel Gregory
Missed during commit 1ec6a845b5cb ("eal: use stdatomic API in public headers") Signed-off-by: Daniel Gregory --- lib/eal/arm/include/rte_pause_64.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/eal/arm/include/rte_pause_64.h b/lib/eal/arm/include/rte_pause_64.h

Re: [PATCH v2] eal/arm: replace RTE_BUILD_BUG on non-constant

2024-05-03 Thread Daniel Gregory
Apologies, mis-sent this before attaching a changelog: v2: * replaced RTE_ASSERT with assert * added Fixes: tag

[PATCH v2] eal/arm: replace RTE_BUILD_BUG on non-constant

2024-05-03 Thread Daniel Gregory
The ARM implementation of rte_pause uses RTE_BUILD_BUG_ON to check memorder, which is not constant. This causes compile errors when it is enabled with RTE_ARM_USE_WFE. eg. ../lib/eal/arm/include/rte_pause_64.h: In function ‘rte_wait_until_equal_16’: ../lib/eal/include/rte_common.h:530:56: error: e

Re: [PATCH] freebsd: Add support for multiple dpdk instances on FreeBSD

2024-05-03 Thread Bruce Richardson
On Fri, May 03, 2024 at 05:48:05PM +0100, Bruce Richardson wrote: > On Fri, May 03, 2024 at 09:46:15AM +, Tom Jones wrote: > > Add support to the contigmem module on FreeBSD for multiple concurrent > > files, this enables running multiple dpdk instances with the nic_uio > > driver. > > > > Add

Re: [PATCH] freebsd: Add support for multiple dpdk instances on FreeBSD

2024-05-03 Thread Bruce Richardson
On Fri, May 03, 2024 at 09:46:15AM +, Tom Jones wrote: > Add support to the contigmem module on FreeBSD for multiple concurrent > files, this enables running multiple dpdk instances with the nic_uio > driver. > > Add relevant parts in dpdk to support this. > > Signed-off-by: Tom Jones > ---

Re: [PATCH] freebsd: Add support for multiple dpdk instances on FreeBSD

2024-05-03 Thread Bruce Richardson
On Fri, May 03, 2024 at 09:46:15AM +, Tom Jones wrote: > Add support to the contigmem module on FreeBSD for multiple concurrent > files, this enables running multiple dpdk instances with the nic_uio > driver. > > Add relevant parts in dpdk to support this. > > Signed-off-by: Tom Jones > ---

Re: Need help with reducing VIRT memory

2024-05-03 Thread Bruce Richardson
On Fri, May 03, 2024 at 04:27:39PM +0100, Bruce Richardson wrote: > On Fri, May 03, 2024 at 02:48:12PM +, Lombardo, Ed wrote: > > Hi Dmitry, > > I am not clear on the DPDK memory layout and how to tweak these #define > > values. > > > > #define RTE_MAX_MEMSEG_PER_LIST 8192 > > #define RTE_M

[RFC v3] net/af_packet: make stats reset reliable

2024-05-03 Thread Ferruh Yigit
For stats reset, use an offset instead of zeroing out actual stats values, get_stats() displays diff between stats and offset. This way stats only updated in datapath and offset only updated in stats reset function. This makes stats reset function more reliable. As stats only written by single thr

Re: Need help with reducing VIRT memory

2024-05-03 Thread Bruce Richardson
On Fri, May 03, 2024 at 02:48:12PM +, Lombardo, Ed wrote: > Hi Dmitry, > I am not clear on the DPDK memory layout and how to tweak these #define > values. > > #define RTE_MAX_MEMSEG_PER_LIST 8192 > #define RTE_MAX_MEM_MB_PER_LIST 32768 > #define RTE_MAX_MEMSEG_PER_TYPE 32768 > #define RTE_M

Re: Minutes of Technical Board meeting 17-April-2024

2024-05-03 Thread Ferruh Yigit
On 5/3/2024 2:54 PM, Aaron Conole wrote: > - Mykola has questions about submitting for a refactored PMD series >- Answered some live, referred to the guides in the documentation > as well. >- Plan to send a simpler version of the PMD > - Include any restrictions in docs >- Tr

RE: Need help with reducing VIRT memory

2024-05-03 Thread Lombardo, Ed
Hi Dmitry, I am not clear on the DPDK memory layout and how to tweak these #define values. #define RTE_MAX_MEMSEG_PER_LIST 8192 #define RTE_MAX_MEM_MB_PER_LIST 32768 #define RTE_MAX_MEMSEG_PER_TYPE 32768 #define RTE_MAX_MEM_MB_PER_TYPE 65536 I want to limit how much DPDK grabs for memory, but

Re: [PATCH] eal/arm: replace RTE_BUILD_BUG on non-constant

2024-05-03 Thread Daniel Gregory
On Fri, May 03, 2024 at 03:32:20PM +0200, David Marchand wrote: > - RTE_BUILD_BUG_ON() should not be used indeed. > IIRC, this issue was introduced with 875f350924b8 ("eal: add a new > helper for wait until scheme"). > Please add a corresponding Fixes: tag in next revision. Will do. Should I CC st

[PATCH v2 27/27] net/ixgbe/base: add various miscellaneous features

2024-05-03 Thread Anatoly Burakov
Add various features to the base driver that are not specifically about packet I/O but are present in the shared code snapshot. Also, update documentation to reflect new base code snapshot version, as well as document new hardware support. Signed-off-by: Anatoly Burakov --- doc/guides/rel_notes

[PATCH v2 26/27] net/ixgbe/base: enable E610 device support

2024-05-03 Thread Anatoly Burakov
From: Piotr Kwapulinski Add high level link management support for E610 device, as well as enable all code paths related to E610 initialization. This makes it so that E610 can be brought up using ixgbe driver. Signed-off-by: Carolyn Wyborny Signed-off-by: Jedrzej Jagielski Signed-off-by: Piotr

[PATCH v2 25/27] net/ixgbe/base: add support for NVM handling in E610 device

2024-05-03 Thread Anatoly Burakov
From: Piotr Kwapulinski Add low level support for accessing NVM in E610 device. NVM operations are handled via the Admin Command Interface. Signed-off-by: Stefan Wegrzyn Signed-off-by: Jedrzej Jagielski Signed-off-by: Piotr Kwapulinski Signed-off-by: Anatoly Burakov --- drivers/net/ixgbe/ba

[PATCH v2 24/27] net/ixgbe/base: add link management support for E610 device

2024-05-03 Thread Anatoly Burakov
From: Piotr Kwapulinski Add low level link management support for E610 device. Link management operations are handled via the Admin Command Interface. Signed-off-by: Stefan Wegrzyn Signed-off-by: Jedrzej Jagielski Signed-off-by: Piotr Kwapulinski Signed-off-by: Anatoly Burakov --- drivers/n

[PATCH v2 23/27] net/ixgbe/base: add support for E610 device capabilities detection

2024-05-03 Thread Anatoly Burakov
From: Piotr Kwapulinski Add low level support for E610 device capabilities detection. The capabilities are discovered via the Admin Command Interface. Signed-off-by: Stefan Wegrzyn Signed-off-by: Jedrzej Jagielski Signed-off-by: Piotr Kwapulinski Signed-off-by: Anatoly Burakov --- drivers/n

[PATCH v2 22/27] net/ixgbe/base: add support for E610 Admin Command Interface

2024-05-03 Thread Anatoly Burakov
From: Piotr Kwapulinski Add low level support for Admin Command Interface (ACI). ACI is the Firmware interface used by a driver to communicate with E610 adapter. Add the following ACI features: - data structures, macros, register definitions - commands handling - events handling Signed-off-by: S

[PATCH v2 21/27] net/ixgbe/base: remove prototypes of unimplemented functions

2024-05-03 Thread Anatoly Burakov
From: Chinh Cao There are some function prototypes that were introduced at some point but were never implemented, so remove them. Signed-off-by: Chinh Cao --- drivers/net/ixgbe/base/ixgbe_api.h | 1 - drivers/net/ixgbe/base/ixgbe_x550.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/dr

[PATCH v2 20/27] net/ixgbe/base: add IXGBE_ADVTXD_MACLEN_MASK macro

2024-05-03 Thread Anatoly Burakov
From: Milosz Szymonek Add mask for MACLEN indexes in advanced context descriptors (bits 9:15). IXGBE_ADVTXD_MACLEN_MASK will be used in Windows driver code. Signed-off-by: Milosz Szymonek --- drivers/net/ixgbe/base/ixgbe_type.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ix

[PATCH v2 19/27] net/ixgbe/base: prevent untrusted loop bound

2024-05-03 Thread Anatoly Burakov
From: Dawid Zielinski Added length check against EEPROM size in words to prevent untrusted loop bound reported by static code analysis. Signed-off-by: Dawid Zielinski --- drivers/net/ixgbe/base/ixgbe_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ixgbe

[PATCH v2 18/27] net/ixgbe/base: improve SWFW semaphore acquisition

2024-05-03 Thread Anatoly Burakov
From: Barbara Skobiej HWSW semaphore acquisition in Atom C3000 NIC is a two stage process. Each time two semaphore acquisitions are required. Each second semaphore failure require re-acquisition of first semaphore. This patch decouples the two acquisitions preventing potentially hundreds of thous

[PATCH v2 17/27] net/ixgbe/base: add missing QV defines

2024-05-03 Thread Anatoly Burakov
From: Barbara Skobiej This patch adds missing QV defines: - offset of ANVM data - Immediate Field module pointer offset - 2.5GBASE-T and 5GBASE-T physical layer types for X550 Signed-off-by: Barbara Skobiej Signed-off-by: Jan Sokolowski --- drivers/net/ixgbe/base/ixgbe_type.h | 5 + 1 fil

[PATCH v2 16/27] net/ixgbe/base: remove circular header dependency

2024-05-03 Thread Anatoly Burakov
From: Barbara Skobiej Including one header file in second header file should be avoided, so fix it by forward declaring the struct instead. Signed-off-by: Barbara Skobiej --- drivers/net/ixgbe/base/ixgbe_mbx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ixgb

[PATCH v2 15/27] net/ixgbe/base: filter out spurious link up indication

2024-05-03 Thread Anatoly Burakov
From: Krzysztof Galazka Extend SFP+ cage crosstalk fix by re-checking link state after 5ms delay to filter out spurious link up indication by transceiver with no fibre cable connected. Signed-off-by: Krzysztof Galazka Reviewed-by: Jan Sokolowski --- drivers/net/ixgbe/base/ixgbe_common.c | 19

[PATCH v2 13/27] net/ixgbe/base: handle -Wimplicit-fallthrough

2024-05-03 Thread Anatoly Burakov
From: Piotr Skajewski As there have been a long list of flaws due to missing "break" statement kernel no longer allow implict fall-through and reports warning during compilation. Convert all "fall-through" comments to actual code. Signed-off-by: Piotr Skajewski Reviewed-by: Michael, Alice ---

[PATCH v2 14/27] net/ixgbe/base: remove non-inclusive language

2024-05-03 Thread Anatoly Burakov
From: Marcin Jurczak This patch removes non-inclusive language from code, user interface and comments. Signed-off-by: Marcin Jurczak Reviewed-by: Michael, Alice --- drivers/net/ixgbe/base/ixgbe_common.c | 34 +-- drivers/net/ixgbe/base/ixgbe_common.h | 2 +- drivers/n

[PATCH v2 12/27] net/ixgbe/base: added link state handling

2024-05-03 Thread Anatoly Burakov
From: Slawomir Mrozowicz Adding a functionality that retrieves information from PF regarding the link state of a given VF. It is part of the general functionality that allows the PF driver to control the state of the virtual link VF devices. Signed-off-by: Slawomir Mrozowicz Reviewed-by: Tyl, R

[PATCH v2 11/27] net/ixgbe/base: replace HIC with direct register access

2024-05-03 Thread Anatoly Burakov
From: Mical MarekX Unifying FW access method to direct register read/writes across all Atom(R) C3000 products. Atom(R) C3000 fiber exhibited an issue with the Host Interface Command execution being locked when another LAN function attempted to acquire the SWFW sync on Manageability Host. This res

[PATCH v2 10/27] net/ixgbe/base: add fw_rst_cnt field to ixgbe_hw struct

2024-05-03 Thread Anatoly Burakov
From: Radoslaw Tyl Add fw_rst_cnt to store the number of resets after fw update. This value is required to detect if the EICR.MNG event occurred after firmware update reset. Signed-off-by: Radoslaw Tyl Reviewed-by: Skajewski, PiotrX Reviewed-by: Mrozowicz, SlawomirX Reviewed-by: Michael, Alic

[PATCH v2 09/27] net/ixgbe/base: improve function comments

2024-05-03 Thread Anatoly Burakov
From: Radoslaw Tyl Some function comments have mismatches between actual function names and function name in comments, which causes warnings with kernel-doc. Fix comments to match function names. Signed-off-by: Radoslaw Tyl Reviewed-by: Skajewski, PiotrX Reviewed-by: Mrozowicz, SlawomirX Revi

[PATCH v2 08/27] net/ixgbe/base: fix crash while loading driver

2024-05-03 Thread Anatoly Burakov
From: Slawomir Mrozowicz Issue observed: system crash While loading the driver when debug macros were defined. The solution removes the debug macro call from ixgbe_set_mac_type() function which causes the crash. So far, the ixgbe_set_mac_type() function has called in the ixgbe driver ixgbe_prob

[PATCH v2 07/27] net/ixgbe/base: increase DCB BW calculation for MTU from 4088 to 9128

2024-05-03 Thread Anatoly Burakov
From: Radoslaw Tyl Change max credit and credit refill to a maximum possible value. Too small values cause the incorrect calculation of the bandwidth limits to each traffic class for frames larger than 4088 bytes. Signed-off-by: Radoslaw Tyl Reviewed-by: Skajewski, PiotrX Tested-by: Skajewski,

[PATCH v2 06/27] net/ixgbe/base: introduce new mailbox API

2024-05-03 Thread Anatoly Burakov
From: Jakub Chylkowski Current mailbox API does not work as described in documentation and is prone to errors (for example, it is doing locks on read). Introduce new mailbox API and provide compatibility functions with old API. New error codes have been introduced: - IXGBE_ERR_CONFIG - ixgbe_mbx

[PATCH v2 05/27] net/ixgbe/base: correct registers names to match datasheet

2024-05-03 Thread Anatoly Burakov
From: Jakub Chylkowski Some of mailbox-related registers have different names than it is specified in datasheet. Correct these names to correspond to their datasheet counterparts. Additionally, several calculations are changed to no longer use magic numbers but dedicated macros instead. Signed-o

[PATCH v2 04/27] net/ixgbe/base: rename message type macros

2024-05-03 Thread Anatoly Burakov
From: Jakub Chylkowski There is name similarity within IXGBE_VT_MSGTYPE_ACK and PFMAILBOX.ACK / VFMAILBOX.ACK which may cause confusion. Rename MSGTYPE macros to SUCCESS and FAILURE as they are not specified in datasheet and now will be easily distinguishable. Signed-off-by: Jakub Chylkowski Re

[PATCH v2 03/27] net/ixgbe/base: fix PHY ID for X550

2024-05-03 Thread Anatoly Burakov
From: Radoslaw Tyl Function ixgbe_get_phy_type_from_id() for X550_PHY_ID2 and X550_PHY_ID3 always return ixgbe_phy_unknown instead of ixgbe_phy_aq because phy ID's last 4 bits are always masked, and should not be taken into account when selecting phy type. This patch adds default PHY ID for X550

[PATCH v2 02/27] net/ixgbe/base: fix wrong 5G link speed reported on VF

2024-05-03 Thread Anatoly Burakov
From: Piotr Skajewski When 5000 Base-T was set on PF the VF reported 100 Base-T. This patch change ixgbe_check_mac_link_vf function where was incorrect conditional which points to PF mac types, now it is pointing correctly to VF mac types. Fixes: 12e20906905c ("net/ixgbe/base: include new speeds

[PATCH v2 01/27] net/ixgbe/base: revert remove default advertising for x550 2.5G/5G

2024-05-03 Thread Anatoly Burakov
From: Piotr Pietruszewski This reverts the following commit: 13de249e ("net/ixgbe/base: remove default advertising for x550 2.5G/5G") The commit removing advertising 2.5G and 5G speeds from ixgbe_get_copper_speeds_supported() was supposed to disable 2.5G and 5G during the autonegotiatio

[PATCH v2 00/27] Update IXGBE base driver

2024-05-03 Thread Anatoly Burakov
This patchset updates IXGBE base driver to latest shared code snapshot, fixing a few issues as well as adding support for new hardware. v2: - Split giant E610 patch into set of smaller patches - Added release notes Anatoly Burakov (1): net/ixgbe/base: add various miscellaneous features Barbara

Minutes of Technical Board meeting 17-April-2024

2024-05-03 Thread Aaron Conole
Next Meeting will be May 15th, with Bruce as chair. Attendees - - Aaron (chair) - Morten Brorup - David Marchand - Konstantin Ananyev - Tyler Retzlaff - Mykola Kostenok - Paul Szczepanik - Kevin Traynor - Jerin Jacob Kollanukkaran - Nathan Southern - Patrick Robb - Stephen Hemminger - Bruc

Re: [PATCH] eal/arm: replace RTE_BUILD_BUG on non-constant

2024-05-03 Thread David Marchand
On Thu, May 2, 2024 at 4:22 PM Daniel Gregory wrote: > > The ARM implementation of rte_pause uses RTE_BUILD_BUG_ON to check > memorder, which is not constant. This causes compile errors when it is > enabled with RTE_ARM_USE_WFE. eg. > > ../lib/eal/arm/include/rte_pause_64.h: In function ‘rte_wait_

Re: [PATCH] freebsd: Add support for multiple dpdk instances on FreeBSD

2024-05-03 Thread Bruce Richardson
On Fri, May 03, 2024 at 02:12:58PM +0100, Tom Jones wrote: > Hi Bruce, > > thanks for letting me know > > I'm not tied to anything particularly. This change isn't compatible with the > previous API, but I'm not against making it so if that is really the best > thing to do. As is, the dpdk chang

Re: [PATCH] freebsd: Add support for multiple dpdk instances on FreeBSD

2024-05-03 Thread Tom Jones
Hi Bruce, thanks for letting me know I'm not tied to anything particularly. This change isn't compatible with the previous API, but I'm not against making it so if that is really the best thing to do. As is, the dpdk changes and the contigmem changes need to come together because the API chang

Re: [PATCH v3 0/7] Fix outer UDP checksum for Intel nics

2024-05-03 Thread David Marchand
On Thu, Apr 18, 2024 at 10:20 AM David Marchand wrote: > > This series aims at fixing outer UDP checksum for Intel nics (i40e and > ice). > The net/hns3 is really similar in its internals and has been aligned. > > As I touched testpmd csumonly engine, this series may break other > vendors outer of

Re: [PATCH] freebsd: Add support for multiple dpdk instances on FreeBSD

2024-05-03 Thread Bruce Richardson
On Fri, May 03, 2024 at 09:46:15AM +, Tom Jones wrote: > Add support to the contigmem module on FreeBSD for multiple concurrent > files, this enables running multiple dpdk instances with the nic_uio > driver. > > Add relevant parts in dpdk to support this. > > Signed-off-by: Tom Jones --- T

[PATCH] freebsd: Add support for multiple dpdk instances on FreeBSD

2024-05-03 Thread Tom Jones
Add support to the contigmem module on FreeBSD for multiple concurrent files, this enables running multiple dpdk instances with the nic_uio driver. Add relevant parts in dpdk to support this. Signed-off-by: Tom Jones --- config/rte_config.h | 2 + kernel/freebsd/contigmem/con

Re: [PATCH] doc: fix testpmd ring size command

2024-05-03 Thread Ferruh Yigit
On 5/3/2024 9:51 AM, Kevin Traynor wrote: > The documentation is missing the 'config' word. > > In app, 'help ports' shows the correct syntax: > > port config (port_id) (rxq|txq) (queue_id) ring_size (value) > > Fixes: 1a77cffa8143 ("app/testpmd: enable queue ring size configure") > Cc: sta...@d

Re: [PATCH] eal/arm: replace RTE_BUILD_BUG on non-constant

2024-05-03 Thread Daniel Gregory
On Thu, May 02, 2024 at 02:48:26PM -0700, Stephen Hemminger wrote: > There are already constant checks like this elsewhere in the file. Yes, but they're in macros, rather than inlined functions, so my understanding was that at compile time, macro expansion has put the memorder constant in the _Sta

[PATCH] doc: fix testpmd ring size command

2024-05-03 Thread Kevin Traynor
The documentation is missing the 'config' word. In app, 'help ports' shows the correct syntax: port config (port_id) (rxq|txq) (queue_id) ring_size (value) Fixes: 1a77cffa8143 ("app/testpmd: enable queue ring size configure") Cc: sta...@dpdk.org Signed-off-by: Kevin Traynor --- doc/guides/tes