net: devlink: convert devlink_port_attrs bools to bits
authorJiri Pirko <jiri@mellanox.com>
Wed, 3 Apr 2019 12:24:15 +0000 (14:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Apr 2019 00:42:36 +0000 (17:42 -0700)
commit407dd706fb5245c138f3a972f8aaa1c8a09a574c
tree022729ea0fb05c616def8850e7b8e61a6c2e770c
parent8dc350202d32dbd9482b97dbf8ca22fbcb2a7918
net: devlink: convert devlink_port_attrs bools to bits

In order to save space in the struct, convert bools to bits.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/devlink.h