[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1371118752-2314-1-git-send-email-ogerlitz@mellanox.com>
Date: Thu, 13 Jun 2013 13:19:09 +0300
From: Or Gerlitz <ogerlitz@...lanox.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, amirv@...lanox.com, ronye@...lanox.com,
Or Gerlitz <ogerlitz@...lanox.com>
Subject: [PATCH V3 net-next 0/3] Control VF link state
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(-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists