Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bfcfg
Original file line number Diff line number Diff line change
Expand Up @@ -3708,7 +3708,7 @@ bf4_cfg()
dump_mode=0

# Parse the arguments.
options=$(getopt -n bfcfgl: -o dhvl -l dump,dump-level:,help,version -- "$@")
options=$(getopt -n bfcfg -o dhvl: -l dump,dump-level:,help,version -- "$@")
eval set -- "$options"
while [ "$1" != -- ]; do
case $1 in
Expand Down
10 changes: 9 additions & 1 deletion bfup
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@
# of the authors and should not be interpreted as representing official policies,
# either expressed or implied, of the FreeBSD Project.

bf_chip=$(bffamily --chip)

if [ "$bf_chip" = "BlueField-4" ]; then
# Simply exit since most callers are scripts
# echo "${0##*/} is NOT supported for BlueField-4" >&2
exit 1
fi

/usr/bin/bfrshlog "Linux up"
/usr/bin/bfrshlog "DPU is ready"

Expand All @@ -41,4 +49,4 @@ echo 1 > "${os_up_path}"

/usr/bin/bfcfg -i 2>/dev/null
# Pass the DOCA version info to UEFI variable.
/usr/bin/bfcfg --docainfo 2>/dev/null
/usr/bin/bfcfg --docainfo 2>/dev/null