All of lore.kernel.org
 help / color / mirror / Atom feed
* Query on new ethtool RSS hashing options
@ 2021-03-05 10:45 Sunil Kovvuri
  2021-03-05 23:07 ` Jakub Kicinski
  2021-03-08 13:26 ` Sunil Kovvuri
  0 siblings, 2 replies; 14+ messages in thread
From: Sunil Kovvuri @ 2021-03-05 10:45 UTC (permalink / raw)
  To: Linux Netdev List, David S. Miller
  Cc: George Cherian, Subbaraya Sundeep, Sunil Goutham

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 <dev> 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 DSA tag (which
is inserted by switch) plus the TCP/UDP 4-tuple as input.

Is it okay to add such options to the ethtool ?
or will it be better to add a generic option to take pkt data offset
and number of bytes ?

Something like
ethtool -n <dev> rx-flow-hash tcp4 sdfn off <offset in the pkt> num
<number of bytes/bits>

Any comments, please.

Thanks,
Sunil.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-03-08 13:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-05 10:45 Query on new ethtool RSS hashing options Sunil Kovvuri
2021-03-05 23:07 ` Jakub Kicinski
2021-03-06  0:17   ` Andrew Lunn
2021-03-06 12:34     ` Sunil Kovvuri
2021-03-06 13:18       ` Vladimir Oltean
2021-03-08 13:25         ` Sunil Kovvuri
2021-03-08 13:42           ` Andrew Lunn
2021-03-06 14:32       ` Andrew Lunn
2021-03-08 13:19         ` Sunil Kovvuri
2021-03-06 12:08   ` Sunil Kovvuri
2021-03-06 12:54     ` Vladimir Oltean
2021-03-06 21:16       ` Tobias Waldekranz
2021-03-08 13:20         ` Sunil Kovvuri
2021-03-08 13:26 ` Sunil Kovvuri

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.