mlxbf-tmfifo: Add ctrl message and MAC configuration For BlueField-3 SoC

Bug #2002689 reported by Liming Sun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-bluefield (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Committed
Medium
Liming Sun

Bug Description

SRU Justification:

[Impact]

This is a porting commit from https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/1927253.

[Fix]
* N/A

[Test Case]
* Set DISPLAY_LEVEL to 1 in /dev/rshim0/misc and do 'cat /dev/rshim0/misc' from external rshim driver.
  The rshim MAC address will show up.

# cat /dev/rshim0/misc
DISPLAY_LEVEL 1 (0:basic, 1:advanced, 2:log)
BOOT_MODE 1 (0:rshim, 1:emmc, 2:emmc-boot-swap)
BOOT_TIMEOUT 100 (seconds)
DROP_MODE 0 (0:normal, 1:drop)
SW_RESET 0 (1: reset)
DEV_NAME usb-1-1.1
DEV_INFO BlueField-2(Rev 0)
OPN_STR MBF2M516A-EEEO
BOOT_RESET_SKIP 0 (1: skip)
PEER_MAC 00:1a:ca:ff:ff:01 (rw)
PXE_ID 0x00000000 (rw)
VLAN_ID 0 0 (rw)
* echo "PEER_MAC xx:xx:xx:xx:xx:xx" > /dev/rshim0/misc to modify the MAC address, which will take effect in next boot.

[Regression Potential]
* This is a new enhancement and is backward-compatible with previous behavior.

Tim Gardner (timg-tpi)
Changed in linux-bluefield (Ubuntu Jammy):
assignee: nobody → Liming Sun (limings)
importance: Undecided → Medium
status: New → In Progress
Changed in linux-bluefield (Ubuntu):
status: New → Invalid
Revision history for this message
Liming Sun (limings) wrote :

Tim, Thanks for the code review. I got the Acked-by email but haven't seen it in the jammy repo yet.
Do you know when this change might be pushed?

Changed in linux-bluefield (Ubuntu Jammy):
status: In Progress → Fix Committed
Khoa Vo (khoadvo)
tags: added: verification-done-jammy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.