Kevin Traynor, May 24, 2023 at 16:06:
> Hmm, not sure on this one. I have a feeling that having a 'hash' mode
> for tx-steering that only applies to vhost devices, and 'hash' mode
> for rx-steering that only applies to NICs means people will miss the
> subtlety and try to enable the wrong hash mode on the wrong device :-)
> So 'rss' might make it more distinct.
"rss" is fine then.
> Any reason for '+' ? I think commas are used more frequently. If it
> needed to be extended in future for some extra config, then adding
> 'key:value' pairs would be seamlessly. e.g. =rss:<reta size?>,
> lacp:<num of queues?>
The "rss" item should be mandatory anyway. There should be no way to
disable it. I assume that it is what Ilya meant with these "+" symbols.
That would leave us with these examples:
# lacp+bfd on separate queue, rss on other queues
options:rx-steering=rss,lacp,bfd
# same
options:rx-steering=lacp,bfd,rss
# only regular rss, same as no config at all
options:rx-steering=rss
# invalid configurations
options:rx-steering=lacp
options:rx-steering=
options:rx-steering=bfd,lacp
What do you think?
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev