linux/net/bridge
Nikolay Aleksandrov ae75767ec2 net: bridge: add bitfield for options and convert vlan opts
Bridge options have usually been added as separate fields all over the
net_bridge struct taking up space and ending up in different cache lines.
Let's move them to a single bitfield to save up space and speedup lookups.
This patch adds a simple API for option modifying and retrieving using
bitops and converts the first user of the API - the bridge vlan options
(vlan_enabled and vlan_stats_enabled).

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-26 10:04:22 -07:00
..
netfilter netfilter: bridge: Expose nf_tables bridge hook priorities through uapi 2018-08-03 21:15:09 +02:00
br.c net: bridge: add bitfield for options and convert vlan opts 2018-09-26 10:04:22 -07:00
br_arp_nd_proxy.c bridge: br_arp_nd_proxy: set icmp6_router if neigh has NTF_ROUTER 2018-09-25 20:33:21 -07:00
br_device.c
br_fdb.c net: bridge: add support for sticky fdb entries 2018-09-12 20:30:03 -07:00
br_forward.c net: bridge: add support for backup port 2018-07-23 09:32:15 -07:00
br_if.c bridge: Switch to bitmap_zalloc() 2018-08-31 23:13:04 -07:00
br_input.c net: bridge: add support for port isolation 2018-05-25 14:37:20 -04:00
br_ioctl.c
br_mdb.c
br_multicast.c net/bridge/br_multicast: remove redundant variable "err" 2018-08-06 10:33:44 -07:00
br_netfilter_hooks.c netfilter: bridge: Expose nf_tables bridge hook priorities through uapi 2018-08-03 21:15:09 +02:00
br_netfilter_ipv6.c
br_netlink.c net: bridge: add bitfield for options and convert vlan opts 2018-09-26 10:04:22 -07:00
br_netlink_tunnel.c
br_nf_core.c
br_private.h net: bridge: add bitfield for options and convert vlan opts 2018-09-26 10:04:22 -07:00
br_private_stp.h
br_private_tunnel.h
br_stp.c
br_stp_bpdu.c
br_stp_if.c
br_stp_timer.c
br_switchdev.c net: bridge: Extract boilerplate around switchdev_port_obj_*() 2018-05-31 14:13:42 -04:00
br_sysfs_br.c net: bridge: add bitfield for options and convert vlan opts 2018-09-26 10:04:22 -07:00
br_sysfs_if.c net: bridge: add support for backup port 2018-07-23 09:32:15 -07:00
br_vlan.c net: bridge: add bitfield for options and convert vlan opts 2018-09-26 10:04:22 -07:00
br_vlan_tunnel.c
Kconfig
Makefile