History

bridge: add new hwmode swdev

Current hwmode settings are "vepa" or "veb". These are for NIC interfaces with basic bridging function offloaded to HW. Add new "swdev" for full switch device offloads.

Scott Feldman committed 11 years ago

Commit 345cd491 parent efacacd1 file · +1 −0Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/if_bridge.h+1−0
@@ -105,6 +105,7 @@ struct __fdb_entry { · 104 unmodified lines
105 105
106#define BRIDGE_MODE_VEB 0 /* Default loopback mode */106#define BRIDGE_MODE_VEB 0 /* Default loopback mode */
107#define BRIDGE_MODE_VEPA 1 /* 802.1Qbg defined VEPA mode */107#define BRIDGE_MODE_VEPA 1 /* 802.1Qbg defined VEPA mode */
108#define BRIDGE_MODE_SWDEV 2 /* Full switch device offload */
108 109
109/* Bridge management nested attributes110/* Bridge management nested attributes
110 * [IFLA_AF_SPEC] = {111 * [IFLA_AF_SPEC] = {