Hello David,
This patch set adds SRIOV support for ConnectX2 and ConnectX3 HW for Ethernet
Link layer.
Infiniband and RoCE SRIOV support will be added at later stage
In ConnectX, nearly all device resources can be associated with any function.
Once allocated, these resources can be manipulated
From: Jack Morgenstein ja...@dev.mellanox.co.il
These changes will not affect module operation as yet. They
are only to get some structs and enums in place for use by
subsequent patches (making those smaller).
Added here:
* sriov state structs and inlines (mlx4_is_master/slave/mfunc)
*
From: Jack Morgenstein ja...@dev.mellanox.co.il
Port mask now has additional state.
Port can be set as none. In this case neither the mlx4_en or mlx4_ib
drivers take ownership of the port.
In multifunction mode there is an option to set the vfs as single ported
devices.
This option will be added
From: Jack Morgenstein ja...@dev.mellanox.co.il
For SRIOV, some Hypervisor commands can be executed directly (native = 1).
Others should go through the command wrapper flow (for tracking resource
usage, for example, or for changing some HCA configurations that slaves
need to be notified of).
From: Jack Morgenstein ja...@dev.mellanox.co.il
When SRIOV is enabled on the chip (at FW burning time),
the HCA uses only 17 bits for the PD. The remaining 7 high-order bits
are ignored.
Change the allocator to return only 17 bits for the PD. The MSB 7
bits will be used to encode the slave
From: Yevgeny Petrilin yevge...@mellanox.co.il
When SRIOV is enabled, pf and vfs communicate via shared comm channel.
The vf gets its side of the comm channel via a VF BAR.
Each VF (slave) creates its vHCR (virtual HCA Command Register),
Its DMA address is passed to the PF (master) using
From: Jack Morgenstein ja...@dev.mellanox.co.il
The following commands are added here:
1. QUERY_FUNC_CAP and its wrapper. This function is used by VFs when
they start up to receive configuration information from the PF, such
as resource quotas for this VF, which ports should be used
From: Jack Morgenstein ja...@dev.mellanox.co.il
SRQs are resources which are allocated and tracked by the PF driver.
In multifunction mode, the allocation and icm mapping is done in
the resource tracker (later patch in this sequence).
To accomplish this, we have work functions whose names start
From: Jack Morgenstein ja...@dev.mellanox.co.il
QPs are resources which are allocated and tracked by the PF driver.
In multifunction mode, the allocation and icm mapping is done in
the resource tracker (later patch in this sequence).
To accomplish this, we have work functions whose names start
From: Jack Morgenstein ja...@dev.mellanox.co.il
CQs are resources which are allocated and tracked by the PF driver.
In multifunction mode, the allocation and icm mapping is done in
the resource tracker (later patch in this sequence).
To accomplish this, we have work functions whose names start
From: Jack Morgenstein ja...@dev.mellanox.co.il
MTTs are resources which are allocated and tracked by the PF driver.
In multifunction mode, the allocation and icm mapping is done in
the resource tracker (later patch in this sequence).
To accomplish this, we have work functions whose names start
From: Jack Morgenstein ja...@dev.mellanox.co.il
Passing async events to slaves:
In SRIOV mode, each slave creates its own async EQ, but only the master can
register directly with the FW to receive async events. Async events which
should be passed to slaves (such as a WQ_ACCESS_ERROR for a QP
From: Jack Morgenstein ja...@dev.mellanox.co.il
Signed-off-by: Jack Morgenstein ja...@dev.mellanox.co.il
---
drivers/infiniband/hw/mlx4/main.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/infiniband/hw/mlx4/main.c
b/drivers/infiniband/hw/mlx4/main.c
index
From: Eugenia Emantayev euge...@mellanox.co.il
Let multicast/unicast attaching flow go through resource tracker.
The PF is the one responsible for managing all the steering entries.
Define and use module parameter that determines the number of qps
per multicast group.
Minor changes in function
From: Eugenia Emantayev euge...@mellanox.co.il
The physical port is now common to the PF and VFs.
The port resources and configuration is managed by the PF, VFs can
only influence the MTU of the port, it is set as max among all functions,
Each function alloccates RX buffers of required size to
From: Marcel Apfelbaum marc...@dev.mellanox.co.il
Date: Wed, 30 Nov 2011 19:57:41 +0200
Subject: [PATCH 17/21] mlx4_core: mtts resources units changed to offset
In the previous implementation mtts are managed by:
1. order - log(mtt segments), 'mtt segment' groups several mtts together.
2.
From: Jack Morgenstein ja...@dev.mellanox.co.il
When running in SRIOV mode, driver should not automatically start/stop
the mlx4_core upon sensing an HCA internal error -- doing this disables/enables
sriov, which will cause the hypervisor to hang if there are running VMs with
attached VFs.
In
From: Jack Morgenstein ja...@dev.mellanox.co.il
1. Added module parameters sr_iov and probe_vf for controlling enablement of
SRIOV mode.
2. Increased default max num-qps, num-mpts and log_num_macs to accomodate
SRIOV mode
3. Added port_type_array as a module parameter to allow driver
From: Yevgeny Petrilin yevge...@mellanox.co.il
Signed-off-by: Yevgeny Petrilin yevge...@mellanox.co.il
---
drivers/net/ethernet/mellanox/mlx4/mlx4.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4.h
From: Eugenia Emantayev euge...@mellanox.co.il
To enable internal loopback, always fill DMAC in control segment
when transmitting the packet, once this is done, the packet is subject
for loopback for if the DMAC mathces one of the multicast/unicast addresses
registered on the physical port.
In
On Fri, Dec 2, 2011 at 2:16 AM, Yevgeny Petrilin
yevge...@mellanox.co.il wrote:
return mlx4_cmd(dev, limit_watermark, srq_num, 0, MLX4_CMD_ARM_SRQ,
- MLX4_CMD_TIME_CLASS_B);
+ MLX4_CMD_TIME_CLASS_B, 0);
Instead of a 0 or 1 for the native
On Fri, Dec 2, 2011 at 2:19 AM, Yevgeny Petrilin
yevge...@mellanox.co.il wrote:
When running in SRIOV mode, driver should not automatically start/stop
the mlx4_core upon sensing an HCA internal error -- doing this
disables/enables
sriov, which will cause the hypervisor to hang if there are
The maintenance of dd-nfreectxts was incorrectly opposite
of the patch intention in 53ab1c64983
(IB/qib: Correct nfreectxts for multiple HCAs)
Reviewed-by: Ram Vepa ram.v...@qlogic.com
Signed-off-by: Mike Marciniszyn mike.marcinis...@qlogic.com
---
drivers/infiniband/hw/qib/qib_file_ops.c |4
#ifdef CONFIG_PCI_IOV
+
+static int sr_iov;
+module_param(sr_iov, int, 0444);
+MODULE_PARM_DESC(sr_iov, enable #sr_iov functions if sr_iov 0);
+
+static int probe_vf;
+module_param(probe_vf, int, 0444);
+MODULE_PARM_DESC(probe_vf, number of vfs to probe by pf driver (sr_iov
0));
+
On Fri, 2 Dec 2011, Bart Van Assche wrote:
On Fri, Dec 2, 2011 at 1:04 AM, Hefty, Sean sean.he...@intel.com wrote:
- What should we do with modules like SDP that are not in kernel?
Either remove them or carry them forward as experimental features.
Wat I expect is that reworking the SDP
On Thu, 1 Dec 2011, Tziporet Koren wrote:
We propose a new process for the OFED releases starting from next OFED
release:
- OFED content will be the relevant kernel.org modules and user space
released packages
- OFED will offer only backports to the distros (no fixes)
- OFED package will
On Fri, Dec 2, 2011 at 7:12 PM, Christoph Lameter c...@linux.com wrote:
What were the issues that prevented the merging of the SDP
implementation?
At least AF_INET_SDP - there might have been other issues. See e.g.
http://lkml.org/lkml/2006/3/6/70.
Bart.
--
To unsubscribe from this list: send
In addition add a common option to specify an alternate config file.
Signed-off-by: Ira Weiny wei...@llnl.gov
---
etc/ibdiag.conf |4 +
include/ibdiag_common.h |1 +
libibnetdisc/include/infiniband/ibnetdisc.h |6 +-
Specifically remove duplicated common options sections from all man pages and
reference infiniband-diags(8) page for those options.
Furthermore clean up infiniband-diags common options.
Signed-off-by: Ira Weiny wei...@llnl.gov
---
man/ibaddr.8 | 56
Signed-off-by: Ira Weiny wei...@llnl.gov
---
src/iblinkinfo.c| 20 ++--
src/ibqueryerrors.c | 18 +-
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/src/iblinkinfo.c b/src/iblinkinfo.c
index 00c7bc0..0a652ba 100644
--- a/src/iblinkinfo.c
+static struct idr *cma_select_ib_ps(struct rdma_id_private *id_priv)
[...]
+ if (ps) {
+ sib-sib_sid = cpu_to_be64(sid_ps | ntohs(cma_port((struct
sockaddr *) sib)));
+ sib-sib_sid_mask = cpu_to_be64(RDMA_IB_IP_PS_MASK | sib-
sib_sid_mask);
+ }
+ return
Signed-off-by: Albert Chu ch...@llnl.gov
---
src/ibccquery.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ibccquery.c b/src/ibccquery.c
index a7fd79f..69db8d0 100644
--- a/src/ibccquery.c
+++ b/src/ibccquery.c
@@ -309,7 +309,7 @@ static char
32 matches
Mail list logo