Skip to content

[nvidia-bluefield] Fix OFED compilation failure in latest NASA#142

Closed
vivekrnv wants to merge 3 commits intomasterfrom
fix_ofed_build_failure
Closed

[nvidia-bluefield] Fix OFED compilation failure in latest NASA#142
vivekrnv wants to merge 3 commits intomasterfrom
fix_ofed_build_failure

Conversation

@vivekrnv
Copy link
Owner

Why I did it

Latest NASA compilation in failing on Ubuntu 18.04 servers

Work item tracking
  • Microsoft ADO (number only):

How I did it

  1. Currently, installing a DKMS package generates modules against all the possible kernel targets (which includes the headers of build severs)
  2. Thus, restrict the compilation against the kernel headers used in SONIC image
  3. To achieve, 2 Added an ability to pass runtime options to -install targets
  4. Add the dependency on DKMS package to linux headers to fix the occasional build failures when run with individual targets

How to verify it

Verified the compilation finishes successfully

Which release branch to backport (provide reason below if selected)

  • 202205
  • 202211
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
…gets

Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
sudo dkms build kernel-mft-dkms/$(MFT_VERSION) -k $(KVERSION) -a arm64

# copy the built modules
# Note: Drivers are installed in DKMS_ROOT when the corresponding DKMS package is installed, no need to build again

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is also applicable for Mellanox platform MFT compilation. Can you update makefile there as well?

@vivekrnv vivekrnv closed this Oct 31, 2025
vivekrnv pushed a commit that referenced this pull request Feb 19, 2026
…ically (sonic-net#25551)

#### Why I did it
src/sonic-dash-ha
```
* a6cf697 - (HEAD -> master, origin/master, origin/HEAD) update dash-api submodule (3 hours ago) [Jing Zhang]
* 64022eb - Change convert_pb_to_json to parse proto encoded value from binary input (#142) (9 hours ago) [yue-fred-gao]
* 53fb250 - [ci] fix build error and save binaries (#144) (28 hours ago) [Jing Zhang]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants