app/testpmd: set default flow director mask
This patch sets the default value of flow director's mask. Signed-off-by: Jingjing Wu <jingjing.wu@intel.com> Acked-by: Helin Zhang <helin.zhang@intel.com>
This commit is contained in:
parent
7c554b4f04
commit
d9d5e6f2f0
@ -286,6 +286,19 @@ struct rte_fdir_conf fdir_conf = {
|
||||
.mode = RTE_FDIR_MODE_NONE,
|
||||
.pballoc = RTE_FDIR_PBALLOC_64K,
|
||||
.status = RTE_FDIR_REPORT_STATUS,
|
||||
.mask = {
|
||||
.vlan_tci_mask = 0x0,
|
||||
.ipv4_mask = {
|
||||
.src_ip = 0xFFFFFFFF,
|
||||
.dst_ip = 0xFFFFFFFF,
|
||||
},
|
||||
.ipv6_mask = {
|
||||
.src_ip = {0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF},
|
||||
.dst_ip = {0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF},
|
||||
},
|
||||
.src_port_mask = 0xFFFF,
|
||||
.dst_port_mask = 0xFFFF,
|
||||
},
|
||||
.drop_queue = 127,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user