[SRU][J:linux-bluefield][PATCH v1 0/1] mlxbf_gige: packets received before RX path fully init

David Thompson davthompson at nvidia.com
Mon Jul 29 14:58:27 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2074123

SRU Justification:

[Impact]

During the reboot and power cycle testing, QA found an intermittent issue
where "oob_net0" interface would experience RX MAC errors and fail to get
a DHCP-assigned IP. There is a small window where packets can be received
before the RX path is fully initialized, sometimes resulting in RX errors
or RX ring full condition.

[Fix]

* Disable MAC RX filters in driver's probe() and only enable these RX
  filters in driver's open() when all initialization is completed.

[Test Case]

* On BlueField-2 and BlueField-3, do reboot and power cycle testing
* Check that "oob_net0" interface is up, IP is assigned, and there are no RX errors.

[Regression Potential]

* no known regression.

David Thompson (1):
  UBUNTU: SAUCE: mlxbf_gige: disable RX filters until RX path initialized

 .../ethernet/mellanox/mlxbf_gige/mlxbf_gige.h |  6 +++
 .../mellanox/mlxbf_gige/mlxbf_gige_main.c     |  8 +++
 .../mellanox/mlxbf_gige/mlxbf_gige_regs.h     |  2 +
 .../mellanox/mlxbf_gige/mlxbf_gige_rx.c       | 50 ++++++++++++++++---
 4 files changed, 60 insertions(+), 6 deletions(-)

-- 
2.30.1




More information about the kernel-team mailing list