Hi ,beilei > -----Original Message----- > From: Xing, Beilei > Sent: Tuesday, January 3, 2017 10:34 AM > To: Zhao1, Wei <[email protected]> > Subject: RE: [dpdk-dev] [PATCH v2 16/18] net/ixgbe: create consistent filter > > > -----Original Message----- > > From: dev [mailto:[email protected]] On Behalf Of Wei Zhao > > Sent: Friday, December 30, 2016 3:53 PM > > To: [email protected] > > Cc: Zhao1, Wei <[email protected]>; Lu, Wenzhuo > > <[email protected]> > > Subject: [dpdk-dev] [PATCH v2 16/18] net/ixgbe: create consistent > > filter > > > > This patch adds a function to create the flow directory filter. > > > > Signed-off-by: Wei Zhao <[email protected]> > > Signed-off-by: Wenzhuo Lu <[email protected]> > > > > --- > > > > v2: > > --add new error set function > > --- > > drivers/net/ixgbe/ixgbe_ethdev.c | 240 > > ++++++++++++++++++++++++++++++++++++++- > > drivers/net/ixgbe/ixgbe_ethdev.h | 5 + > > 2 files changed, 244 insertions(+), 1 deletion(-) > > > > @@ -1380,6 +1429,14 @@ eth_ixgbe_dev_init(struct rte_eth_dev > *eth_dev) > > > > /* initialize l2 tunnel filter list & hash */ > > ixgbe_l2_tn_filter_init(eth_dev); > > + > > + TAILQ_INIT(&filter_ntuple_list); > > + TAILQ_INIT(&filter_ethertype_list); > > + TAILQ_INIT(&filter_syn_list); > > + TAILQ_INIT(&filter_fdir_list); > > + TAILQ_INIT(&filter_l2_tunnel_list); > > + TAILQ_INIT(&ixgbe_flow_list); > > You need to destroy these lists in dev_unint function. > > > + > > return 0; > > } > >
Yes, I have add a function ixgbe_filterlist_flush() in 18/18 in dev_unint patch to flush these list.

