netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] mlx4: Add support for single port VFs
@ 2014-03-19 16:11 Or Gerlitz
  2014-03-19 16:11 ` [PATCH net-next 1/5] IB/mlx4_ib: Adapt code to use caps.num_ports instead of a constant Or Gerlitz
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Or Gerlitz @ 2014-03-19 16:11 UTC (permalink / raw)
  To: davem; +Cc: netdev, roland, jackm, amirv, matanb, Or Gerlitz

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

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

end of thread, other threads:[~2014-03-20 20:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-19 16:11 [PATCH net-next 0/5] mlx4: Add support for single port VFs Or Gerlitz
2014-03-19 16:11 ` [PATCH net-next 1/5] IB/mlx4_ib: Adapt code to use caps.num_ports instead of a constant Or Gerlitz
2014-03-19 16:11 ` [PATCH net-next 2/5] net/mlx4: Add data structures to support N-Ports per VF Or Gerlitz
2014-03-19 16:11 ` [PATCH net-next 3/5] net/mlx4: Add utils for N-Port VFs Or Gerlitz
2014-03-19 16:11 ` [PATCH net-next 4/5] net/mlx4: Adapt code for N-Port VF Or Gerlitz
2014-03-19 16:11 ` [PATCH net-next 5/5] net/mlx4: Adapt num_vfs/probed_vf params for single port VF Or Gerlitz
2014-03-20 20:20 ` [PATCH net-next 0/5] mlx4: Add support for single port VFs David Miller

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