Upgrading to Doca 1.1

Hi all,
I had installed doca 1.0 and trying to upgrade it to the new version 1.1
But I’m getting the following error when trying to install doca-tools:

sudo apt install doca-tools

Reading package lists… Done

Building dependency tree

Reading state information… Done

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

doca-tools : Depends: doca-dpi-tools (= 1.1.024-1) but 21.03.038-1 is to be installed

E: Unable to correct problems, you have held broken packages.

Also, when following the documents, it requires to restart networking, I’m using ubuntu 20.04 but the only two files in /etc/init.d are network-manager and ntp

How should I run: * /etc/init.d/networking restart ?

I was able to reproduce this issue. You can work past this by doing an apt purge for doca-dpi-tools then trying the install again.

So do this:
root@bluefield2:~# sudo apt purge doca-dpi-tools

Then, retry your sudo apt install doca-tools

For your second question there about restarting networking the ubuntu instructions are incorrect thanks for raising this.

The step says:

7. Execute network restart for implemented tmfifo_net0 static configuration.

For Ubuntu, the ip address is added using netplan. So to apply this configuration, the command should be:

sudo netplan apply

Thanks a lot,
One more question, I have put two Bluefield2 in one server, what would be the ssh for the second card?
I know 192.168.100.2 is preconfigured for the first card, what happens to the second card? and should I add something similar for tmfifo_net1 in the /etc/netplan/01-netcfg.yaml file ?

tmfifo_net0:
addresses: [192.168.100.1/24]
dhcp4: no

You’ll have to manage the IP addressing manually. Keep the x86 host as 192.168.100.1/24, but as part of your DPU configuration, change the address from 192.168.100.2/24 to another address in that subnet. That way, as more DPUs are added and setup, they will be hard coded with .2 and you can obtain access to the new card.