Hi there,
i am trying to run the doca_flow_shared_counter sample. In order to send traffic to the bluefield i wrote a small scapy script and i forge a udp packet and send it to the enp13s0f0np0 mac address. However i am not able to see an increase of the resource counter. It seems like the mac address does not exist. I am concerned that i am using the wrong mac address. Does anybody have an idea on what could be wrong?
Thanks in advance a have good start to the new year!
Greetings - Sten
Hello,
If MFT is installed on the host (can be part of MLNX_OFED or standalone), you can run a flint query command to see the actual MAC address of each port.
For example, see below for ConnectX-7 but should be a similar concept for BlueField-3:
#mst status -v
MST modules:
------------
- MST PCI module is not loaded*
- MST PCI configuration module loaded*
PCI devices:
------------
DEVICE_TYPE MST PCI RDMA NET NUMA
ConnectX7(rev:0) /dev/mst/mt4129_pciconf1.1 b1:00.1 mlx5_5 net-ens5f1np1 1
ConnectX7(rev:0) /dev/mst/mt4129_pciconf1 b1:00.0 mlx5_4 net-ens5f0np0 1
This command shows both ports of the ConnectX-7.
Next, you can use flint query on each of the MST devices to see the exact mac address of each port (along with additional information, such as FW version, PSID, etc.):
# flint -d /dev/mst/mt4129_pciconf1 q
Image type: FS4
FW Version: 28.39.3560
FW Release Date: 24.6.2024
Product Version: 28.39.3560
Rom Info: type=UEFI version=14.32.17 cpu=AMD64,AARCH64
type=PXE version=3.7.300 cpu=AMD64
Description: UID GuidsNumber
Base GUID: b8e9240300d962e6 16
Base MAC: b8e924d962e6 16
Image VSD: N/A
Device VSD: N/A
PSID: MT_0000000834
Security Attributes: secure-fw
I hope this helps.
If the issue still occurs, please open a case with enterprisesupport@nvidia.com, and it will be handled based on entitlement.
Best Regards,
Jonathan.