Hi There,
I am using Bluefield-2 and DOCA 24.43.1014 to run the eth_txq_send_ethernet_frames sample as:
./doca_eth_txq_send_ethernet_frames -d mlx5_0
The mlx5_0 is the p0 port “
p0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::bace:f6ff:fed1:3e10 prefixlen 64 scopeid 0x20
ether b8:ce:f6:d1:3e:10 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 127 bytes 16591 (16.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
”
However, after the execution of the sample with successful send task message:
[23:57:48:530609][12208][DOCA][INF][eth_txq_send_ethernet_frames_sample.c:78][task_send_common_cb] Send task user data is 0x43210
[23:57:48:530654][12208][DOCA][INF][eth_txq_send_ethernet_frames_sample.c:94][task_send_common_cb] Sent a regular packet of size 1500 successfully
[23:57:48:533812][12208][DOCA][INF][eth_txq_send_ethernet_frames_main.c:185][main] Sample finished successfully“,
I tried to print the statistic on peer port, but there was no packet received. I have also run the ethtool in the mellanox folder, there was no new packet sent. The port has been set to pure layer 2 without any IP.
Is there any configuration missing? How to verify the packet has been truly sent out on the wire?
Thanks.