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.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -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 attributes | 110 | /* Bridge management nested attributes |
| 110 | * [IFLA_AF_SPEC] = { | 111 | * [IFLA_AF_SPEC] = { |