When last driver update was performed, README was not updated with data on
latest shared code package generation date. Update README to reflect the
date of last shared code package generation.
Signed-off-by: Anatoly Burakov
---
drivers/net/ixgbe/base/README | 4 ++--
1 file changed, 2
When last driver update was performed, README was not updated with data on
latest shared code package generation date. Update README to reflect the
date of last shared code package generation.
Signed-off-by: Anatoly Burakov
---
drivers/net/ixgbe/base/README | 4 ++--
1 file changed, 2
This patch introduces a new field in the lcore structure that stores the
physical package ID of the core. This field is populated during EAL init.
It is not exposed through any external API's for now.
Signed-off-by: Anatoly Burakov
---
lib/eal/common/eal_common_lcore.c
Currently, --socket-mem and --socket-limit EAL flags effectively refer to
NUMA nodes, not CPU sockets. Update the flag names to reflect this. Old
flag names are still supported for backward compatibility.
Signed-off-by: Anatoly Burakov
---
Notes:
Technically, this is a user-facing change
This patch renames socket ID-related fields in internal EAL config
structure to refer to NUMA ID instead. No user-facing API's are changed.
Signed-off-by: Anatoly Burakov
---
lib/eal/common/eal_common_dynmem.c | 14 +++---
lib/eal/common/eal_common_options.c | 16
cs of messages
generated by these API's.
Signed-off-by: Anatoly Burakov
---
lib/eal/common/eal_common_lcore.c | 10 +-
lib/eal/common/eal_common_thread.c | 12 ++--
lib/eal/common/eal_private.h | 2 +-
3 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/lib/
what is already the case (the semantics
have changed back when systems started reporting multiple NUMA nodes per
physical socket).
Signed-off-by: Anatoly Burakov
---
doc/guides/prog_guide/glossary.rst | 5 -
lib/eal/include/rte_lcore.h| 25 -
2 files changed,
ysical package, see e.g. discussion
under this patch:
https://patches.dpdk.org/project/dpdk/cover/20240827151014.201-1-vipin.vargh...@amd.com/
Anatoly Burakov (5):
eal: update socket ID API documentation
lcore: rename socket ID to NUMA ID
eal: rename socket ID to NUMA
thout interaction, in which case it will pass
all its parameters to Meson directly, with added benefit of dependency
tracking and producing minimal builds if desired.
Signed-off-by: Anatoly Burakov
---
usertools/dpdk-setup.py | 669
1 file changed, 669 ins
uot; DPDK. This is not that, but
it's a good start.
Anatoly Burakov (1):
usertools: add DPDK build directory setup script
usertools/dpdk-setup.py | 669
1 file changed, 669 insertions(+)
create mode 100755 usertools/dpdk-setup.py
--
2.43.5
From: Bruce Richardson
Remove any unnecessary dependencies from the app dependency lists.
This will give each app a near-minimum set of required dependencies.
Signed-off-by: Bruce Richardson
---
app/dumpcap/meson.build | 2 +-
app/graph/meson.build| 2 +-
app/pdump/meson.b
From: Bruce Richardson
Rather than having each library depend up on EAL + any extra libs, we
can take advantage of recursive dependency support in meson and
just assign the dependencies of each directory directly, rather than
appending to the array. For libraries which only depend upon EAL, keep
From: Bruce Richardson
The kvargs library is used by EAL, and therefore is implicitly a
dependency of every DPDK driver. Remove it from the minimum set of
dependencies for each driver class as it's unnecessary to call it out
there.
Signed-off-by: Bruce Richardson
---
drivers/event/meson.build
Allow specifying dependencies as either mandatory or optional. This does
not change anything about the build, but it is useful for tooling to know
if a dependency is required or not.
Signed-off-by: Anatoly Burakov
---
app/meson.build | 3 ++-
app/proc-info/meson.build
From: Bruce Richardson
While not a serious problem, DPDK components often list more
dependencies than are actually necessary to build, due to the use of
recursive dependencies. In extreme cases, such as with core libraries,
this can lead to longer configuration times due to meson having to
dedupl
hical representation of the DPDK dependency tree if so
desired. For example: "dot -Tpng -O build/deps.dot" to produce the
image file "build/deps.dot.png".
Signed-off-by: Bruce Richardson
Acked-by: Konstantin Ananyev
Signed-off-by: Anatoly Burakov
---
app/meson.build
nal and mandatory
- Fixup graph scripts to read and generate graphs that encode optional
dependencies into the graph
- Python version fixes to avoid using features not available in minimum
supported Python version
- Formatting with Ruff, and PEP-484 compliance
Anatoly Burakov (1):
build: sp
From: Bruce Richardson
Remove any unnecessary dependencies from the driver dependency lists.
This will give each driver a near-minimum set of required dependencies.
Signed-off-by: Bruce Richardson
---
drivers/baseband/fpga_5gnr_fec/meson.build | 2 +-
drivers/baseband/fpga_lte_fec/meson.build
generates an output file that
has the nodes categorized, filtering them based off the requested node or
category. For example, use "--match net/ice" to show the dependency tree
from that driver, or "--match lib" to show just the library dependency
tree.
Signed-off-by: Bruce Ri
y` to change the UID/GID of
the device when binding it to VFIO.
Signed-off-by: Anatoly Burakov
---
usertools/dpdk-devbind.py | 41 +--
1 file changed, 39 insertions(+), 2 deletions(-)
diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py
index 078e8
included, such as build-on-save (needs an extension), as well as
disablement of some default VSCode settings that are not needed for DPDK.
Signed-off-by: Anatoly Burakov
---
Notes:
RFCv3 -> v1:
- Format code with Ruff
- Use T. as typing alias
- Fixed wrong comments in pla
arate set of scripts, so this script now concerns itself only
with adding build/launch targets to user's configuration and not much else
Please feel free to make any suggestions!
[1] https://code.visualstudio.com/docs/remote/ssh
Anatoly Burakov (1):
buildtools: add VSCode configuration ge
Update README with the date of when the latest snapshot was generated.
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/README | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/i40e/base/README b/drivers/net/i40e/base/README
index 2e4fa5a921
From: Bartosz Jakub Rosadzinski
This commit introduces a definition of the 5th Free Provisioning Area
pointer in Shadow RAM. 5th PFA is used during NVM update for storing
X710-T2L/X710-T4L's Phy Firmware.
Signed-off-by: Bartosz Jakub Rosadzinski
Signed-off-by: Anatoly Burakov
---
driver
From: Jedrzej Jagielski
Some driver versions need to use "Read alternate - Indirect" command
in order to get the content of trace buffer. This patch adds a couple of
defines related to that functionality.
Signed-off-by: Jedrzej Jagielski
Signed-off-by: Anatoly Burakov
---
driver
From: Jaroslaw Ilgiewicz
Time variables were designed for 32 bit and 64 bit variables are not
necessary. Changed all to 32 bit.
Signed-off-by: Jaroslaw Ilgiewicz
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_common.c| 2 +-
drivers/net/i40e/base/i40e_nvm.c | 6
patch adds custom timeout
for that case.
Signed-off-by: Midde Ajijur Rehaman
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_nvm.c | 95 ++
drivers/net/i40e/base/i40e_prototype.h | 5 ++
2 files changed, 100 insertions(+)
diff --git a/drivers/net/i40e
From: Piotr Skajewski
These registers are relevant to MAC source pruning feature.
Signed-off-by: Piotr Skajewski
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_register.h | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_register.h
b
wraps,
by checking the sign of substraction of two 32 bit vaues.
Signed-off-by: Aleksandr Loktionov
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_nvm.c | 8
drivers/net/i40e/base/i40e_type.h | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers
y: Barbara Skobiej
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_adminq.c | 19 +--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_adminq.c
b/drivers/net/i40e/base/i40e_adminq.c
index b670250180..350288269b 100644
--- a/driver
From: Barbara Skobiej
Static analysis tools have reported an unchecked return value warning.
Address the warning by checking return value.
Signed-off-by: Barbara Skobiej
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_common.c | 4 ++--
1 file changed, 2 insertions(+), 2
From: Radoslaw Tyl
Currently, when registers are dumped, the data inside them is changed, so
repeated dumps lead to unexpected results. Fix this by making register list
read-only.
Signed-off-by: Radoslaw Tyl
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_diag.c | 12
From: Michal Nowak
The I40E_PFPM_APM, I40E_PFPM_WUC, I40E_PFPM_WUFC, and I40E_PFPM_WUS should
read bits per PF.
Signed-off-by: Michal Nowak
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_register.h | 8
drivers/net/i40e/i40e_regs.h | 8
2 files
From: Radoslaw Tyl
Add definitions for register dump for some PHY registers in order to
assist field debugging of link issues.
Signed-off-by: Radoslaw Tyl
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_register.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a
From: Björn Töpel
Add i40e_16b_rx_wb_qw0 and raw structs to i40e_16byte_rx_desc, to allow
access both as 16-byte descriptor, and as raw data.
Signed-off-by: Björn Töpel
Signed-off-by: Michal Jaron
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_type.h | 5 -
1 file changed
From: Vignesh Sridhar
Adding typecast to variables to avoid compiler warnings generated on
certain platforms and compilers if variables of a particular data type
are assigned to ones of a smaller data type.
Signed-off-by: Vignesh Sridhar
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e
From: Slawomir Laba
Add X722 input set mask for RSS and flow director.
X722 family is using different shifts on the registers
from X710 NIC family.
Signed-off-by: Slawomir Laba
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_type.h | 4
1 file changed, 4 insertions
From: Artur Tyminski
This patch adds definitions related to DDP package type.
Signed-off-by: Artur Tyminski
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_type.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/i40e/base/i40e_type.h
b/drivers/net/i40e/base
From: Artur Tyminski
Packages with reserved track IDs should not be loaded, yet currently, the
driver will only check one of the reserved ID's, but not the other.
Fix the DDP package loading to also check for the other reserved track ID.
Signed-off-by: Artur Tyminski
Signed-off-by: An
From: Dawid Łukwiński
Provide an API to allow reading LED blink setting.
Signed-off-by: Dawid Łukwiński
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_common.c| 29 ++
drivers/net/i40e/base/i40e_prototype.h | 1 +
2 files changed, 30 insertions
From: Przemyslaw Patynowski
Add VLAN bit used during flow director programming, as a part of
input set for HW.
Signed-off-by: Przemyslaw Patynowski
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_type.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/i40e/base
Rybak
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_common.c | 32 -
1 file changed, 32 deletions(-)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base/i40e_common.c
index be27cc9d0b..80500697ed 100644
--- a/drivers/net/i40e/base
rx_err1 with one from the base driver stats struct.
Signed-off-by: Lukasz Cieplicki
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_register.h | 12
drivers/net/i40e/base/i40e_type.h | 1 +
drivers/net/i40e/i40e_ethdev.c| 21 +++--
drivers
From: Przemyslaw Gierszynski
Added I40E_DEV_ID_XXV710_N3000 (Device ID 0x0D58) as a 25G device to the
i40e_is_25G_device macro.
Signed-off-by: Przemyslaw Gierszynski
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_devids.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion
ned-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/i40e/base/i40e_common.c
b/drivers/net/i40e/base/i40e_common.c
index 451cc2c1c7..be27cc9d0b 100644
--- a/drivers/net/i40e/base/i40e_common.c
+++ b/drivers/net
("net/i40e: add new X722 device")
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_devids.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/base/i40e_devids.h
b/drivers/net/i40e/base/i40e_devids.h
index 11e98f1f28..0a323566d1 100644
--
From: Aleksandr Loktionov
Both comments and debug logs for i40e_read_nvm_aq refer to writing, when
in actuality it's a read function. Fix both comments and debug logs.
Signed-off-by: Aleksandr Loktionov
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_nvm.c
The functionality to set i40e_hw's flags was moved to its own function in
AQ a while ago:
commit 37b091c75b13 ("net/i40e/base: extend PHY access AQ command")
However, the setting of hw->flags for X722 was not removed, even though it
has become unnecessary.
Signed-off-b
registers that were missed during removal.
Signed-off-by: Krzysztof Galazka
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_common.c | 5
drivers/net/i40e/base/i40e_register.h | 33 ---
drivers/net/i40e/i40e_regs.h | 9
3 files
From: Aleksandr Loktionov
Replace usages of the term "master" with "primary".
Signed-off-by: Aleksandr Loktionov
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_common.c | 4 ++--
drivers/net/i40e/base/i40e_status.h | 2 +-
2 files changed, 3 insertions(+),
of it and remove the tags from code.
In particular, one of the stripped tags is VF support. This is no longer
needed because all VF support is now done through IAVF driver. This
results in some VF-related code being removed from i40e.
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base
There are some miscellaneous differences in whitespace between shared code
and DPDK snapshot. Adjust whitespace differences to make base code driver
updates easier in the future by reducing the diff between the two.
Signed-off-by: Anatoly Burakov
---
drivers/net/i40e/base/i40e_adminq.c | 7
Update the i40e base driver to the latest version of the snapshot.
Aleksandr Loktionov (3):
net/i40e/base: remove non-inclusive language
net/i40e/base: fix misleading debug logs and comments
net/i40e/base: make semaphore timeout 32-bit
Anatoly Burakov (6):
net/i40e/base: adjust
Include different variants of E610 in the PCI ID table to ensure they are
able to be initialized by DPDK driver.
Fixes: 316637762a5f ("net/ixgbe/base: enable E610 device")
Signed-off-by: Anatoly Burakov
---
drivers/net/ixgbe/ixgbe_ethdev.c | 5 +
1 file changed, 5 insertions(+)
access before
attempting to write to the EEPROM, aligning with the intended operation.
Signed-off-by: Przemyslaw Gierszynski
Signed-off-by: Anatoly Burakov
---
drivers/net/ixgbe/base/ixgbe_e610.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_e610
From: NorbertX Ciosek
Check if CTS bit is set in the mailbox message before waiting for ACK.
Otherwise ACK will never be received causing the function to timeout. Add
a note for ixgbe_write_mbx that it should be called while holding a lock.
Signed-off-by: NorbertX Ciosek
Signed-off-by: Anatoly
ff-by: Andrzej Wilczynski
Co-authored-by: RemigiuszX Konca
Signed-off-by: Anatoly Burakov
---
drivers/net/ixgbe/base/ixgbe_e610.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ixgbe/base/ixgbe_e610.c
b/drivers/net/ixgbe/base/ixgbe_e610.c
index 7ea495db97..ab02b11d6a 100644
From: Krzysztof Galazka
Only certain variants of drivers rely on FW API version check in shared
code. Other drivers implement their own logic due to differences in
requirements. DPDK does not require the FW API check.
Signed-off-by: Krzysztof Galazka
Signed-off-by: Anatoly Burakov
From: Piotr Kwapulinski
When detecting the 5G link speed take into account the E610 VF MAC type in
ixgbe_check_mac_link_vf().
Signed-off-by: Piotr Kwapulinski
Signed-off-by: Anatoly Burakov
---
drivers/net/ixgbe/base/ixgbe_vf.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
From: Pawel Malinowski
Update FW API version to 1.7.
Signed-off-by: Pawel Malinowski
Signed-off-by: Anatoly Burakov
---
drivers/net/ixgbe/base/ixgbe_type_e610.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_type_e610.h
b/drivers/net/ixgbe
them.
Signed-off-by: Krzysztof Galazka
Signed-off-by: Anatoly Burakov
---
drivers/net/ixgbe/base/ixgbe_e610.c | 16 +---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_e610.c
b/drivers/net/ixgbe/base/ixgbe_e610.c
index b9b1ba32c3
From: Krzysztof Galazka
Media type information should not be updated by ixgbe_aci_get_link_info
function because it will be incorrectly set as unknown when link is down.
Do it only in ixgbe_get_media_type_E610.
Signed-off-by: Krzysztof Galazka
Signed-off-by: Anatoly Burakov
---
drivers/net
From: Barbara Skobiej
There was unchecked return value in the ixgbe_stop_mac_link_on_d3_82599
function. Added checking of return value from the called function
ixgbe_read_eeprom.
Signed-off-by: Barbara Skobiej
Signed-off-by: Anatoly Burakov
---
drivers/net/ixgbe/base/ixgbe_82599.c | 8
From: Jedrzej Jagielski
At this point there is no macro specific for E610 VF HV.
Add it to ixgbe_type.h
Signed-off-by: Jedrzej Jagielski
Signed-off-by: Anatoly Burakov
---
drivers/net/ixgbe/base/ixgbe_type.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ixgbe/base
;)
Signed-off-by: Anatoly Burakov
---
drivers/net/ixgbe/base/ixgbe_mbx.c | 44 ++
drivers/net/ixgbe/base/ixgbe_mbx.h | 1 +
2 files changed, 45 insertions(+)
diff --git a/drivers/net/ixgbe/base/ixgbe_mbx.c
b/drivers/net/ixgbe/base/ixgbe_mbx.c
index 444a0d339d..2365926
When adding support for E610 bringup, some definitions and code paths were
accidentally omitted due to the way the shared driver snapshot was created.
Add missing definitions and code paths.
Fixes: 316637762a5f ("net/ixgbe/base: enable E610 device")
Signed-off-by: Anatoly Burakov
--
"net/ixgbe/base: detect E610 device capabilities")
Signed-off-by: Anatoly Burakov
---
drivers/net/ixgbe/base/ixgbe_e610.c | 49
drivers/net/ixgbe/base/ixgbe_type_e610.h | 4 ++
2 files changed, 53 insertions(+)
diff --git a/drivers/net/ixgbe/base/ixgbe_e
river code
snapshot was generated. Remove this code from DPDK driver.
Fixes: add44414762c ("net/ixgbe/base: add E610 NVM-related operations")
Signed-off-by: Anatoly Burakov
---
drivers/net/ixgbe/base/ixgbe_e610.c | 54 -
drivers/net/ixgbe/base/ixgbe_e610.h |
stead replacing it with state machine-like
behavior. This makes the code simpler to reason about.
Signed-off-by: Anatoly Burakov
---
lib/eal/common/eal_common_fbarray.c | 223 +---
1 file changed, 101 insertions(+), 122 deletions(-)
diff --git a/lib/eal/c
stead replacing it with state machine-like
behavior. This makes the code simpler to reason about.
Signed-off-by: Anatoly Burakov
---
lib/eal/common/eal_common_fbarray.c | 195 +---
1 file changed, 93 insertions(+), 102 deletions(-)
diff --git a/lib/eal/common/eal_common_fbarray
details.
Also, add more tests that fill up exactly one mask, with and without
neighbouring set bits.
Signed-off-by: Anatoly Burakov
---
app/test/test_fbarray.c | 99 -
1 file changed, 67 insertions(+), 32 deletions(-)
diff --git a/app/test/test_fbarray.c
Currently, devbind does not print out any NUMA information, which makes
figuring out which NUMA node device belongs to not trivial. Add printouts
for NUMA information if NUMA support is enabled on the system.
Signed-off-by: Anatoly Burakov
Acked-by: Robin Jarry
---
Notes:
v1 ->
huge page reservation status output by NUMA node
Signed-off-by: Anatoly Burakov
Acked-by: Stephen Hemminger
Acked-by: Robin Jarry
---
Notes:
v4 -> v5:
- Format with Ruff on default settings
- Replaced all instances of raw path strings with os.path.join
v3 -> v4:
-
Update coding style:
- make it PEP-484 compliant
- format code with Ruff
- address all mypy etc. warnings
- use f-strings in place of old-style string interpolation
- refactor printing to make the code more readable
- read valid CPU ID's from "online" sysfs node
Signed-off-by:
ff-by: Anatoly Burakov
---
Notes:
v5 -> v6:
- Track NUMA changes per socket to avoid issues with missing cores
v2 -> v3:
- Sort imports alphabetically
usertools/cpu_layout.py | 35 ++-
1 file changed, 30 insertions(+), 5 deletions(-)
d
Currently, devbind does not print out any NUMA information, which makes
figuring out which NUMA node device belongs to not trivial. Add printouts
for NUMA information if NUMA support is enabled on the system.
Signed-off-by: Anatoly Burakov
Acked-by: Robin Jarry
---
Notes:
v1 ->
huge page reservation status output by NUMA node
Signed-off-by: Anatoly Burakov
Acked-by: Stephen Hemminger
---
Notes:
v4 -> v5:
- Format with Ruff on default settings
- Replaced all instances of raw path strings with os.path.join
v3 -> v4:
- Format code with Ruff
ff-by: Anatoly Burakov
---
Notes:
v2 -> v3:
- Sort imports alphabetically
usertools/cpu_layout.py | 36 +++-
1 file changed, 31 insertions(+), 5 deletions(-)
diff --git a/usertools/cpu_layout.py b/usertools/cpu_layout.py
index e133fb8ad3..976be1f8b2 1007
Update coding style:
- make it PEP-484 compliant
- format code with Ruff
- address all mypy etc. warnings
- use f-strings in place of old-style string interpolation
- refactor printing to make the code more readable
- read valid CPU ID's from "online" sysfs node
Signed-off-by:
Update coding style:
- make it PEP-484 compliant
- address all flake8, mypy etc. warnings
- use f-strings in place of old-style string interpolation
- refactor printing to make the code more readable
- read valid CPU ID's from "online" sysfs node
Signed-off-by: Anatoly Bura
Currently, devbind does not print out any NUMA information, which makes
figuring out which NUMA node device belongs to not trivial. Add printouts
for NUMA information if NUMA support is enabled on the system.
Signed-off-by: Anatoly Burakov
Acked-by: Robin Jarry
---
Notes:
v1 ->
output by NUMA node
Signed-off-by: Anatoly Burakov
Acked-by: Stephen Hemminger
---
Notes:
v3 -> v4:
- Format code with Ruff, line width 79 to avoid flake8 warnings
(Flake8 is by default configured with line width 79 on my system)
v2 -> v3:
- Rewrite of the scr
ff-by: Anatoly Burakov
---
Notes:
v2 -> v3:
- Sort imports alphabetically
usertools/cpu_layout.py | 36 +++-
1 file changed, 31 insertions(+), 5 deletions(-)
diff --git a/usertools/cpu_layout.py b/usertools/cpu_layout.py
index 8812ea286b..e4720e27db 1007
Currently, devbind does not print out any NUMA information, which makes
figuring out which NUMA node device belongs to not trivial. Add printouts
for NUMA information if NUMA support is enabled on the system.
Signed-off-by: Anatoly Burakov
Acked-by: Robin Jarry
---
Notes:
v1 ->
- Sort output by NUMA node
Signed-off-by: Anatoly Burakov
---
Notes:
v1 -> v2:
- Added commit that sorted output by NUMA node
v2 -> v3:
- Rewrite of the script as suggested by reviewers
usertools/dpdk-hugepages.py | 456 +---
1 file change
ff-by: Anatoly Burakov
---
Notes:
v2 -> v3:
- Sort imports alphabetically
usertools/cpu_layout.py | 36 +++-
1 file changed, 31 insertions(+), 5 deletions(-)
diff --git a/usertools/cpu_layout.py b/usertools/cpu_layout.py
index 1c255ff1a1..78b119d729 1007
Update coding style:
- make it PEP-484 compliant
- address all flake8, mypy etc. warnings
- use f-strings in place of old-style string interpolation
- refactor printing to make the code more readable
- read valid CPU ID's from "online" sysfs node
Signed-off-by: Anatoly Bura
Currently, devbind does not print out any NUMA information, which makes
figuring out which NUMA node device belongs to not trivial. Add printouts
for NUMA information if NUMA support is enabled on the system.
Signed-off-by: Anatoly Burakov
---
usertools/dpdk-devbind.py | 27
Currently, the list of per-NUMA node hugepages is displayed in glob order,
which can be arbitrary. Fix it to sort the glob order.
Signed-off-by: Anatoly Burakov
---
usertools/dpdk-hugepages.py | 40 ++---
1 file changed, 28 insertions(+), 12 deletions(-)
diff
ff-by: Anatoly Burakov
---
usertools/cpu_layout.py | 35 ++-
1 file changed, 30 insertions(+), 5 deletions(-)
diff --git a/usertools/cpu_layout.py b/usertools/cpu_layout.py
index be86f06938..e43bdbf343 100755
--- a/usertools/cpu_layout.py
+++ b/usertools/cpu_layo
Update coding style:
- make it PEP-484 compliant
- address all flake8, mypy etc. warnings
- use f-strings in place of old-style string interpolation
- refactor printing to make the code more readable
Signed-off-by: Anatoly Burakov
---
usertools/cpu_layout.py | 162
ff-by: Anatoly Burakov
---
usertools/cpu_layout.py | 35 ++-
1 file changed, 30 insertions(+), 5 deletions(-)
diff --git a/usertools/cpu_layout.py b/usertools/cpu_layout.py
index 843b29a134..be89909464 100755
--- a/usertools/cpu_layout.py
+++ b/usertools/cpu_layo
Update coding style:
- make it PEP-484 compliant
- address all flake8, mypy etc. warnings
- use f-strings in place of old-style string interpolation
- refactor printing to make the code more readable
Signed-off-by: Anatoly Burakov
---
usertools/cpu_layout.py | 162
Multiple, as well as out-of-source-tree, build directories are supported,
and the script will generate separate configuration items for each build
directory created by user, tagging them for convenience.
Signed-off-by: Anatoly Burakov
---
Notes:
RFCv3 -> RFCv2:
- Following feedback f
isualstudio.com/docs/remote/ssh
Anatoly Burakov (1):
buildtools: add vscode configuration generator
app/meson.build | 12 +-
buildtools/gen-vscode-conf.py | 442 ++
buildtools/meson.build| 5 +
examples/meson.build | 13
configuration supplied from
command-line arguments.
Signed-off-by: Anatoly Burakov
---
Notes:
RFCv1 -> RFCv2:
- No longer disable apps and drivers if nothing was specified via command
line
or TUI, and warn user about things being built by default
- Generate app lau
d apps/examples/drivers. Thus, we address the "simple" usecase of
"let's build everything by default", we handle some common use cases smarter
than we otherwise would have, and we allow user to be as in-depth as they want
by allowing to specify explicit meson command stri
configuration supplied from
command-line arguments.
Signed-off-by: Anatoly Burakov
---
devtools/gen-vscode-config.py | 640 ++
1 file changed, 640 insertions(+)
create mode 100755 devtools/gen-vscode-config.py
diff --git a/devtools/gen-vscode-config.py b/devtools/gen
I've never needed this functionality.
Please feel free to make any suggestions!
Anatoly Burakov (1):
devtools: add vscode configuration generator
devtools/gen-vscode-config.py | 640 ++
1 file changed, 640 insertions(+)
create mode 100755 devtools/gen-vscode-config.py
--
2.43.5
")
Signed-off-by: Anatoly Burakov
---
drivers/net/ice/ice_ethdev.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
index 29509b4329..304f959b7e 100644
--- a/drivers/net/ice/ice_ethdev.c
+++ b/drivers/net/i
1 - 100 of 1001 matches
Mail list logo