Enabling The Os Support; Configuration Example - HPE Edgeline EL300 Getting Started Manual

Converged edge system daughter card
Table of Contents

Advertisement

Enabling the OS Support

To illustrate the usage of the TSN daughter card, the MQPRIO kernel module should be installed.
To install the kernel module, perform the following steps:
1. Execute the following command to install the module:
dnf install -y
2. After installing the module, execute the following modprobe command to load it:
sudo modprobe sch_mqprio
3. Execute the following command to verify whether the module is available:
sudo lsmod|grep sch_mqprio
Here is a sample output of the above commands.
[admin@tsn1 ~]$ sudo lsmod|grep sch_mqprio
sch_mqprio
Now the MQPRIO module is loaded with the traffic shapers and it can be configured.

Configuration Example

In this section, how to setup network between two EL300s and configure those links for TSN traffic will be
explained. To configure the ports using the Traffic Class command (tc), two queuing disciplines
(qdiscs), MQPRIO and Credit Based Shaper (CBS) will need to be setup. CBS is used to shape traffic for
TSN daughter card.
Configuring the Test Systems
Before configuring the network, ensure that the networking is set up. An arbitrary private network of
192.168.11.0/24 is used in the examples. For example, assume that a user has two hosts tsn1 and
tsn2, with the addresses of 192.168.11.100 and 192.168.11.101 respectively. These two systems
are linked directly without a switch in between.
Configuring TSN1's Network
Execute the following command to configure the network on tsn1:
sudo nmcli con add con-name mw-eth4 ifname enp12s0 type ethernet
Execute the following command to verify the configuration:
ip a show enp12s0
This is an example of the command's usage and output.
[admin@tsn1 ~]$
8: enp12s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mqprio
link/ether 98:f2:b3:24:30:bf brd ff:ff:ff:ff:ff:ff
inet 192.168.11.100/24 brd 192.168.11.255 scope global
valid_lft forever preferred_lft forever
inet6 fe80::d9f1:1b26:5620:6d6/64 scope link noprefixroute
valid_lft forever preferred_lft forever
Configuring TSN2's Network
kernel-modules-extra-`uname -r`
20480
1
ip a show enp12s0
ip4 192.168.11.100/24
state UP group default qlen 1000
noprefixroute enp12s0
4x 1GB Ethernet with TSN Support Daughter Card
27

Advertisement

Table of Contents
loading

Table of Contents