Re: [dpdk-dev] mlx5 reta size is dynamic

2018-03-22 Thread Hanoch Haim (hhaim)
élio Laranjeiro [mailto:nelio.laranje...@6wind.com] Sent: Thursday, March 22, 2018 2:29 PM To: Hanoch Haim (hhaim) Cc: Yongseok Koh; dev@dpdk.org Subject: Re: [dpdk-dev] mlx5 reta size is dynamic Hi, On Thu, Mar 22, 2018 at 10:59:36AM +, Hanoch Haim (hhaim) wrote: > Hi, > > 1) Regarding this sent

Re: [dpdk-dev] mlx5 reta size is dynamic

2018-03-22 Thread Nélio Laranjeiro
nd.com] > Sent: Thursday, March 22, 2018 12:46 PM > To: Hanoch Haim (hhaim) > Cc: Yongseok Koh; dev@dpdk.org > Subject: Re: [dpdk-dev] mlx5 reta size is dynamic > > Hi Hanoch, > > On Thu, Mar 22, 2018 at 10:00:45AM +, Hanoch Haim (hhaim) wrote: > > Hi Nelio, > >

Re: [dpdk-dev] mlx5 reta size is dynamic

2018-03-22 Thread Hanoch Haim (hhaim)
nge it under traffic and it works >without issue. Drivers tested are: igbe/i40e/mlx5 Thanks, Hanoh -Original Message- From: Nélio Laranjeiro [mailto:nelio.laranje...@6wind.com] Sent: Thursday, March 22, 2018 12:46 PM To: Hanoch Haim (hhaim) Cc: Yongseok Koh; dev@dpdk.org Subject: Re: [dpd

Re: [dpdk-dev] mlx5 reta size is dynamic

2018-03-22 Thread Nélio Laranjeiro
o the documentation of struct rte_eth_rss_conf, only the i40e can have a key len different from 40 bytes, others should just ignore the field [1]. Regards, [1] https://dpdk.org/browse/dpdk/tree/lib/librte_ether/rte_ethdev.h#n380 > Hanoh > > -Original Message- > From: Nélio Lara

Re: [dpdk-dev] mlx5 reta size is dynamic

2018-03-22 Thread Hanoch Haim (hhaim)
< not round of 64 , depends on the number of rx queues Hanoh -Original Message- From: Nélio Laranjeiro [mailto:nelio.laranje...@6wind.com] Sent: Thursday, March 22, 2018 11:28 AM To: Hanoch Haim (hhaim) Cc: Yongseok Koh; dev@dpdk.org Subject: Re: [dpdk-dev] mlx5 reta size is dynamic Hi

Re: [dpdk-dev] mlx5 reta size is dynamic

2018-03-22 Thread Nélio Laranjeiro
his correct? Thanks, > Thanks, > Hanoh > > > -Original Message- > From: Nélio Laranjeiro [mailto:nelio.laranje...@6wind.com] > Sent: Thursday, March 22, 2018 10:55 AM > To: Hanoch Haim (hhaim) > Cc: Yongseok Koh; dev@dpdk.org > Subject: Re: [dpdk-dev] mlx5

Re: [dpdk-dev] mlx5 reta size is dynamic

2018-03-22 Thread Hanoch Haim (hhaim)
018 10:55 AM To: Hanoch Haim (hhaim) Cc: Yongseok Koh; dev@dpdk.org Subject: Re: [dpdk-dev] mlx5 reta size is dynamic On Thu, Mar 22, 2018 at 06:52:53AM +, Hanoch Haim (hhaim) wrote: > Hi Yongseok, > > > RSS has a DPDK API,application can ask for the reta table size and > conf

Re: [dpdk-dev] mlx5 reta size is dynamic

2018-03-22 Thread Nélio Laranjeiro
ailto:ys...@mellanox.com] > Sent: Wednesday, March 21, 2018 11:48 PM > To: Hanoch Haim (hhaim) > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] mlx5 reta size is dynamic > > On Wed, Mar 21, 2018 at 06:56:33PM +, Hanoch Haim (hhaim) wrote: > > Hi mlx5 driver expert,

Re: [dpdk-dev] mlx5 reta size is dynamic

2018-03-21 Thread Hanoch Haim (hhaim)
: Wednesday, March 21, 2018 11:48 PM To: Hanoch Haim (hhaim) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] mlx5 reta size is dynamic On Wed, Mar 21, 2018 at 06:56:33PM +, Hanoch Haim (hhaim) wrote: > Hi mlx5 driver expert, > > DPDK: 17.11 > Any reason mlx5 driver change the rate table size dynam

Re: [dpdk-dev] mlx5 reta size is dynamic

2018-03-21 Thread Yongseok Koh
On Wed, Mar 21, 2018 at 06:56:33PM +, Hanoch Haim (hhaim) wrote: > Hi mlx5 driver expert, > > DPDK: 17.11 > Any reason mlx5 driver change the rate table size dynamically based on the rx- > queues# ? The device only supports 2^n-sized indirection table. For example, if the number of Rx queues

[dpdk-dev] mlx5 reta size is dynamic

2018-03-21 Thread Hanoch Haim (hhaim)
Hi mlx5 driver expert, DPDK: 17.11 Any reason mlx5 driver change the rate table size dynamically based on the rx- queues# ? There is a hidden assumption that the user wants to distribute the packets evenly which is not always correct. /* If the requested number of RX queues is not a power of tw