netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] Control VF link state
@ 2013-05-08 13:45 Or Gerlitz
  2013-05-08 13:45 ` [PATCH RFC 1/2] net/core: Add netlink directives to control " Or Gerlitz
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Or Gerlitz @ 2013-05-08 13:45 UTC (permalink / raw)
  To: netdev; +Cc: amirv, ronye, Or Gerlitz

Here's a suggestion for API and implementation that lets the admin to configure
the link state of the VF / SRIOV eSwitch vPORT. Basically, it has three states

Auto -	the VF link state will reflect the PF link state

Enable - VF link stat will be always up, traffic from VF to VF can 
	 work even if PF link is down.

Disable - VF link state is down and the VF can't send/recv, e.g can be 
  	  used to suspend the link while configuring the VF.

Rony and Or.

Rony Efraim (2):
  net/core: Add netlink directives to control VF link state
  net/mlx4: Add vf link state support

 drivers/net/ethernet/mellanox/mlx4/cmd.c       |   47 ++++++++++++++++++++++++
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c |    8 ++++
 drivers/net/ethernet/mellanox/mlx4/eq.c        |    9 ++++-
 drivers/net/ethernet/mellanox/mlx4/fw.c        |    8 ++++
 drivers/net/ethernet/mellanox/mlx4/mlx4.h      |    1 +
 include/linux/mlx4/cmd.h                       |    2 +-
 include/linux/netdevice.h                      |    3 ++
 include/uapi/linux/if_link.h                   |   13 +++++++
 net/core/rtnetlink.c                           |    9 +++++
 9 files changed, 97 insertions(+), 3 deletions(-)

Rony Efraim (1):
  Add VF link state control 

iproute2 diffstat:

 include/linux/if_link.h |   13 +++++++++++++
 ip/iplink.c             |   14 ++++++++++++++
 2 files changed, 27 insertions(+), 0 deletions(-)

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

end of thread, other threads:[~2013-06-09 13:27 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-08 13:45 [PATCH RFC 0/2] Control VF link state Or Gerlitz
2013-05-08 13:45 ` [PATCH RFC 1/2] net/core: Add netlink directives to control " Or Gerlitz
2013-05-08 16:02   ` Sergei Shtylyov
2013-06-09  9:51     ` Or Gerlitz
2013-05-08 13:45 ` [PATCH RFC 2/2] net/mlx4: Add vf link state support Or Gerlitz
2013-05-08 13:45 ` [PATCH RFC iproute2] Add VF link state control Or Gerlitz
2013-05-08 16:17   ` Stephen Hemminger
2013-05-08 16:24     ` Dan Williams
2013-05-08 16:44       ` John Fastabend
2013-05-08 17:31         ` Or Gerlitz
2013-05-09  8:34           ` Or Gerlitz
2013-05-09 15:24 ` [PATCH RFC 0/2] Control VF link state Ben Hutchings
2013-05-09 23:17   ` Or Gerlitz
2013-05-10  0:34     ` Ben Hutchings
2013-05-12 21:48       ` Or Gerlitz
2013-05-14 17:12         ` Ben Hutchings
2013-05-14 19:59           ` John Fastabend
2013-05-20 20:06       ` Or Gerlitz
2013-05-20 20:37         ` Ben Hutchings
2013-05-21 20:12           ` Or Gerlitz
2013-05-21 21:43             ` John Fastabend
2013-06-09 13:27               ` Or Gerlitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).