Chelsio Communications DPDK Installation And User Manual page 29

Driver for linux
Table of Contents

Advertisement

Chapter 7. Classification and Filtering
egress_port
mac_addr_rewrite
src_mac
dst_mac
vlan_operation
new_vlan
nat_operation
nat_src_ip
nat_dst_ip
nat_src_port
nat_dst_port
fd_id_value
*
To calculate the range of possible values, please use the U32 Port Masks Calculator at
http://blog.of.geek.nz/2012/07/22/u32-port-masks-calculator/
Chelsio DPDK Driver for Linux
0-3
ether-none,mac-rewrite,
mac-swap
Valid MAC address
Valid MAC address
vlan-none,vlan-insert,
vlan-rewrite,vlan-delete
0-4095
nat-none, nat-rewrite
Valid IP address
Valid IP address
0-65535
0-65535
0-495
port-redirect: Redirect to the egress port
Egress port ID
MAC address rewrite
ether-none: No rewrite or swap
mac-rewrite: Rewrite MAC address based on
the values provided for src_mac and dst_mac.
mac-swap: Interchange the MAC addresses of
source and destination.
Note: mac-swap currently not supported.
Source MAC address to be changed when
mac_addr_rewrite is set to mac-rewrite.
Destination MAC address to be changed when
mac_addr_rewrite is set to mac-rewrite.
VLAN ID operation
vlan-none: No action
vlan-insert: Insert VLAN ID specified in
new_vlan
vlan-rewrite: Change VLAN ID to the one
specified in new_vlan
vlan-delete: Delete VLAN ID
VLAN ID. Applicable when vlan_operation is
set to vlan-insert or vlan-rewrite.
NAT operation
nat-none: No NAT
nat-rewrite: Rewrite IP address and port
Note: nat_operation currently not supported.
Source IP address that needs to be translated
to.
Destination IP address that needs to be
translated to.
Source port that needs to be translated to.
Destination port that needs to be translated to.
Filter ID
Note: The rule with the lowest filter ID takes the
highest precedence.
29

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents