[PATCH] service: extend service function call statistics

2024-08-09 Thread Mattias Rönnblom
Add two new per-service counters. RTE_SERVICE_ATTR_IDLE_CALL_COUNT tracks the number of service function invocations where no work was performed. RTE_SERVICE_ATTR_ERROR_CALL_COUNT tracks the number invocations resulting in an error. The semantics of RTE_SERVICE_ATTR_CALL_COUNT remains the same (

[PATCH 3/6] eal: add atomic bitset functions

2024-08-09 Thread Mattias Rönnblom
Extend the bitset API with atomic versions of the most basic bitset operations. Signed-off-by: Mattias Rönnblom --- lib/eal/include/rte_bitset.h | 155 +++ 1 file changed, 155 insertions(+) diff --git a/lib/eal/include/rte_bitset.h b/lib/eal/include/rte_bitset.h

[PATCH 2/6] eal: add bitset test suite

2024-08-09 Thread Mattias Rönnblom
Add test suite exercising . Signed-off-by: Mattias Rönnblom -- RFC v5: * Parameterize tests to allow reuse across both atomic and non-atomic functions. RFC v4: * Fix signed char issue in test cases. (Stephen Hemminger) * Add test cases for logic operations. * Use the unit test suite run

[PATCH 1/6] eal: add bitset type

2024-08-09 Thread Mattias Rönnblom
Introduce a set of functions and macros that operate on sets of bits, kept in arrays of 64-bit words. RTE bitset is designed for bitsets which are larger than what fits in a single machine word (i.e., 64 bits). For very large bitsets, the API may be a more appropriate choice. Depends-on: series-

[PATCH 4/6] eal: add unit tests for atomic bitset operations

2024-08-09 Thread Mattias Rönnblom
Extend bitset tests to cover the basic operation of the rte_bitset_atomic_*() family of functions. Signed-off-by: Mattias Rönnblom --- app/test/test_bitset.c | 48 ++ 1 file changed, 48 insertions(+) diff --git a/app/test/test_bitset.c b/app/test/test_bit

[PATCH 5/6] service: use multi-word bitset to represent service flags

2024-08-09 Thread Mattias Rönnblom
Use a multi-word bitset to track which services are mapped to which lcores, allowing the RTE_SERVICE_NUM_MAX compile-time constant to be > 64. Replace array-of-bytes service-currently-active flags with a more compact multi-word bitset-based representation, reducing memory footprint somewhat. Sign

[PATCH 6/6] event/dsw: add support for larger port count

2024-08-09 Thread Mattias Rönnblom
Switch from using an open-coded, single-word bitset to using to represent which event ports are linked to a particular event queue. Besides the cleaner code, this also allow the user to extend the maximum port count beyond 64, by means of changing an "event_dev.h" Signed-off-by: Mattias Rönnblom

Re: [PATCH v16 5/5] dts: add API doc generation

2024-08-09 Thread Jeremy Spewock
Looks good to me, I just had a few comments about copyright lines but the actual functionality seems like it's there to me: Reviewed-by: Jeremy Spewock On Thu, Aug 8, 2024 at 4:55 AM Juraj Linkeš wrote: > > The tool used to generate DTS API docs is Sphinx, which is already in > use in DPDK. The

Re: [PATCH v16 3/5] dts: add doc generation dependencies

2024-08-09 Thread Jeremy Spewock
On Thu, Aug 8, 2024 at 4:54 AM Juraj Linkeš wrote: > > Sphinx imports every Python module (through the autodoc extension) > when generating documentation from docstrings, meaning all DTS > dependencies, including Python version, should be satisfied. This is not > a hard requirement, as imports fro

Re: [PATCH v16 2/5] dts: replace the or operator in third party types

2024-08-09 Thread Jeremy Spewock
This is a funny change I wouldn't have expected the series to need. I don't doubt that it does need it of course and I don't think there is any harm in the change, but, out of curiosity, is this because the or operator is coming from one of the dependencies we are installing? I thought it was just

[PATCH v3] net/gve: add support for TSO in DQO RDA

2024-08-09 Thread Tathagat Priyadarshi
The patch intends on adding support for TSO in DQO RDA format. Signed-off-by: Tathagat Priyadarshi Signed-off-by: Varun Lakkur Ambaji Rao --- drivers/net/gve/gve_tx_dqo.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/drivers/net/gve/gve_tx_dqo.c

Re: [PATCH v16 1/5] dts: update params and parser docstrings

2024-08-09 Thread Jeremy Spewock
On Thu, Aug 8, 2024 at 4:54 AM Juraj Linkeš wrote: > > Address a few errors reported by Sphinx when generating documentation: > framework/params/__init__.py:docstring of framework.params.modify_str:3: > WARNING: Inline interpreted text or phrase reference start-string > without end-string.

Re: [PATCH v13 2/2] dts: VLAN test suite implementation

2024-08-09 Thread Jeremy Spewock
On Wed, Aug 7, 2024 at 3:43 PM Dean Marx wrote: > > Test suite for verifying VLAN filtering, stripping, and insertion > functionality on Poll Mode Driver. > > Signed-off-by: Dean Marx > --- > +++ b/dts/tests/TestSuite_vlan.py > @@ -0,0 +1,168 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Co

Re: [PATCH v13 1/2] dts: add VLAN methods to testpmd shell

2024-08-09 Thread Jeremy Spewock
On Wed, Aug 7, 2024 at 3:43 PM Dean Marx wrote: > > added the following methods to testpmd shell class: > vlan set filter on/off, rx vlan add/rm, > vlan set strip on/off, port stop/start all/port, > tx vlan set/reset, set promisc/verbose > > fixed bug in vlan_offload for > show port info, removed

Re: [PATCH 2/5] eal: add unit tests for bit operations

2024-08-09 Thread Mattias Rönnblom
On 2024-08-09 18:31, Stephen Hemminger wrote: On Fri, 9 Aug 2024 17:37:08 +0200 Mattias Rönnblom wrote: On 2024-08-09 17:03, Stephen Hemminger wrote: On Fri, 9 Aug 2024 11:04:36 +0200 Mattias Rönnblom wrote: -uint32_t val32; -uint64_t val64; +#define GEN_TEST_BIT_ACCESS(test_name, set_f

Re: [PATCH 2/5] eal: add unit tests for bit operations

2024-08-09 Thread Stephen Hemminger
On Fri, 9 Aug 2024 17:37:08 +0200 Mattias Rönnblom wrote: > On 2024-08-09 17:03, Stephen Hemminger wrote: > > On Fri, 9 Aug 2024 11:04:36 +0200 > > Mattias Rönnblom wrote: > > > >> -uint32_t val32; > >> -uint64_t val64; > >> +#define GEN_TEST_BIT_ACCESS(test_name, set_fun, clear_fun, assign_f

Re: [PATCH v9 2/2] dts: initial queue start/stop suite implementation

2024-08-09 Thread Jeremy Spewock
On Wed, Aug 7, 2024 at 3:36 PM Dean Marx wrote: > > This suite tests the ability of the Poll Mode Driver to enable > and disable Rx/Tx queues on a port. > > Signed-off-by: Dean Marx > --- Reviewed-by: Jeremy Spewock

Re: [PATCH v9 1/2] dts: add functions to testpmd shell

2024-08-09 Thread Jeremy Spewock
On Wed, Aug 7, 2024 at 3:36 PM Dean Marx wrote: > > added set promisc, set verbose, and port stop > commands to testpmd shell. > > Signed-off-by: Dean Marx > --- Reviewed-by: Jeremy Spewock

Re: [RFC v1 1/1] dts: split enums from primary json schema

2024-08-09 Thread Jeremy Spewock
Hey Nick, Thanks for the patch. The way you did things all makes sense to me and I like the idea of pulling out the definitions to make things more compact in the main schema, the one thought I did have though was that it isn't immediately obvious in the main schema where these values are coming f

Re: [PATCH 2/5] eal: add unit tests for bit operations

2024-08-09 Thread Mattias Rönnblom
On 2024-08-09 17:03, Stephen Hemminger wrote: On Fri, 9 Aug 2024 11:04:36 +0200 Mattias Rönnblom wrote: -uint32_t val32; -uint64_t val64; +#define GEN_TEST_BIT_ACCESS(test_name, set_fun, clear_fun, assign_fun, \ + flip_fun, test_fun, size) \ +

Re: [PATCH] dts: add l2fwd test suite

2024-08-09 Thread Jeremy Spewock
Hey Luca, Thanks for the patch! Just a few pretty minor comments below. On Tue, Aug 6, 2024 at 8:53 AM Luca Vizzarro wrote: > > Add a basic L2 forwarding test suite which tests the correct > functionality of the forwarding facility built-in in the DPDK. > > The tests are performed with different

[PATCH v2 3/3] test/alarm: rewrite the alarm test

2024-08-09 Thread Stephen Hemminger
The alarm test had several issues: - only negative tests were done, no positive test to make sure API worked - the set/cancel test had too short an interval and the alarm might expire - the test should have used the standard TEST macros. Signed-off-by: Stephen Hemminger --- ap

[PATCH v2 2/3] test: support alarm test on FreeBSD

2024-08-09 Thread Stephen Hemminger
Yes the alarm API is supported on FreeBSD. Signed-off-by: Stephen Hemminger --- app/test/test_alarm.c | 5 - 1 file changed, 5 deletions(-) diff --git a/app/test/test_alarm.c b/app/test/test_alarm.c index b4034339b8..0cdfad1374 100644 --- a/app/test/test_alarm.c +++ b/app/test/test_alarm.c

[PATCH v2 1/3] eal: add missing parameter check to rte_eal_alarm_set on Windows

2024-08-09 Thread Stephen Hemminger
Both Linux and FreeBSD, check parameters to rte_eal_alarm_set, but Windows missed this. And the test was "fixed" instead. This reverts commit a089d320338d708f5b7126dab5fd6861c82e6347. Windows EAL should have been fixed rather than papering over the bug. Signed-off-by: Stephen Hemminger --- app

[PATCH v2 0/3] alarm test fixes

2024-08-09 Thread Stephen Hemminger
This is the set of things which stood out as needing fixing when looking at the rte_eal_alarm tests. v2 - drop cleanup of eal alarm code for later - add RTE_ATOMIC() to fix clang build Stephen Hemminger (3): eal: add missing parameter check to rte_eal_alarm_set on Windows test: support ala

Re: [PATCH v2 5/5] dts: add testpmd set ports queues

2024-08-09 Thread Jeremy Spewock
On Tue, Aug 6, 2024 at 8:49 AM Luca Vizzarro wrote: > > Add a facility to update the number of TX/RX queues during the runtime > of testpmd. > > Signed-off-by: Luca Vizzarro > Reviewed-by: Paul Szczepanek > --- > dts/framework/remote_session/testpmd_shell.py | 16 > 1 file chan

Re: [PATCH v2 4/5] dts: add ability to start/stop testpmd ports

2024-08-09 Thread Jeremy Spewock
I tried to address this very same problem in the scatter expansion patch series but, admittedly, I like your approach better. There is one thing that Juraj and I discussed on that thread however that is probably worth noting here regarding verification of the stopping and starting ports. The main i

Re: [PATCH v2 3/5] dts: add random packet generator

2024-08-09 Thread Jeremy Spewock
On Tue, Aug 6, 2024 at 8:49 AM Luca Vizzarro wrote: > > Add a basic utility that can create random L3 and L4 packets with random > payloads and port numbers (if L4). > > Signed-off-by: Luca Vizzarro > Reviewed-by: Paul Szczepanek > Reviewed-by: Alex Chapman > --- Reviewed-by: Jeremy Spewock

Re: [PATCH v2 2/5] dts: add random generation seed setting

2024-08-09 Thread Jeremy Spewock
Makes a lot of sense to me. On Tue, Aug 6, 2024 at 8:49 AM Luca Vizzarro wrote: > > When introducing pseudo-random generation in the test runs we need to > ensure that these can be reproduced by setting a pre-defined seed. > This commits adds the ability to set one or allow for one to be > genera

Re: [PATCH v2 1/5] dts: add ability to send/receive multiple packets

2024-08-09 Thread Jeremy Spewock
Hey Luca, Thanks for the patch! I think this change makes a lot of sense in general, and I like the idea of removing the duplication between capturing traffic generators and the test suite. I just had one thought that I left below, but otherwise: Reviewed-by: Jeremy Spewock On Tue, Aug 6, 2024

Re: [PATCH 2/5] eal: add unit tests for bit operations

2024-08-09 Thread Stephen Hemminger
On Fri, 9 Aug 2024 11:04:36 +0200 Mattias Rönnblom wrote: > -uint32_t val32; > -uint64_t val64; > +#define GEN_TEST_BIT_ACCESS(test_name, set_fun, clear_fun, assign_fun, > \ > + flip_fun, test_fun, size) \ > + static int

Re: [PATCH 5/5] eal: simplify eal alarm cancel by using LIST_FOREACH_SAFE

2024-08-09 Thread Stephen Hemminger
On Fri, 9 Aug 2024 10:33:49 +0200 Morten Brørup wrote: > > +++ b/lib/eal/linux/eal_alarm.c > > @@ -53,6 +53,13 @@ static struct rte_intr_handle *intr_handle; > > static int handler_registered = 0; > > static void eal_alarm_callback(void *arg); > > > > +#ifndef LIST_FOREACH_SAFE > > +#define LI

Re: [PATCH 2/5] Revert "test/alarm: disable bad time cases on Windows"

2024-08-09 Thread Stephen Hemminger
On Fri, 9 Aug 2024 10:23:24 +0300 Dmitry Kozlyuk wrote: > 2024-08-08 12:46 (UTC-0700), Stephen Hemminger: > > This reverts commit a089d320338d708f5b7126dab5fd6861c82e6347. > > > > Windows EAL should have been fixed rather than papering over > > the bug. > > Linux and FreeBSD alarm implementat

Re: [PATCH] log: allow log register API to update log level

2024-08-09 Thread Thomas Monjalon
09/08/2024 15:01, Bharath Paulraj: > This commit fixes the bug in the registration API where it fails to > set the log level if 'id' already exists. Why registering twice?

[PATCH] log: allow log register API to update log level

2024-08-09 Thread Bharath Paulraj
This commit fixes the bug in the registration API where it fails to set the log level if 'id' already exists. Signed-off-by: Bharath Paulraj --- .mailmap | 1 + lib/log/log.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.mailmap b/.mailmap index 4a508bafad..05eca1

RE: [PATCH v2 5/5] eal: extend bitops to handle volatile pointers

2024-08-09 Thread Morten Brørup
> +#define rte_bit_test(addr, nr) > \ > + _Generic((addr),\ > + uint32_t *: __rte_bit_test32, \ > + const uint32_t *: __rte_bit_test32,

[PATCH] net/bnxt: fix issue reading sff8436 sfp eeproms

2024-08-09 Thread Peter Morrow
From: Peter Morrow If a SFP which supports SFF-8436 is present then currently the DDM information present in the eeprom is not read. Furthermore bnxt_get_module_eeprom() will return -EINVAL for these eeproms since the length of these eeproms is 512 bytes but we are only ever selecting 2 pages (25

Re: 22.11.6 patches review and test

2024-08-09 Thread Luca Boccassi
On Fri, 9 Aug 2024 at 11:20, Xu, HailinX wrote: > > Update the test status for Intel part. dpdk22.11.6-rc1 all validation test > done. no new issue is found. > > # Basic Intel(R) NIC testing > * Build & CFLAG compile: cover the build test combination with latest > GCC/Clang version and the popul

RE: 22.11.6 patches review and test

2024-08-09 Thread Xu, HailinX
Update the test status for Intel part. dpdk22.11.6-rc1 all validation test done. no new issue is found. # Basic Intel(R) NIC testing * Build & CFLAG compile: cover the build test combination with latest GCC/Clang version and the popular OS revision such as Ubuntu24.04, Ubuntu22.04, Fedora40, R

[PATCH v2 5/5] eal: extend bitops to handle volatile pointers

2024-08-09 Thread Mattias Rönnblom
Have rte_bit_[test|set|clear|assign|flip]() and rte_bit_atomic_*() handle volatile-marked pointers. Signed-off-by: Mattias Rönnblom -- PATCH v2: * Actually run the est_bit_atomic_v_access*() test functions. --- app/test/test_bitops.c | 32 ++- lib/eal/include/rte_bitops.h | 427 +++

[PATCH v2 3/5] eal: add atomic bit operations

2024-08-09 Thread Mattias Rönnblom
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 memory order. Signed-off-by: Mattias Rönnblom Acked-by: Morten Brørup Acked-by: Tyler Retzlaff -- PATCH: * Add missing macro #

[PATCH v2 1/5] eal: extend bit manipulation functionality

2024-08-09 Thread Mattias Rönnblom
Add functionality to test and modify the value of individual bits in 32-bit or 64-bit words. These functions have no implications on memory ordering, atomicity and does not use volatile and thus does not prevent any compiler optimizations. Signed-off-by: Mattias Rönnblom Acked-by: Morten Brørup

[PATCH v2 4/5] eal: add unit tests for atomic bit access functions

2024-08-09 Thread Mattias Rönnblom
Extend bitops tests to cover the rte_bit_atomic_*() family of functions. Signed-off-by: Mattias Rönnblom Acked-by: Morten Brørup Acked-by: Tyler Retzlaff -- RFC v4: * Add atomicity test for atomic bit flip. RFC v3: * Rename variable 'main' to make ICC happy. --- app/test/test_bitops.c | 3

[PATCH v2 2/5] eal: add unit tests for bit operations

2024-08-09 Thread Mattias Rönnblom
Extend bitops tests to cover the rte_bit_[test|set|clear|assign|flip]() functions. The tests are converted to use the test suite runner framework. Signed-off-by: Mattias Rönnblom Acked-by: Morten Brørup Acked-by: Tyler Retzlaff -- RFC v6: * Test rte_bit_*test() usage through const pointers.

[PATCH v2 0/5] Improve EAL bit operations API

2024-08-09 Thread Mattias Rönnblom
This patch set represent an attempt to improve and extend the RTE bitops API, in particular for functions that operate on individual bits. All new functionality is exposed to the user as generic selection macros, delegating the actual work to private (__-marked) static inline functions. Public fun

[PATCH v9 1/2] power: introduce PM QoS API on CPU wide

2024-08-09 Thread Huisong Li
The deeper the idle state, the lower the power consumption, but the longer the resume time. Some service are delay sensitive and very except the low resume time, like interrupt packet receiving mode. And the "/sys/devices/system/cpu/cpuX/power/pm_qos_resume_latency_us" sysfs interface is used to s

[PATCH v9 0/2] power: introduce PM QoS interface

2024-08-09 Thread Huisong Li
The deeper the idle state, the lower the power consumption, but the longer the resume time. Some service are delay sensitive and very except the low resume time, like interrupt packet receiving mode. And the "/sys/devices/system/cpu/cpuX/power/pm_qos_resume_latency_us" sysfs interface is used to s

[PATCH v9 2/2] examples/l3fwd-power: add PM QoS configuration

2024-08-09 Thread Huisong Li
Add PM QoS configuration to declease the delay after sleep in case of entering deeper idle state. Signed-off-by: Huisong Li Acked-by: Morten Brørup --- examples/l3fwd-power/main.c | 24 1 file changed, 24 insertions(+) diff --git a/examples/l3fwd-power/main.c b/example

Re: [PATCH v6 0/8] support dump reigser names and filter

2024-08-09 Thread Jie Hai
All maintainers, Hi, kindly ping for review. Thanks, Jie Hai On 2024/7/22 14:58, Jie Hai wrote: The registers can be dumped through the API rte_eth_dev_get_reg_info. However, only register values are exported, which is inconvenient for users to interpret. Therefore, an extension of the structu

Re: [PATCH v3 0/3] bugfix about KEEP CRC offload

2024-08-09 Thread Jie Hai
All maintainers, Hi, kindly ping for review. Thanks, Jie Hai On 2024/7/19 17:04, Jie Hai wrote: For hns3 NIC, when KEEP_CRC offload is enabled, the CRC data is still be stripped in rare scenarios. Some users of hns3 are already using this feature. So driver has to recaculate packet CRC. In add

[PATCH 5/5] eal: extend bitops to handle volatile pointers

2024-08-09 Thread Mattias Rönnblom
Have rte_bit_[test|set|clear|assign|flip]() and rte_bit_atomic_*() handle volatile-marked pointers. Signed-off-by: Mattias Rönnblom --- app/test/test_bitops.c | 30 ++- lib/eal/include/rte_bitops.h | 427 ++- 2 files changed, 289 insertions(+), 168 deletion

[PATCH 3/5] eal: add atomic bit operations

2024-08-09 Thread Mattias Rönnblom
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 memory order. RFC v8: * Add missing macro #undef for C++ version of atomic bit flip. RFC v7: * Replace compare-exchange-based rte

[PATCH 0/5] Improve EAL bit operations API

2024-08-09 Thread Mattias Rönnblom
This patch set represent an attempt to improve and extend the RTE bitops API, in particular for functions that operate on individual bits. All new functionality is exposed to the user as generic selection macros, delegating the actual work to private (__-marked) static inline functions. Public fun

[PATCH 4/5] eal: add unit tests for atomic bit access functions

2024-08-09 Thread Mattias Rönnblom
Extend bitops tests to cover the rte_bit_atomic_*() family of functions. RFC v4: * Add atomicity test for atomic bit flip. RFC v3: * Rename variable 'main' to make ICC happy. Signed-off-by: Mattias Rönnblom Acked-by: Morten Brørup Acked-by: Tyler Retzlaff --- app/test/test_bitops.c | 313 +

[PATCH 2/5] eal: add unit tests for bit operations

2024-08-09 Thread Mattias Rönnblom
Extend bitops tests to cover the rte_bit_[test|set|clear|assign|flip]() functions. The tests are converted to use the test suite runner framework. RFC v6: * Test rte_bit_*test() usage through const pointers. RFC v4: * Remove redundant line continuations. Signed-off-by: Mattias Rönnblom Acked

[PATCH 1/5] eal: extend bit manipulation functionality

2024-08-09 Thread Mattias Rönnblom
Add functionality to test and modify the value of individual bits in 32-bit or 64-bit words. These functions have no implications on memory ordering, atomicity and does not use volatile and thus does not prevent any compiler optimizations. RFC v6: * Have rte_bit_test() accept const-marked bitset

RE: [PATCH 5/5] eal: simplify eal alarm cancel by using LIST_FOREACH_SAFE

2024-08-09 Thread Morten Brørup
> +++ b/lib/eal/linux/eal_alarm.c > @@ -53,6 +53,13 @@ static struct rte_intr_handle *intr_handle; > static int handler_registered = 0; > static void eal_alarm_callback(void *arg); > > +#ifndef LIST_FOREACH_SAFE > +#define LIST_FOREACH_SAFE(var, head, field, tvar)\ > + fo

Re: [PATCH 2/5] Revert "test/alarm: disable bad time cases on Windows"

2024-08-09 Thread Dmitry Kozlyuk
2024-08-09 10:23 (UTC+0300), Dmitry Kozlyuk: > 2024-08-08 12:46 (UTC-0700), Stephen Hemminger: > > This reverts commit a089d320338d708f5b7126dab5fd6861c82e6347. > > > > Windows EAL should have been fixed rather than papering over > > the bug. > > Linux and FreeBSD alarm implementations use the

Re: [PATCH 2/5] Revert "test/alarm: disable bad time cases on Windows"

2024-08-09 Thread Dmitry Kozlyuk
2024-08-08 12:46 (UTC-0700), Stephen Hemminger: > This reverts commit a089d320338d708f5b7126dab5fd6861c82e6347. > > Windows EAL should have been fixed rather than papering over > the bug. Linux and FreeBSD alarm implementations use the same approach that limits possible timeout range in API. Test

[PATCH v3 3/3] net/enic: allow multicast in MAC address add callback

2024-08-09 Thread Hyong Youb Kim
enic_set_mac_address() (mac_addr_add callback) currently allows only non-zero, unicast address to be added. It is overly restrictive. rte_eth_dev_mac_addr_add() itself allows multicast addresses. And, some applications do use rte_eth_dev_mac_addr_add() to accept multicast addresses. So, remove the

[PATCH v3 2/3] net/enic: add speed capabilities for newer models

2024-08-09 Thread Hyong Youb Kim
Add 1400/14000 and 15000 models to the speed_capa list. Signed-off-by: Hyong Youb Kim Reviewed-by: John Daley --- doc/guides/nics/enic.rst | 3 ++- doc/guides/rel_notes/release_24_11.rst | 1 + drivers/net/enic/enic_ethdev.c | 21 + 3 files changed, 2

[PATCH v3 1/3] net/enic: support SR-IOV VF using admin channel

2024-08-09 Thread Hyong Youb Kim
The Linux VIC PF driver now requires the use of the admin channel between PF and VF drivers. Certain devcmds are disabled for VF. The VF driver is supposed to send control messages through the admin channel to the PF driver to perform those devcmds. This commit adds the admin channel to the VF driv

[PATCH v3 0/3] net/enic: support VF and fix minor issues

2024-08-09 Thread Hyong Youb Kim
This series contains minor updates for net/enic. The first patch supports SR-IOV VF, which now requires the use of admin channel. The other patches are not related to VF, but included here to ease review. --- v3: * add spdx, doc, rel_notes (Ferruh's comments) v2: * fix compiler warnings Hyong Y