On Fri, 6 Jul 2018 18:00:13 -0700, Alexei Starovoitov wrote: > On Fri, Jul 06, 2018 at 05:40:43PM -0700, Jakub Kicinski wrote: > > > > Could we just say that at the start we expose only existing SKB fields > > (csum, hash, mark) and the meaning of the is the same as in the SKB? > > what would be the meaning of 'hash' ? Over which fields? > Does it support inner and outer packets? How about udp encap (vxlan and > friends) ?
We don't seem to need to answer that for the rest of the stack, no? We can expose the "hash type" field as well if that's *really* necessary. > Same question of csum... tcp only? Shouldn't we just stick to CHECKSUM_COMPLETE? > how about crc for sctp? That's harder to answer. Can cls_bpf access such info? > What is 'mark' ? Same thing it would be on an skb. Most likely set with an offloaded TC rule?