Skip to content

Commit 65f1a99

Browse files
committed
Fixed net_bonding breakage caused by the upgrade to DPDK 24.03.
Signed-off-by: syaakov <[email protected]>
1 parent fd9d02f commit 65f1a99

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

doc/release_notes.asciidoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ ifdef::backend-docbook[]
2626

2727
endif::backend-docbook[]
2828

29+
== Release 3.06 ==
30+
31+
* Fixed net_bonding breakage caused by the upgrade to DPDK 24.03.
32+
** Updated net_bonding API terminology in TRex configuration from "slave" to "member".
33+
34+
== Release 3.05 ==
35+
36+
* upgrade to DPDK 24.03
37+
2938
== Release 3.04 ==
3039

3140
* Upgrade to DPDK 23.03 for new Cloud drivers

doc/trex_book.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,11 +824,11 @@ Configuration example:
824824
[source,bash]
825825
----
826826
...
827-
interfaces: [ '--vdev=net_bonding0,mode=0,slave=d8:00.0,slave=d8:00.1', 'dummy' ]
827+
interfaces: [ '--vdev=net_bonding0,mode=0,member=d8:00.0,member=d8:00.1', 'dummy' ]
828828
...
829829
----
830830

831-
The bonded device inherits attributes from the first slave device. All slave devices should have same speed and duplex.
831+
The bonded device inherits attributes from the first member device. All member devices should have same speed and duplex.
832832

833833
NOTE: When mode 4 is used, more settle time could be needed. Use -w command line option to give enough time for it.
834834

src/main_dpdk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6481,7 +6481,7 @@ COLD_FUNC void check_pdev_vdev_dummy() {
64816481
split_str_by_delimiter(iface, ',', vdev_opts);
64826482
list_vdevs[if_index] = vdev_opts[0].substr(vdev_opts[0].find("=")+1);
64836483

6484-
std::string match_str = "slave=";
6484+
std::string match_str = "member=";
64856485
for (auto vdev_opt : vdev_opts) {
64866486
if ( vdev_opt.find(match_str.c_str()) != std::string::npos ) {
64876487
found_devs_in_vdev = true;

0 commit comments

Comments
 (0)