[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1370783667-19457-1-git-send-email-ogerlitz@mellanox.com>
Date: Sun, 9 Jun 2013 16:14:24 +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 net-next 0/3] Control VF link state
Following the RFC sent couple of weeks ago, sending the patches which 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 the RFC:
- enhanced the get_vf_config ndo and linklink related code to
retrieve the VF link info too
- same for iproute2
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 | 18 ++++++++-
10 files changed, 106 insertions(+), 5 deletions(-)
iproute2 part:
Rony Efraim (1):
Add VF link state control
include/linux/if_link.h | 13 +++++++++++++
ip/iplink.c | 14 ++++++++++++++
2 files changed, 27 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