Chapter 7. Classification and Filtering
7.2.6. Listing Filter Rules
To list the filters set on a port, run the following command:
cxgbe> debug filters <port_id>
Example:
7.2.7. Hit Counters
To verify if the filter rule set is honoured, list the filter rule and observe the hit counters (Hits
parameter) incrementing.
7.2.8. Removing Filter Rules
To remove a filter rule, use the del operation as given below. Please note that all the
parameters mentioned are mandatory:
cxgbe> filter <port_id> del <ip_version> mode <filter_mode> <priority>
ingress-port <iport> <iport_mask> fcoe <fcoe_bit> <fcoe_bit_mask>
mac-match-type <match_type> mac-index <macidx> <macidx_mask> ether
<ether_type> <ether_type_mask> vlan <inner_vlan> <inner_vlan_mask>
<outer_vlan> <outer_vlan_mask> ip <frag_bit> <frag_bit_mask> <tos>
<tos_mask> <proto> <proto_mask> <src_ip_address> <src_ip_mask>
<dst_ip_address> <dst_ip_mask> <src_port> <src_port_mask> <dst_port>
<dst_port_mask> <action> queue <queue_id> <egress_port_redirect>
<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 <fd_id_value>
Chelsio DPDK Driver for Linux
32
Need help?
Do you have a question about the DPDK and is the answer not in the manual?
Questions and answers