Re: [dpdk-dev] [PATCH v7 6/8] net/i40e: add FDIR support for GTP-C and GTP-U

2017-10-04 Thread Wu, Jingjing
> @@ -975,27 +1003,30 @@ i40e_flow_fdir_fill_eth_ip_head(const struct > i40e_fdir_input > *fdir_input, > raw_pkt += sizeof(uint16_t); > len += sizeof(uint16_t); > > - switch (fdir_input->pctype) { > - case I40E_FILTER_PCTYPE_L2_PAYLOAD: > + if (is_customized_pctype) { > +

[dpdk-dev] [PATCH v7 6/8] net/i40e: add FDIR support for GTP-C and GTP-U

2017-09-29 Thread Beilei Xing
This patch adds FDIR support for GTP-C and GTP-U. The input set of GTP-C and GTP-U is TEID. Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_ethdev.h | 30 + drivers/net/i40e/i40e_fdir.c | 214 - drivers/net/i40e/i40e_flow.c | 267