Filtering Vf Traffic - Chelsio Communications Terminator Series Installation And User Manual

Unified wire for linux
Hide thumbs Also See for Terminator Series:
Table of Contents

Advertisement

Chapter XX. Classification and Filtering
[root@host~]# bridge fdb add 00:07:43:04:7D:50 dev eth1 self
vii. Both MAC entries should show up in MPS table. Run the following command to view the
table and note the index (idx field) of the entries:
[root@host~]# cat /sys/kernel/debug/cxgb4/0000\:01\:00.4/mps_tcam | more
viii. Create a filter to match incoming packet's dst-mac 00:07:43:12:d4:88 with particular mac-idx
and switch it out via eport 1:
[root@host~]# cxgbtool eth0 filter 100 macidx 5 action switch eport 1
hitcnts 1
ix. Create a filter to match incoming packet's dst-mac 00:07:43:04:7d:50 with particular mac-idx
and switch it out via eport 0:
[root@host~]# cxgbtool eth0 filter 101 macidx 7 action switch eport 0
hitcnts 1
2.7.

Filtering VF traffic

To filter VF traffic, replace the default filterMode in the firmware configuration file (t6-config.txt for
T6 adapters; t5-config.txt for T5 adapters) located in /lib/firmware/cxgb4/ with any combination
containing vnic_id.
filterMode = fragmentation, mpshittype, protocol, tos, vnic_id, port
The network driver needs to be reloaded next using the following command:
[root@host~]# rmmod cxgb4
[root@host~]# modprobe cxgb4
Instantiate the required VFs on the host and assign them to the Virtual Machines (VMs). Bring up
the VFs in the VMs and note the corresponding MAC addresses.
For information on VFs and instaniating them, please refer to
Note
Functions (SR-IOV)
Chelsio Unified Wire for Linux
section of the Virtual Function Network (vNIC) chapter.
Instantiate Virtual
284

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Terminator Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Terminator 6

Table of Contents