On Mon, Feb 27, 2023 at 12:07:17PM +0800, Jason Wang wrote: > Btw, this kind of 1:1 hash features seems not scalable and flexible. > It requires an endless extension on bits/fields. Modern NICs allow the > user to customize the hash calculation, for virtio-net we can allow to > use eBPF program to classify the packets. It seems to be more flexible > and scalable and there's almost no maintain burden in the spec (only > bytecode is required, no need any fancy features/interactions like > maps), easy to be migrated etc. > > Prototype is also easy, tun/tap had an eBPF classifier for years. > > Thanks
Yea BPF offload would be great to have. We have been discussing it for years though - security issues keep blocking it. *Maybe* it's finally going to be there but I'm not going to block this work waiting for BPF offload. And easily migrated is what BPF is not. -- MST --------------------------------------------------------------------- To unsubscribe, e-mail: virtio-dev-unsubscr...@lists.oasis-open.org For additional commands, e-mail: virtio-dev-h...@lists.oasis-open.org