Re: Query on new ethtool RSS hashing options

2021-03-08 Thread Andrew Lunn
> This is Marvell OcteonTx2/CN10K RVU controller > drivers/net/ethernet/marvell/octeontx2. > And no the controller doesn't have a internal switch and hence > currently there is no switchdev support. > The switch I referred to is an external one whose CPU port is > connected to this controller. Hi

Re: Query on new ethtool RSS hashing options

2021-03-08 Thread Sunil Kovvuri
On Fri, Mar 5, 2021 at 4:15 PM Sunil Kovvuri wrote: > > Hi, > > We have a requirement where in we want RSS hashing to be done on packet fields > which are not currently supported by the ethtool. > > Current options: > ehtool -n rx-flow-hash > tcp4|udp4|ah4|esp4|sctp4|tcp6|udp6|ah6|esp6|sctp6 m|v|

Re: Query on new ethtool RSS hashing options

2021-03-08 Thread Sunil Kovvuri
On Sat, Mar 6, 2021 at 6:48 PM Vladimir Oltean wrote: > > On Sat, Mar 06, 2021 at 06:04:14PM +0530, Sunil Kovvuri wrote: > > On Sat, Mar 6, 2021 at 5:47 AM Andrew Lunn wrote: > > > > > > On Fri, Mar 05, 2021 at 03:07:02PM -0800, Jakub Kicinski wrote: > > > > On Fri, 5 Mar 2021 16:15:51 +0530 Suni

Re: Query on new ethtool RSS hashing options

2021-03-08 Thread Sunil Kovvuri
On Sun, Mar 7, 2021 at 2:46 AM Tobias Waldekranz wrote: > > On Sat, Mar 06, 2021 at 14:54, Vladimir Oltean wrote: > > On Sat, Mar 06, 2021 at 05:38:14PM +0530, Sunil Kovvuri wrote: > >> > Can you share the format of the DSA tag? Is there a driver for it > >> > upstream? Do we need to represent it

Re: Query on new ethtool RSS hashing options

2021-03-08 Thread Sunil Kovvuri
On Sat, Mar 6, 2021 at 8:02 PM Andrew Lunn wrote: > > On Sat, Mar 06, 2021 at 06:04:14PM +0530, Sunil Kovvuri wrote: > > On Sat, Mar 6, 2021 at 5:47 AM Andrew Lunn wrote: > > > > > > On Fri, Mar 05, 2021 at 03:07:02PM -0800, Jakub Kicinski wrote: > > > > On Fri, 5 Mar 2021 16:15:51 +0530 Sunil Ko

Re: Query on new ethtool RSS hashing options

2021-03-06 Thread Tobias Waldekranz
On Sat, Mar 06, 2021 at 14:54, Vladimir Oltean wrote: > On Sat, Mar 06, 2021 at 05:38:14PM +0530, Sunil Kovvuri wrote: >> > Can you share the format of the DSA tag? Is there a driver for it >> > upstream? Do we need to represent it in union ethtool_flow_union? >> > >> >> No, there is no driver fo

Re: Query on new ethtool RSS hashing options

2021-03-06 Thread Andrew Lunn
On Sat, Mar 06, 2021 at 06:04:14PM +0530, Sunil Kovvuri wrote: > On Sat, Mar 6, 2021 at 5:47 AM Andrew Lunn wrote: > > > > On Fri, Mar 05, 2021 at 03:07:02PM -0800, Jakub Kicinski wrote: > > > On Fri, 5 Mar 2021 16:15:51 +0530 Sunil Kovvuri wrote: > > > > Hi, > > > > > > > > We have a requirement

Re: Query on new ethtool RSS hashing options

2021-03-06 Thread Vladimir Oltean
On Sat, Mar 06, 2021 at 06:04:14PM +0530, Sunil Kovvuri wrote: > On Sat, Mar 6, 2021 at 5:47 AM Andrew Lunn wrote: > > > > On Fri, Mar 05, 2021 at 03:07:02PM -0800, Jakub Kicinski wrote: > > > On Fri, 5 Mar 2021 16:15:51 +0530 Sunil Kovvuri wrote: > > > > Hi, > > > > > > > > We have a requirement

Re: Query on new ethtool RSS hashing options

2021-03-06 Thread Vladimir Oltean
On Sat, Mar 06, 2021 at 05:38:14PM +0530, Sunil Kovvuri wrote: > > Can you share the format of the DSA tag? Is there a driver for it > > upstream? Do we need to represent it in union ethtool_flow_union? > > > > No, there is no driver for this tag in the kernel. > I have attached the tag format. >

Re: Query on new ethtool RSS hashing options

2021-03-06 Thread Sunil Kovvuri
On Sat, Mar 6, 2021 at 5:47 AM Andrew Lunn wrote: > > On Fri, Mar 05, 2021 at 03:07:02PM -0800, Jakub Kicinski wrote: > > On Fri, 5 Mar 2021 16:15:51 +0530 Sunil Kovvuri wrote: > > > Hi, > > > > > > We have a requirement where in we want RSS hashing to be done on packet > > > fields > > > which a

Re: Query on new ethtool RSS hashing options

2021-03-05 Thread Andrew Lunn
On Fri, Mar 05, 2021 at 03:07:02PM -0800, Jakub Kicinski wrote: > On Fri, 5 Mar 2021 16:15:51 +0530 Sunil Kovvuri wrote: > > Hi, > > > > We have a requirement where in we want RSS hashing to be done on packet > > fields > > which are not currently supported by the ethtool. > > > > Current option

Re: Query on new ethtool RSS hashing options

2021-03-05 Thread Jakub Kicinski
On Fri, 5 Mar 2021 16:15:51 +0530 Sunil Kovvuri wrote: > Hi, > > We have a requirement where in we want RSS hashing to be done on packet fields > which are not currently supported by the ethtool. > > Current options: > ehtool -n rx-flow-hash > tcp4|udp4|ah4|esp4|sctp4|tcp6|udp6|ah6|esp6|sctp6 m|

Query on new ethtool RSS hashing options

2021-03-05 Thread Sunil Kovvuri
Hi, We have a requirement where in we want RSS hashing to be done on packet fields which are not currently supported by the ethtool. Current options: ehtool -n rx-flow-hash tcp4|udp4|ah4|esp4|sctp4|tcp6|udp6|ah6|esp6|sctp6 m|v|t|s|d|f|n|r Specifically our requirement is to calculate hash with D