[dpdk-dev] [PATCH] net/iavf: fix rte flow error log issue

Zhang, Qi Z qi.z.zhang at intel.com
Sat May 9 08:21:44 CEST 2020



> -----Original Message-----
> From: Guo, Jia <jia.guo at intel.com>
> Sent: Saturday, May 9, 2020 4:59 AM
> To: Xing, Beilei <beilei.xing at intel.com>; Ye, Xiaolong
> <xiaolong.ye at intel.com>; Yang, Qiming <qiming.yang at intel.com>; Wu,
> Jingjing <jingjing.wu at intel.com>
> Cc: Zhang, Qi Z <qi.z.zhang at intel.com>; dev at dpdk.org; Lu, Wenzhuo
> <wenzhuo.lu at intel.com>; Guo, Jia <jia.guo at intel.com>
> Subject: [PATCH] net/iavf: fix rte flow error log issue
> 
> When processing a rte flow, such as creating a parse engine, or creating or
> destroying a rss rule, if they are failed, they all need to construct the flow
> error structure before return the error message back to app. If not so, it will
> cause app crash when app printing the message out of a flow error.
> 
> Fixes: 7be10c3004be ("net/iavf: add RSS configuration for VF")
> Fixes: ff2d0c345c3b ("net/iavf: support generic flow API")
> Signed-off-by: Jeff Guo <jia.guo at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>



More information about the dev mailing list