Re: [dpdk-dev] [PATCH v8 1/2] net/i40e: support input set configuration

2018-01-10 Thread Xing, Beilei
> -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, January 10, 2018 8:13 PM > To: Xing, Beilei ; Wu, Jingjing > ; Lu, Wenzhuo ; Zhang, Qi > Z > Cc: dev@dpdk.org; Chilikin, Andrey > Subject: Re: [dpdk-dev] [PATCH v8 1/2] net/i40e: support input set >

Re: [dpdk-dev] [PATCH v8 1/2] net/i40e: support input set configuration

2018-01-10 Thread Ferruh Yigit
On 1/8/2018 3:09 AM, Beilei Xing wrote: > +static inline int > +rte_pmd_i40e_inset_field_clear(uint64_t *inset, uint8_t field_idx) > +{ > + uint8_t bit_idx; > + > + if (field_idx > 63) > + return -1; > + > + bit_idx = 63 - field_idx; > + *inset = *inset & ~(1ULL << bit_i

[dpdk-dev] [PATCH v8 1/2] net/i40e: support input set configuration

2018-01-07 Thread Beilei Xing
This patch supports getting/setting input set info for RSS/FDIR/FDIR flexible payload. Also add some helper functions for input set configuration. Signed-off-by: Beilei Xing Acked-by: Qi Zhang --- drivers/net/i40e/rte_pmd_i40e.c | 141 ++ drivers/net/i40e/r