[dpdk-dev] [PATCH 4/4] net/ice: rework switch filter
Zhao1, Wei
wei.zhao1 at intel.com
Mon Sep 9 05:03:56 CEST 2019
Ok, Update in v2
> -----Original Message-----
> From: Ye, Xiaolong
> Sent: Sunday, September 8, 2019 8:04 PM
> To: Wang, Ying A <ying.a.wang at intel.com>
> Cc: Zhang, Qi Z <qi.z.zhang at intel.com>; Yang, Qiming
> <qiming.yang at intel.com>; dev at dpdk.org; Zhao1, Wei <wei.zhao1 at intel.com>
> Subject: Re: [PATCH 4/4] net/ice: rework switch filter
>
> On 09/04, Ying Wang wrote:
> [snip]
> >+
> >+static void
> >+ice_free_switch_filter_rule(struct rte_flow *flow) {
> >+ struct ice_rule_query_data *filter_ptr;
> >+
> >+ filter_ptr = (struct ice_rule_query_data *)
> >+ flow->rule;
> >+
> >+ rte_free(filter_ptr);
>
> What about directly call rte_free(flow->rule); ?
More information about the dev
mailing list