lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1368020717-22194-1-git-send-email-ogerlitz@mellanox.com>
Date:	Wed,  8 May 2013 16:45:14 +0300
From:	Or Gerlitz <ogerlitz@...lanox.com>
To:	netdev@...r.kernel.org
Cc:	amirv@...lanox.com, ronye@...lanox.com,
	Or Gerlitz <ogerlitz@...lanox.com>
Subject: [PATCH RFC 0/2] Control VF link state

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(-)
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ