Re: [dpdk-dev] [PATCH v2] net/i40e: fix issue of pctype doesn't take effect in X722

2018-01-15 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xing, Beilei > Sent: Monday, January 15, 2018 6:18 PM > To: Xu, Rosen; Zhang, Qi Z > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: fix issue of pctype doesn&

Re: [dpdk-dev] [PATCH v2] net/i40e: fix issue of pctype doesn't take effect in X722

2018-01-15 Thread Xing, Beilei
> -Original Message- > From: Xu, Rosen > Sent: Monday, January 15, 2018 6:06 PM > To: Xing, Beilei ; Zhang, Qi Z > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH v2] net/i40e: fix issue of pctype doesn't take effect in X722 > > Pctype should be setted after Port's MAC type setted,

[dpdk-dev] [PATCH v2] net/i40e: fix issue of pctype doesn't take effect in X722

2018-01-15 Thread Rosen Xu
Pctype should be setted after Port's MAC type setted, but in current code pctype is setted before Port's MAC type setted. Move pctype initialization after shared code initialization which initialize Port's MARC type. Fixes: a286ebeb0714 ("net/i40e: add dynamic mapping of SW flow types to HW pctyp