Home
last modified time | relevance | path

Searched hist:ae75767ec206c6f445973e5e6c5af8a865016e15 (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/net/bridge/
H A Dbr_sysfs_br.cdiff ae75767ec206c6f445973e5e6c5af8a865016e15 Wed Sep 26 09:01:00 CDT 2018 Nikolay Aleksandrov <nikolay@cumulusnetworks.com> 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>
H A Dbr.cdiff ae75767ec206c6f445973e5e6c5af8a865016e15 Wed Sep 26 09:01:00 CDT 2018 Nikolay Aleksandrov <nikolay@cumulusnetworks.com> 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>
H A Dbr_vlan.cdiff ae75767ec206c6f445973e5e6c5af8a865016e15 Wed Sep 26 09:01:00 CDT 2018 Nikolay Aleksandrov <nikolay@cumulusnetworks.com> 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>
H A Dbr_netlink.cdiff ae75767ec206c6f445973e5e6c5af8a865016e15 Wed Sep 26 09:01:00 CDT 2018 Nikolay Aleksandrov <nikolay@cumulusnetworks.com> 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>
H A Dbr_private.hdiff ae75767ec206c6f445973e5e6c5af8a865016e15 Wed Sep 26 09:01:00 CDT 2018 Nikolay Aleksandrov <nikolay@cumulusnetworks.com> 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>