RE: [RFC] ethdev: introduce entropy calculation

2024-01-21 Thread Ori Kam
Darawsheh > Subject: Re: [RFC] ethdev: introduce entropy calculation > > Hi Ori, > > sorry for delay with reply. > > On 12/17/23 13:07, Ori Kam wrote: > > Hi Andrew, > > > >> -Original Message- > >> From: Andrew Rybchenko > >> S

Re: [RFC] ethdev: introduce entropy calculation

2024-01-11 Thread Andrew Rybchenko
Hi Ori, sorry for delay with reply. On 12/17/23 13:07, Ori Kam wrote: Hi Andrew, -Original Message- From: Andrew Rybchenko Sent: Saturday, December 16, 2023 11:19 AM On 12/10/23 11:30, Ori Kam wrote: When offloading rules with the encap action, the HW may calculate entropy based o

RE: [RFC] ethdev: introduce entropy calculation

2024-01-07 Thread Ori Kam
Hi > -Original Message- > From: Thomas Monjalon > Sent: Thursday, January 4, 2024 8:19 PM > > 04/01/2024 15:33, Ori Kam: > > Hi Cristian, > > > > > From: Dumitrescu, Cristian > > > Sent: Thursday, January 4, 2024 2:57 PM > > > > > >> > > > > > >> And unless this is specifically defined

Re: [RFC] ethdev: introduce entropy calculation

2024-01-04 Thread Thomas Monjalon
04/01/2024 15:33, Ori Kam: > Hi Cristian, > > > From: Dumitrescu, Cristian > > Sent: Thursday, January 4, 2024 2:57 PM > > > > >> > > > > >> And unless this is specifically defined as 'entropy' in spec, I am > > > > >> too > > > > >> for rename. > > > > >> > > > > >> At least in VXLAN spec, it i

RE: [RFC] ethdev: introduce entropy calculation

2024-01-04 Thread Ori Kam
Hi Cristian, > -Original Message- > From: Dumitrescu, Cristian > Sent: Thursday, January 4, 2024 2:57 PM > > > >> > > > >> And unless this is specifically defined as 'entropy' in spec, I am too > > > >> for rename. > > > >> > > > >> At least in VXLAN spec, it is mentioned that this field

RE: [RFC] ethdev: introduce entropy calculation

2024-01-04 Thread Dumitrescu, Cristian
rawsheh > > Subject: RE: [RFC] ethdev: introduce entropy calculation > > Hi Andrew, Stephen, Ferruh and Thomas, > > > -Original Message- > > From: Andrew Rybchenko > > Sent: Saturday, December 16, 2023 11:04 AM > > > > On 12/15/23 19:21, Thomas

RE: [RFC] ethdev: introduce entropy calculation

2023-12-27 Thread Ori Kam
Hi Andrew, Stephen, Ferruh and Thomas, > -Original Message- > From: Andrew Rybchenko > Sent: Saturday, December 16, 2023 11:04 AM > > On 12/15/23 19:21, Thomas Monjalon wrote: > > 15/12/2023 14:44, Ferruh Yigit: > >> On 12/14/2023 5:26 PM, Stephen Hemminger wrote: > >>> On Thu, 14 Dec 20

RE: [RFC] ethdev: introduce entropy calculation

2023-12-17 Thread Ori Kam
Hi Andrew, > -Original Message- > From: Andrew Rybchenko > Sent: Saturday, December 16, 2023 11:19 AM > > On 12/10/23 11:30, Ori Kam wrote: > > When offloading rules with the encap action, the HW may calculate entropy > based on the encap protocol. > > Each HW can implement a different a

Re: [RFC] ethdev: introduce entropy calculation

2023-12-16 Thread Andrew Rybchenko
On 12/10/23 11:30, Ori Kam wrote: When offloading rules with the encap action, the HW may calculate entropy based on the encap protocol. Each HW can implement a different algorithm. When the application receives packets that should have been encaped by the HW, but didn't reach this stage yet (f

Re: [RFC] ethdev: introduce entropy calculation

2023-12-16 Thread Andrew Rybchenko
On 12/15/23 19:21, Thomas Monjalon wrote: 15/12/2023 14:44, Ferruh Yigit: On 12/14/2023 5:26 PM, Stephen Hemminger wrote: On Thu, 14 Dec 2023 17:18:25 + Ori Kam wrote: Since encap groups number of different 5 tuples together, if HW doesn’t know how to RSS based on the inner application w

Re: [RFC] ethdev: introduce entropy calculation

2023-12-15 Thread Thomas Monjalon
15/12/2023 14:44, Ferruh Yigit: > On 12/14/2023 5:26 PM, Stephen Hemminger wrote: > > On Thu, 14 Dec 2023 17:18:25 + > > Ori Kam wrote: > > > Since encap groups number of different 5 tuples together, if HW doesn’t > know > how to RSS > based on the inner application will

Re: [RFC] ethdev: introduce entropy calculation

2023-12-15 Thread Ferruh Yigit
On 12/14/2023 5:26 PM, Stephen Hemminger wrote: > On Thu, 14 Dec 2023 17:18:25 + > Ori Kam wrote: > Since encap groups number of different 5 tuples together, if HW doesn’t know how to RSS based on the inner application will not be able to get any distribution of >

Re: [RFC] ethdev: introduce entropy calculation

2023-12-14 Thread Stephen Hemminger
On Thu, 14 Dec 2023 17:18:25 + Ori Kam wrote: > > > Since encap groups number of different 5 tuples together, if HW doesn’t > > > know > > > how to RSS > > > based on the inner application will not be able to get any distribution > > > of > > packets. > > > > > > This value is used to r

RE: [RFC] ethdev: introduce entropy calculation

2023-12-14 Thread Ori Kam
ssage- > > From: Ori Kam > > Sent: Thursday, December 14, 2023 2:17 PM > > To: Ferruh Yigit ; Dariusz Sosnowski > > ; Dumitrescu, Cristian > > ; NBU-Contact-Thomas Monjalon > (EXTERNAL) > > ; Andrew Rybchenko > > > > Cc: dev@dpdk.org; Raslan

RE: [RFC] ethdev: introduce entropy calculation

2023-12-14 Thread Dumitrescu, Cristian
Contact-Thomas Monjalon (EXTERNAL) > ; Andrew Rybchenko > > Cc: dev@dpdk.org; Raslan Darawsheh > Subject: RE: [RFC] ethdev: introduce entropy calculation > > Hi Ferruh, > > > -Original Message- > > From: Ferruh Yigit > > Sent: Thursday, December

RE: [RFC] ethdev: introduce entropy calculation

2023-12-14 Thread Ori Kam
Hi Ferruh, > -Original Message- > From: Ferruh Yigit > Sent: Thursday, December 14, 2023 1:35 PM > > On 12/10/2023 8:30 AM, Ori Kam wrote: > > When offloading rules with the encap action, the HW may calculate entropy > based on the encap protocol. > > Each HW can implement a different al

Re: [RFC] ethdev: introduce entropy calculation

2023-12-14 Thread Ferruh Yigit
On 12/10/2023 8:30 AM, Ori Kam wrote: > When offloading rules with the encap action, the HW may calculate entropy > based on the encap protocol. > Each HW can implement a different algorithm. > Hi Ori, Can you please provide more details what this 'entropy' is used for, what is the usecase? >

RE: [RFC] ethdev: introduce entropy calculation

2023-12-12 Thread Dariusz Sosnowski
> Subject: [RFC] ethdev: introduce entropy calculation > > When offloading rules with the encap action, the HW may calculate entropy > based on the encap protocol. > Each HW can implement a different algorithm. > > When the application receives packets that should have been encaped by the > HW, b