[dpdk-dev] [PATCH] i40e: fix flexible payload selection

2016-06-09 Thread Bruce Richardson
On Thu, Jun 02, 2016 at 03:30:57AM +0800, Zhe Tao wrote: > On Thu, May 12, 2016 at 04:11:40PM +0800, Jingjing Wu wrote: > > When setting up flexible payload selection rules, it is allowed > > that setting value to 63 to disable the rule (NONUSE_FLX_PIT_DEST_OFF). > > However, MK_FLX_PIT macro is al

[dpdk-dev] [PATCH] i40e: fix flexible payload selection

2016-06-02 Thread Zhe Tao
On Thu, May 12, 2016 at 04:11:40PM +0800, Jingjing Wu wrote: > When setting up flexible payload selection rules, it is allowed > that setting value to 63 to disable the rule (NONUSE_FLX_PIT_DEST_OFF). > However, MK_FLX_PIT macro is always adding an offset value 50 > (I40E_FLX_OFFSET_IN_FIELD_VECTOR

[dpdk-dev] [PATCH] i40e: fix flexible payload selection

2016-05-12 Thread Jingjing Wu
When setting up flexible payload selection rules, it is allowed that setting value to 63 to disable the rule (NONUSE_FLX_PIT_DEST_OFF). However, MK_FLX_PIT macro is always adding an offset value 50 (I40E_FLX_OFFSET_IN_FIELD_VECTOR), it will be set to "63 + 50" and when setting NONUSE_FLX_PIT_DEST_O