Users Guide
Table Of Contents
- Table of Contents
- 1 Regulatory and Safety Approvals
- 2 Functional Description
- 3 Network Link and Activity Indication
- 4 Features
- 4.1 Software and Hardware Features
- 4.2 Virtualization Features
- 4.3 VXLAN
- 4.4 NVGRE/GRE/IP-in-IP/Geneve
- 4.5 Stateless Offloads
- 4.6 Priority Flow Control
- 4.7 Virtualization Offload
- 4.8 SR-IOV
- 4.9 Network Partitioning (NPAR)
- 4.10 Security
- 4.11 RDMA over Converged Ethernet – RoCE
- 4.12 VMWare Enhanced Networking Stack (ENS)
- 4.13 Supported Combinations
- 4.14 Unsupported Combinations
- 5 Installing the Hardware
- 6 Software Packages and Installation
- 7 Updating the Firmware
- 8 Link Aggregation
- 9 System-Level Configuration
- 10 PXE Boot
- 11 SR-IOV – Configuration and Use Case Examples
- 12 NPAR – Configuration and Use Case Example
- 13 Tunneling Configuration Examples
- 14 RoCE – Configuration and Use Case Examples
- 15 DCBX – Data Center Bridging
- 16 DPDK – Configuration and Use Case Examples
- Revision History
Broadcom NetXtreme-E-UG304-2CS
112
NetXtreme-E User Guide User Guide for Dell Platforms
14.2.5.6 DSCP vs. VLAN Mode
NCC has two operational modes: VLAN and DSCP. If your network uses VLAN tagging for traffic, the VLAN header is used
to track traffic priority values, necessary to separate RoCE traffic from other traffic for congestion control. If your network
uses DSCP tagging for traffic, the proper DSCP mapping is required to be set. In either case, the corresponding switch must
be configured correctly to ensure the priority (VLAN or DSCP) map to a specific traffic class priority on the switch that has
the ECN enabled and configured for the specified marking thresholds.
Determine the interface name of the NIC with the following command:
ifconfig -a
Create a boot-time configuration file for the interface.
14.2.5.6.1 Debian/Ubuntu
Add to /etc/network/interfaces:
auto <iface>
iface <iface> inet static
address w.x.y.z
netmask a.b.c.d
gateway e.f.g.h
<iface> must be in the form of <iface>.<vlan id> to use VLANs
14.2.5.6.2 RedHat/CentOS
1. Add to /etc/sysconfig/network-scripts/ifcfg-<iface>:
DEVICE=<iface>
ONBOOT=yes
BOOTPROTO=static
NM_CONTROLLED=no
NETMASK=a.b.c.d
IPADDR=w.x.y.z
# Uncomment below for VLAN
#VLAN=yes
#VLAN_EGRESS_PRIORITY_MAP=0:0,1:1,2:1,3:1,4:1,5:1,6:1,7:1
*<iface> must be in the form of <iface>.<vlan id> to use VLANs
2. Create an /etc/ifup-roce-<IFACE> script to allow boot-time RoCE configuration:
#!/bin/sh
sleep 2
/sbin/modprobe bnxt_re
sleep 5
/sbin/ethtool -A $IFACE autoneg off rx off tx off
sleep 2
#Using bnxtqos
bnxtqos -dev=$IFACE set_apptlv app=1,5,34
bnxtqos -dev=$IFACE set_apptlv app=1,1,35093
bnxtqos -dev=$IFACE set_apptlv app=1,3,4791