...
Console over USB-Serial / Serial Port properties: Rate 115200, HW Flow Control OFF.
|
Console over USB (rshim_usb) / Serial Port properties: Rate 115200, HW Flow Control OFF
minicom -D /dev/rshim0/console |
SSH (rshim_net)
|
...
Note
...
SmartNIC OS is configured to obtain internet access via its hosting server.
...
Basic SmartNIC Management Operations
How-to soft reset the SmartNIC via host server:
Issue the following command on the server:
|
Follow the boot process using console access:
|
Note
This is not a power cycle of the SmartNIC.
...
How-to load BlueField SmartNIC OS image from hosting server:
Place bfb image on the server
Issue the following command on the server:
|
Follow the installation and boot process using the console access:
|
...
SmartNIC Modes
BlueField SmartNIC can operate in two modes:
SEPERATED_HOST (default mode)
In this mode, both the x86 hosting server and the SmartNIC Arm OS act as separated entities; Both can use and communicate with each other or the network via the ConnectX-5 module of the SmartNIC.
EMBEDDED
In this mode, the x86 hosting server communicates with the outer world only through the SmartNIC Arm.
Note
In order to identify the SmartNIC current mode, issue the following commands on the x86 hosting server:
|
Switching to EMBEDDED Mode from SEPERATED_HOST Mode
On the x86 host:
Enable EMBEDDED mode:
|
Reboot.
Verify:
|
On the Arm:
Issue the following commands to enable ECPF parameters (applied per port):
Note
The ECPF parameters will be available for setting only after completing the previous steps.
|
Reboot the x86 host.
Verify configuration:
Once the procedure is completed, issue the following command on both the x86 host and the Arm:
|
On x86 host: the output should list two net devices.
|
On Arm: the output should list four representors:
|
Issue the following commands on the Arm to see the correlation between PCI device and its representors:
|
Note
The rep0-0 / rep1-0 are the representors facing the x86 host and the rep0-ffff / rep1-ffff are the representors facing the network.
Switching to SEPERATED_HOST Mode from EMBEDDED Mode
On the x86 host:
Enable SEPERATED_HOST mode:
|
Reboot.
Verify:
|
Testing Traffic in EMBEDDED Mode using DPDK
In Embedded mode, traffic from the x86 server hosting the SmartNIC to the remote x86 server hosting the ConnectX-5 is going via the SmartNIC Arm.
DPDK application is used to forward the traffic and bypass Arm OS kernel. Follow the configuration steps below to test it.
On the Arm
Stop OVS:
|
Verify hugetlbfs is mounted:
|
if not, mount it:
|
Set Hugepages:
|
Verify hugepages were allocated (look for HugePages_Total and Free):
|
Identify the SmartNIC PCI device ID:
|
Start testPMD application while probing the representors (pci device is 03:00.0):
|
Set IPs on both x86 host and ConnectX-5 host and test connectivity with ping (it will be forwarded by the Arm DPDK)
On the ConnectX-5 external host start iperf server:
|
On the x86 host, start iperf client:
|
While the test is running, you can check traffic statistics on Arm testPMD:
|
Install Bare Metal Jump Host
...
N/A
Creating a Node Inventory File
...
N/A
Creating the Settings Files
...
N/A
Running
...
N/A
Bare Metal Deployment Guide
...
N/A
Virtual Deployment Guide
N/A
Standard Deployment Overview
...
N/A
Snapshot Deployment Overview
...
N/A
Special Requirements for Virtual Deployments
...
N/A
Install Jump Host
...
N/A
Verifying the Setup - VMsNA
Upstream Deployment Guide
Upstream Deployment Key Features
...
N/A
Special Requirements for Upstream Deployments
...
N/A
Scenarios and Deploy Settings for Upstream DeploymentsNA
Including Upstream Patches with DeploymentNA
RunningNA
Interacting with Containerized OvercloudNA
Verifying the Setup as defined the Akraino validation feature project plus any additional testing specific to the blue printNA
Developer Guide and Troubleshooting
Utilization of ImagesNA
Post-deployment ConfigurationNA
Debugging FailuresNA
Reporting a BugNA
Uninstall GuideNA
Troubleshooting
Error Message GuideNA
Maintenance
Blue Print Package Maintenance
Software maintenance
NA
Hardware maintenance
NA
Blue Print Deployment Maintenance
NA
Frequently Asked Questions
NA
License
NA
References
NA
Definitions, acronyms and abbreviations/* End of Template */
NA