From: Wenzhuo Lu Date: Mon, 26 Oct 2015 05:27:29 +0000 (+0800) Subject: app/testpmd: initialize new flow director masks X-Git-Tag: spdx-start~8299 X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=commitdiff_plain;h=47b3ac6b45a1c2bef5b620d3bf67a7ffeb545319 app/testpmd: initialize new flow director masks When a port is enabled, there're default values for the parameters of fdir mask. For the new parameters, the default values also need to be set. Signed-off-by: Wenzhuo Lu Acked-by: Konstantin Ananyev --- diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 2578b6b2a5..3cd3cd06a5 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -298,6 +298,9 @@ struct rte_fdir_conf fdir_conf = { }, .src_port_mask = 0xFFFF, .dst_port_mask = 0xFFFF, + .mac_addr_byte_mask = 0xFF, + .tunnel_type_mask = 1, + .tunnel_id_mask = 0xFFFFFFFF, }, .drop_queue = 127, };