netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 net-next 0/3] Control VF link state
@ 2013-06-13 10:19 Or Gerlitz
  2013-06-13 10:19 ` [PATCH V3 net-next 1/3] net/core: Add VF link state control Or Gerlitz
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Or Gerlitz @ 2013-06-13 10:19 UTC (permalink / raw)
  To: davem; +Cc: netdev, amirv, ronye, Or Gerlitz

These patches add API and implementation that lets the admin to configure the link 
state of the VF / SRIOV  eSwitch vPORT. Basically, it has three states

Auto - VF link state reflects the PF link state (default)

Up - VF link state is up, traffic from VF to VF works even if
the actual PF link is down

Down - VF link state is down, no traffic from/to this VF, can be of
use while configuring the VF

Rony and Or.

changes from V2:
 - removed extra asterisks from comments in rtnetlink.c 
 - fixed two mis-alignments done by patch 1/3 in netdevice.h and rtnetlink.c

changes from V1:
 - added missing initialization in rtnl_fill_ifinfo for the linkstate field,
   pointed out by Ben Hutchings

changes from V0:
 - added missing part to the iproute2 patch which has the modification
   to the link show which display the VF link info (sorry for the spam).

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

 drivers/net/ethernet/mellanox/mlx4/cmd.c       |   48 ++++++++++++++++++++++++
 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/if_link.h                        |    1 +
 include/linux/mlx4/cmd.h                       |    2 +-
 include/linux/netdevice.h                      |    3 +
 include/uapi/linux/if_link.h                   |   13 ++++++
 net/core/rtnetlink.c                           |   22 ++++++++++-
 10 files changed, 110 insertions(+), 5 deletions(-)

iproute2 part:

Rony Efraim (1):
  Add VF link state control

 include/linux/if_link.h |   13 +++++++++++++
 ip/ipaddress.c          |   23 +++++++++++++++++++++++
 ip/iplink.c             |   14 ++++++++++++++
 3 files changed, 50 insertions(+), 0 deletions(-)

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

end of thread, other threads:[~2013-06-20  1:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-13 10:19 [PATCH V3 net-next 0/3] Control VF link state Or Gerlitz
2013-06-13 10:19 ` [PATCH V3 net-next 1/3] net/core: Add VF link state control Or Gerlitz
2013-06-13 10:19 ` [PATCH V3 net-next 2/3] net/mlx4: Add VF link state support Or Gerlitz
2013-06-13 10:19 ` [PATCH V3 iproute2 3/3] Add VF link state control Or Gerlitz
2013-06-20  1:15   ` Stephen Hemminger
2013-06-14  0:51 ` [PATCH V3 net-next 0/3] Control VF link state David Miller
2013-06-16 10:50   ` 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).