> -----Original Message-----
> From: Ye, Xiaolong
> Sent: Thursday, September 19, 2019 07:30
> To: Rong, Leyi <leyi.r...@intel.com>
> Cc: Wang, Haiyue <haiyue.w...@intel.com>; Lu, Wenzhuo <wenzhuo...@intel.com>; 
> Zhang, Qi Z
> <qi.z.zh...@intel.com>; dev@dpdk.org
> Subject: Re: [PATCH v3 3/5] net/ice: add protocol extraction support for per 
> Rx queue
> 
> On 09/17, Leyi Rong wrote:
> >From: Haiyue Wang <haiyue.w...@intel.com>
> >
> >The ice has the feature to extract protocol fields into flex descriptor
> >by programming per queue. Currently, the ice PMD will put the protocol
> >fields into rte_mbuf::udata64 with different type format. Application
> >can access the protocol fields quickly.
> >
[snip]
> >+
> >+    rte_kvargs_process(kvlist, ICE_PROTO_XTR_ARG,
> >+                       handle_proto_xtr_arg, devargs);
> 
> Do we need to check ret of rte_kvargs_process here and change 
> ice_parse_proto_xtr_devarg
> to return int?
> 

May be return error is a good idea, if the application wants to use it. I just
give a graceful warning message. Will change it, thanks!

                PMD_DRV_LOG(ERR,
                            "The protocol extraction parameter is wrong : '%s'",
                            value);
                return -1;

> >--
> >2.17.1
> >

Reply via email to