net: introduce nla_put_bitfield32() helper and use it
authorJiri Pirko <jiri@mellanox.com>
Sat, 28 Mar 2020 15:37:42 +0000 (16:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 18:06:49 +0000 (11:06 -0700)
commit8953b0770ff4e3038a6d4df3cc021f9bfb47548a
tree3a99e78f5accc546792f7b5e89637eb94bd26c1a
parentacc086bfb957542be49a8165eb794bc74f6cb51b
net: introduce nla_put_bitfield32() helper and use it

Introduce a helper to pass value and selector to. The helper packs them
into struct and puts them into netlink message.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netlink.h
net/sched/act_api.c
net/sched/sch_red.c