public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v5 3/3] bridge: remove mode BRIDGE_MODE_SWDEV
@ 2014-12-08 22:04 roopa
  2014-12-08 22:44 ` Scott Feldman
  2014-12-09  7:56 ` Jiri Pirko
  0 siblings, 2 replies; 3+ messages in thread
From: roopa @ 2014-12-08 22:04 UTC (permalink / raw)
  To: jiri, sfeldma, jhs, bcrl, tgraf, john.fastabend, stephen,
	linville, vyasevic
  Cc: netdev, davem, shm, gospo, Roopa Prabhu

From: Roopa Prabhu <roopa@cumulusnetworks.com>

This patch removes bridge mode swdev.
Users can use BRIDGE_FLAGS_SELF to indicate swdev offload
if needed.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
---
 include/uapi/linux/if_bridge.h |    1 -
 1 file changed, 1 deletion(-)

diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h
index 05f0869..b03ee8f 100644
--- a/include/uapi/linux/if_bridge.h
+++ b/include/uapi/linux/if_bridge.h
@@ -105,7 +105,6 @@ struct __fdb_entry {
 
 #define BRIDGE_MODE_VEB		0	/* Default loopback mode */
 #define BRIDGE_MODE_VEPA	1	/* 802.1Qbg defined VEPA mode */
-#define BRIDGE_MODE_SWDEV	2	/* Full switch device offload */
 #define BRIDGE_MODE_UNDEF	0xFFFF  /* mode undefined */
 
 /* Bridge management nested attributes
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next v5 3/3] bridge: remove mode BRIDGE_MODE_SWDEV
  2014-12-08 22:04 [PATCH net-next v5 3/3] bridge: remove mode BRIDGE_MODE_SWDEV roopa
@ 2014-12-08 22:44 ` Scott Feldman
  2014-12-09  7:56 ` Jiri Pirko
  1 sibling, 0 replies; 3+ messages in thread
From: Scott Feldman @ 2014-12-08 22:44 UTC (permalink / raw)
  To: Roopa Prabhu
  Cc: Jiří Pírko, Jamal Hadi Salim, Benjamin LaHaise,
	Thomas Graf, john fastabend, stephen@networkplumber.org,
	John Linville, vyasevic@redhat.com, Netdev, David S. Miller,
	shm@cumulusnetworks.com, Andy Gospodarek

Signed-off-by: Scott Feldman <sfeldma@gmail.com>

On Mon, Dec 8, 2014 at 2:04 PM,  <roopa@cumulusnetworks.com> wrote:
> From: Roopa Prabhu <roopa@cumulusnetworks.com>
>
> This patch removes bridge mode swdev.
> Users can use BRIDGE_FLAGS_SELF to indicate swdev offload
> if needed.
>
> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
> ---
>  include/uapi/linux/if_bridge.h |    1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h
> index 05f0869..b03ee8f 100644
> --- a/include/uapi/linux/if_bridge.h
> +++ b/include/uapi/linux/if_bridge.h
> @@ -105,7 +105,6 @@ struct __fdb_entry {
>
>  #define BRIDGE_MODE_VEB                0       /* Default loopback mode */
>  #define BRIDGE_MODE_VEPA       1       /* 802.1Qbg defined VEPA mode */
> -#define BRIDGE_MODE_SWDEV      2       /* Full switch device offload */
>  #define BRIDGE_MODE_UNDEF      0xFFFF  /* mode undefined */
>
>  /* Bridge management nested attributes
> --
> 1.7.10.4
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next v5 3/3] bridge: remove mode BRIDGE_MODE_SWDEV
  2014-12-08 22:04 [PATCH net-next v5 3/3] bridge: remove mode BRIDGE_MODE_SWDEV roopa
  2014-12-08 22:44 ` Scott Feldman
@ 2014-12-09  7:56 ` Jiri Pirko
  1 sibling, 0 replies; 3+ messages in thread
From: Jiri Pirko @ 2014-12-09  7:56 UTC (permalink / raw)
  To: roopa
  Cc: sfeldma, jhs, bcrl, tgraf, john.fastabend, stephen, linville,
	vyasevic, netdev, davem, shm, gospo

Mon, Dec 08, 2014 at 11:04:21PM CET, roopa@cumulusnetworks.com wrote:
>From: Roopa Prabhu <roopa@cumulusnetworks.com>
>
>This patch removes bridge mode swdev.
>Users can use BRIDGE_FLAGS_SELF to indicate swdev offload
>if needed.
>
>Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>


Signed-off-by: Jiri Pirko <jiri@resnulli.us>

Thanks Roopa for taking care of this!


>---
> include/uapi/linux/if_bridge.h |    1 -
> 1 file changed, 1 deletion(-)
>
>diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h
>index 05f0869..b03ee8f 100644
>--- a/include/uapi/linux/if_bridge.h
>+++ b/include/uapi/linux/if_bridge.h
>@@ -105,7 +105,6 @@ struct __fdb_entry {
> 
> #define BRIDGE_MODE_VEB		0	/* Default loopback mode */
> #define BRIDGE_MODE_VEPA	1	/* 802.1Qbg defined VEPA mode */
>-#define BRIDGE_MODE_SWDEV	2	/* Full switch device offload */
> #define BRIDGE_MODE_UNDEF	0xFFFF  /* mode undefined */
> 
> /* Bridge management nested attributes
>-- 
>1.7.10.4
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-09  7:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-08 22:04 [PATCH net-next v5 3/3] bridge: remove mode BRIDGE_MODE_SWDEV roopa
2014-12-08 22:44 ` Scott Feldman
2014-12-09  7:56 ` Jiri Pirko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox