src/dpdk/drivers/net/e1000/igb_flow.c
static void
igb_clear_all_ntuple_filter(struct rte_eth_dev *dev)
{
	struct e1000_filter_info *filter_info =
		E1000_DEV_PRIVATE_TO_FILTER_INFO(dev->data->dev_private);
	struct e1000_5tuple_filter *p_5tuple;
	struct e1000_2tuple_filter *p_2tuple;

	while ((p_5tuple = TAILQ_FIRST(&filter_info->fivetuple_list)))
		igb_delete_5tuple_filter_82576(dev, p_5tuple);

	while ((p_2tuple = TAILQ_FIRST(&filter_info->twotuple_list)))
		igb_delete_2tuple_filter(dev, p_2tuple);
}
/* remove all the n-tuple filters */
remove all the n-tuple filters
remove all the n - tuple filters
static void
igb_clear_all_ntuple_filter(struct rte_eth_dev *dev)
{
	struct e1000_filter_info *filter_info =
		E1000_DEV_PRIVATE_TO_FILTER_INFO(dev->data->dev_private);
	struct e1000_5tuple_filter *p_5tuple;
	struct e1000_2tuple_filter *p_2tuple;
	while ((p_5tuple = TAILQ_FIRST(&filter_info->fivetuple_list)))
		igb_delete_5tuple_filter_82576(dev, p_5tuple);
	while ((p_2tuple = TAILQ_FIRST(&filter_info->twotuple_list)))
		igb_delete_2tuple_filter(dev, p_2tuple);
}
static void igb_clear_all_ntuple_filter ( struct rte_eth_dev * dev ) { struct e1000_filter_info * filter_info = E1000_DEV_PRIVATE_TO_FILTER_INFO ( dev -> data -> dev_private ) ; struct e1000_5tuple_filter * p_5tuple ; struct e1000_2tuple_filter * p_2tuple ; while ( ( p_5tuple = TAILQ_FIRST ( & filter_info -> fivetuple_list ) ) ) igb_delete_5tuple_filter_82576 ( dev , p_5tuple ) ; while ( ( p_2tuple = TAILQ_FIRST ( & filter_info -> twotuple_list ) ) ) igb_delete_2tuple_filter ( dev , p_2tuple ) ; }
remove all the n-tuple filters
remove all the n - tuple filters