![Broadcom Stingray PS225 Скачать руководство пользователя страница 12](http://html.mh-extra.com/html/broadcom/stingray-ps225/stingray-ps225_quick-start-manual_2815726012.webp)
Broadcom Confidential
5880X-PS225-UG101
12
PS225
User Guide
Quick Start Guide
3.4 Accessing the PS225 from an x86 Host
NOTE:
The instructions in this document assume that the GA 1.0.2 (or later) SmartNIC software release is preloaded on
the PS225. Contact Broadcom support regarding the software version that was delivered on the card. If a card is
delivered with older software, contact Broadcom support for upgrade procedures. The upgrade procedure
described in this document does not apply to releases earlier than GA 1.0.2.
When the PS225 boots up for the very first time, it assigns a fixed IP address of 192.168.1.10 to the first PF on the ARM side.
The x86 host can access this IP address after the following actions:
1. Install appropriate Layer 2 (L2) bnxt driver.
2. Assign IP address on the new x86 network interface.
3. Verify that the interface is up and check the link status (
ip link show
or
ifconfig
).
4. Establish an SSH connection from the x86 host to the SSH server running on the PS225 ARM Linux.
NOTE:
The initial IP address of the first interface on the PS225 card (192.168.1.10) can be changed by modifying
/etc/
network/interfaces
using either the serial console or after the first successful ssh to the card. The change in
/etc/network/interfaces
takes effect on the next reboot of the card. If the IP address is changed during the
active ssh session, ensure that the ssh reconnect is to the new IP address.
3.4.1 Installing L2 Driver on the x86 Host
The L2 driver source code can be provided as part of the SmartNIC release or as a separate release package. Before
running the following script, install the packages in advance that have dependency with L2 Driver:
sudo apt-get install cmake libpci-dev
1. If the driver is provided as part of the release package, run the provided install script.
Example:
./poky/images/bcm958802a8021/x86-host-install.sh
This script creates a subdirectory
brcm-nxt-l2-drv
where the driver is compiled. The current version of the install
script intentionally omits installing the driver as part of the kernel. An
insmod
must be used instead of
modprobe
, but
prior to using
insmod,
the dependency modules must be installed.
Example:
sudo modprobe ptp
sudo modprobe vxlan
sudo modprobe devlink
# from the top-level directory above poky:
sudo insmod brcm-nxt-l2-drv/git/main/Cumulus/drivers/linux/v3/bnxt_en.ko
Broadcom
Confidential
Содержание Stingray PS225
Страница 31: ...B r o a d c o m C o n f i d e n t i a l ...