remove bridge mode BRIDGE_MODE_SWDEV
Subsystems (2)
v5 cover remove bridge mode BRIDGE_MODE_SWDEV
From: Roopa Prabhu <[email protected]>
BRIDGE_MODE_SWDEV was introduced to indicate switchdev offloads for bridging from user space (In other words to call into the hw switch port driver directly). But user can use existing BRIDGE_FLAGS_SELF to call into the hw switch port driver today. swdev mode is not required anymore. So, this patch removes it.
v4 - v5
incorporate comments
- Define BRIDGE_MODE_UNDEF to handle cases where mode is not defined
- reverse the order of patches
- include patch comments in all patches
Roopa Prabhu (3):
bridge: new mode flag to indicate mode 'undefined'
rocker: remove swdev mode
bridge: remove mode 'swdev'
drivers/net/ethernet/rocker/rocker.c | 18 +----------------- include/uapi/linux/if_bridge.h | 2 +- net/core/rtnetlink.c | 10 ++++++++-- 3 files changed, 10 insertions(+), 20 deletions(-)
Signature · 1 line
1.7.10.4
Roopa, thanks for fixing this. I'm a little lost on status of the iproute2 patches related to this change and earlier changes. Would you and Jiri respin one set of iproute2 patches that gets us the final answer? It was getting a little messy with patches on top of yet-to-be-accepted patches. Thanks.
Quoted 29 lines · On Mon, Dec 8, 2014 at 2:04 PM, <[email protected]> wrote:
From: Roopa Prabhu <[email protected]>
BRIDGE_MODE_SWDEVwas introduced to indicate switchdev offloads for bridging from user space (In other words to call into the hw switch port driver directly). But user can use existingBRIDGE_FLAGS_SELFto call into the hw switch port driver today. swdev mode is not required anymore. So, this patch removes it.v4 - v5
incorporate comments
- DefineBRIDGE_MODE_UNDEFto handle cases where mode is not defined
- reverse the order of patches
- include patch comments in all patchesSigned-off-by Roopa Prabhu <[email protected]>Roopa Prabhu (3):
bridge: new mode flag to indicate mode 'undefined'
rocker: remove swdev mode
bridge: remove mode 'swdev'drivers/net/ethernet/rocker/rocker.c | 18 +----------------- include/uapi/linux/if_bridge.h | 2 +- net/core/rtnetlink.c | 10 ++++++++-- 3 files changed, 10 insertions(+), 20 deletions(-)--
1.7.10.4
Quoted 5 lines · Scott Feldman
Roopa, thanks for fixing this. I'm a little lost on status of the iproute2 patches related to this change and earlier changes. Would you and Jiri respin one set of iproute2 patches that gets us the final answer? It was getting a little messy with patches on top of yet-to-be-accepted patches. Thanks.
scott, the iproute2 v3 patch was the last (hopefully final) patch and jiri and you signed-off on that Its here:
http://patchwork.ozlabs.org/patch/418350/
Thanks for the review.
Quoted 35 lines · On Mon, Dec 8, 2014 at 2:04 PM, <[email protected]> wrote:
Quoted 21 lines
From: Roopa Prabhu <[email protected]>
BRIDGE_MODE_SWDEVwas introduced to indicate switchdev offloads for bridging from user space (In other words to call into the hw switch port driver directly). But user can use existingBRIDGE_FLAGS_SELFto call into the hw switch port driver today. swdev mode is not required anymore. So, this patch removes it.v4 - v5
incorporate comments
- DefineBRIDGE_MODE_UNDEFto handle cases where mode is not defined
- reverse the order of patches
- include patch comments in all patchesSigned-off-by Roopa Prabhu <[email protected]>Roopa Prabhu (3):
bridge: new mode flag to indicate mode 'undefined'
rocker: remove swdev mode
bridge: remove mode 'swdev'Quoted 8 lines
drivers/net/ethernet/rocker/rocker.c | 18 +----------------- include/uapi/linux/if_bridge.h | 2 +- net/core/rtnetlink.c | 10 ++++++++-- 3 files changed, 10 insertions(+), 20 deletions(-)--
1.7.10.4--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
David Miller
maintainerFrom: [email protected]
Date: Mon, 8 Dec 2014 14:04:18 -0800
Quoted 8 lines
From: Roopa Prabhu <[email protected]>
BRIDGE_MODE_SWDEVwas introduced to indicate switchdev offloads for bridging from user space (In other words to call into the hw switch port driver directly). But user can use existingBRIDGE_FLAGS_SELFto call into the hw switch port driver today. swdev mode is not required anymore. So, this patch removes it.
Quoted 7 lines
v4 - v5
incorporate comments
- DefineBRIDGE_MODE_UNDEFto handle cases where mode is not defined
- reverse the order of patches
- include patch comments in all patchesSigned-off-by Roopa Prabhu <[email protected]>
Series applied, thanks.