Wed, May 17, 2017 at 02:47:47PM CEST, j...@mojatatu.com wrote: >On 17-05-17 01:47 AM, Jiri Pirko wrote: >> Wed, May 17, 2017 at 12:38:08AM CEST, xiyou.wangc...@gmail.com wrote: > >[..] >> > >> > tcf_auto_major_prio()? >> >> That makes no sense. prio is passed from user in upper 2 bytes (god >> knows why but that is how it is). > >I am not sure it is any god's decision ;-> Unless you think the creator >of this semantic is a god which in some circles is blasphemy ;-> > >16 bits for prio: 16 bits for proto - what is the problem?
Should have been a struct, at least. But as you know, I always prefer a Netlink attr :)