[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1395245513-8139-1-git-send-email-ogerlitz@mellanox.com>
Date:	Wed, 19 Mar 2014 18:11:48 +0200
From:	Or Gerlitz <ogerlitz@...lanox.com>
To:	davem@...emloft.net
Cc:	netdev@...r.kernel.org, roland@...nel.org,
	jackm@....mellanox.co.il, amirv@...lanox.com, matanb@...lanox.com,
	Or Gerlitz <ogerlitz@...lanox.com>
Subject: [PATCH net-next 0/5] mlx4: Add support for single port VFs
Hi Dave, Roland
The mlx4 Firmware && driver expose both ports of the device through one PCI function.
This can be non-optimal under virtualization schemes where the admin 
would like the VF to expose one interface to the VM, etc.
This series from Matan Barak adds support for single ported VFs. 
Since all the VF interaction with the firmware passes through the PF
 driver, we can emulate to the VF they have one port, and further create 
a set of the VFs which act on port1 of the device and another set which 
acts on port2.
Series done against net-next commit 3ab428a "netfilter: Add missing 
vmalloc.h include to nft_hash.c"
Roland, we send this through netdev, but if you have comments, will love
to hear them.
Or.
Matan Barak (5):
  IB/mlx4_ib: Adapt code to use caps.num_ports instead of a constant
  net/mlx4: Add data structures to support N-Ports per VF
  net/mlx4: Add utils for N-Port VFs
  net/mlx4: Adapt code for N-Port VF
  net/mlx4: Adapt num_vfs/probed_vf params for single port VF
 drivers/infiniband/hw/mlx4/mad.c                   |   29 ++--
 drivers/infiniband/hw/mlx4/main.c                  |   23 ++-
 drivers/infiniband/hw/mlx4/sysfs.c                 |    5 +
 drivers/net/ethernet/mellanox/mlx4/cmd.c           |  129 ++++++++++++++++-
 drivers/net/ethernet/mellanox/mlx4/eq.c            |   48 +++++--
 drivers/net/ethernet/mellanox/mlx4/fw.c            |   62 +++++++-
 drivers/net/ethernet/mellanox/mlx4/main.c          |  148 ++++++++++++++----
 drivers/net/ethernet/mellanox/mlx4/mcg.c           |    5 +-
 drivers/net/ethernet/mellanox/mlx4/mlx4.h          |    5 +-
 drivers/net/ethernet/mellanox/mlx4/port.c          |  158 +++++++++++++++++---
 .../net/ethernet/mellanox/mlx4/resource_tracker.c  |  143 ++++++++++++++++---
 include/linux/mlx4/device.h                        |   35 +++++
 12 files changed, 676 insertions(+), 114 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