[PATCH v1 0/1] [SRU][J:linux-bluefield][PATCH v1 1/1] UBUNTU: SAUCE: platform/mellanox: Add ctrl message and MAC configuration

Liming Sun limings at nvidia.com
Thu Jan 12 18:58:46 UTC 2023


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
...
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.

Liming Sun (1):
  UBUNTU: SAUCE: [SRU][J:linux-bluefield][PATCH v1 1/1] UBUNTU: SAUCE:
    platform/mellanox: Add ctrl message and MAC configuration

 drivers/platform/mellanox/mlxbf-tmfifo.c | 172 ++++++++++++++++++++---
 1 file changed, 151 insertions(+), 21 deletions(-)

-- 
2.30.1




More information about the kernel-team mailing list