
Chapter XV. Classification and Filtering
Copyright ©2013.Chelsio Communications. All Rights Reserved. Page 201
2. Usage
2.1. Configuration
The Classification and Filtering feature is configured by specifying the filter selection
combination set in the T4 firmware configuration file t4-config.txt located in /lib/firmware/cxgb4/
The following combination is set by default and packets will be matched accordingly:
filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe
Where,
fragmentation: Fragmented IP packets
mpshittype : MAC address "match type" (0=unicast, 1=unicast hash, 2=multicast, 3=multicast
hash, 4=PROM, 5=hyper PROM, 6=broadcast, 7=none)
protocol : IP protocol number (ICMP=1, TCP=6, UDP=17, etc)
vlan : Inner VLAN Tag
port : Packet ingress port number
fcoe : Fibre Channel over Ethernet frames
2.2. Creating Filter Rules
Network driver (cxgb4
done already, run the Unified Wire Installer with the appropriate T4 configuration tuning option
to install the Network Driver.
Next, run the following command to load the network driver:
[root@host]# modprobe cxgb4
Now, create filter rules using cxgbtool:
[root@host]# cxgbtool ethx filter <index> action [pass/drop/switch]
Comentarios a estos manuales