We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5200cbb commit ba56861Copy full SHA for ba56861
scripts/bfb-install
@@ -894,6 +894,12 @@ fi
894
check_nic_mode
895
896
if [ ${nic_mode} -eq 1 -a -n "${pcie_bd}" -a ${runtime} -eq 0 ]; then
897
+ # Set BREADCRUMB.BIT32 to indicate NIC mode.
898
+ breadcrumb1=$(${BF_REG} $(basename ${rshim_node}) 0x13000518.64 | awk '{print $3}')
899
+ breadcrumb1=$((breadcrumb1 | (0x1 << 32)))
900
+ breadcrumb1=$(printf "0x%x\n" $breadcrumb1)
901
+ ${BF_REG} $(basename ${rshim_node}) 0x13000518.64 ${breadcrumb1} >/dev/null
902
+
903
for i in 0 1; do
904
if [[ ! -e /sys/bus/pci/drivers/mlx5_core/${pcie_bd}.${i} ]]; then
905
[ ${verbose} -eq 1 ] && echo "Unbinding: Skipping originally unbound pf${i} (${pcie_bd}.${i})"
0 commit comments