Hi,
think found maybe were it broke after looking in this file in v3.04 and v3.05
dpdk/drivers/net/bonding/rte_eth_bond_pmd.c
Think slave has been renamed to member
v3.05:
RTE_PMD_REGISTER_PARAM_STRING(net_bonding,
"member=<ifc> " "primary=<ifc> "
"mode=[0-6] "
"xmit_policy=[l2 | l23 | l34] "
"agg_mode=[count | stable | bandwidth] "
"socket_id=<int> "
"mac=<mac addr> "
"lsc_poll_period_ms=<int> "
"up_delay=<int> "
"down_delay=<int>");
v3.04
RTE_PMD_REGISTER_PARAM_STRING(net_bonding,
"slave=<ifc> " "primary=<ifc> "
"mode=[0-6] "
"xmit_policy=[l2 | l23 | l34] "
"agg_mode=[count | stable | bandwidth] "
"socket_id=<int> "
"mac=<mac addr> "
"lsc_poll_period_ms=<int> "
"up_delay=<int> "
"down_delay=<int>");
Changing slave to member in config brings things further, but fails with some offload things missing:
DPDK args
xx -l 5,53,7,55 -n 4 --log-level 7 --main-lcore 5 --vdev=net_bonding0,mode=2,member=0000:89:01.5,member=0000:89:09.0,xmit_policy=l34 --no-pci --no-huge -m 2048 --file-prefix trex1
EAL: Detected CPU lcores: 96
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/trex1/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: WARNING: Main core has no memory on local socket!
TELEMETRY: No legacy callbacks, legacy socket not created
set driver name net_bonding
driver capability : SLRO
set dpdk queues mode to MULTI_QUE
DPDK devices 1 : 1
-----
0 : vdev net_bonding0
-----
Number of ports found: 2 (dummy among them: 1)
if_index : 0
driver name : net_bonding
min_rx_bufsize : 0
max_rx_pktlen : 16128
max_rx_queues : 1024
max_tx_queues : 1024
max_mac_addrs : 16
rx_offload_capa : 0x0
tx_offload_capa : 0x0
rss reta_size : 0
flow_type_rss : 0x2003ffffc
tx_desc_max : 65535
tx_desc_min : 0
rx_desc_max : 65535
rx_desc_min : 0
zmq publisher at: tcp://*:4500
rx_data_q_num : 0
rx_drop_q_num : 0
rx_dp_q_num : 2
rx_que_total : 2
--
rx_desc_num_data_q : 512
rx_desc_num_drop_q : 4096
rx_desc_num_dp_q : 512
total_desc : 1024
--
tx_desc_num : 1024
port 0 desc: Unknown
Requested TX offload MULTI_SEGS is not supported
Requested RX offload SCATTER is not supported
Killing Scapy server... Scapy server is killed
Killing Cmds server... Cmds server is killed
Will be slow in answering mail for some time now.
BR//Håkan