GoogleCloudPlatform / compute-virtual-ethernet-linux

Compute Engine Virtual Ethernet Linux driver.
Other
69 stars 31 forks source link

Support for ethtool --set-rxfh-indir to set the RSS hash key and indirection table #55

Open charredlot opened 1 month ago

charredlot commented 1 month ago

It's often useful to set the RSS hash key and indirection table for network applications, would it be possible to add the ethtool API corresponding to --set-rxfh-indir (i.e. set_rxfh/get_rxfh in the kernel ethtool_ops)? It seems from the comment here https://github.com/GoogleCloudPlatform/compute-virtual-ethernet-linux/blob/f2385de65e6f7f5d21f6b8e0cc1e3eae9e502e78/build/gve_desc.h#L90 that it's using the typical Toeplitz hash, and it's common for NICs to support changing those parameters.

Thanks for your consideration!