[dpdk-dev] [PATCH v3 2/3] net/ice: enable protocol agnostic flow offloading in RSS
Xu, Ting
ting.xu at intel.com
Thu Nov 4 04:29:34 CET 2021
> -----Original Message-----
> From: Yigit, Ferruh <ferruh.yigit at intel.com>
> Sent: Wednesday, November 3, 2021 10:13 PM
> To: Xu, Ting <ting.xu at intel.com>; dev at dpdk.org
> Cc: Zhang, Qi Z <qi.z.zhang at intel.com>; Yang, Qiming
> <qiming.yang at intel.com>; Guo, Junfeng <junfeng.guo at intel.com>
> Subject: Re: [dpdk-dev] [PATCH v3 2/3] net/ice: enable protocol agnostic flow
> offloading in RSS
>
> On 11/2/2021 1:49 AM, Ting Xu wrote:
> > +static int
> > +ice_hash_rem_raw_cfg(struct ice_adapter *ad,
> > + struct ice_parser_profile *prof,
> > + u16 vsi_handle)
> > +{
> > + struct ice_hw *hw = &ad->hw;
> > + int ptg, ret;
> > + u16 vsig;
> > + u64 id;
> > +
> > + id = (u64)ice_find_first_bit(prof->ptypes, 0xFFFF);
> > +
> > + ptg = hw->blk[ICE_BLK_RSS].xlt1.t[id];
> > +
> > + memset(&ad->rss_prof_info[ptg], 0,
> > + sizeof(struct ice_rss_prof_info));
> > +
> > + /* check if vsig is already removed */
> > + ret = ice_vsig_find_vsi(hw, ICE_BLK_RSS,
> > + ice_get_hw_vsi_num(hw, vsi_handle), &vsig);
> > + if (!ret && vsig) {
> > + ret = ice_rem_prof_id_flow(hw, ICE_BLK_RSS,
> > + ice_get_hw_vsi_num(hw,
> vsi__handle),
>
> The set doesn't compile, 'vsi__handle' is not defined.
>
> Most probably it is a typo for 'vsi_handle', but I was reluctant to fix it in next-
> net. If the code sent without compiling, there may be other issues missed, can
> you please check the set again, build it, test it and send a new version?
>
> Thanks,
> Ferruh
Hi, Ferruh, Sorry for the missing check since I was hurried when submitted this patchset after update.
A new version is sent now with build and test passed. Thanks!
More information about the dev
mailing list