<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pm24.git/include/rdma, branch v4.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.kobert.dev/pm24.git/atom?h=v4.7</id>
<link rel='self' href='https://git.kobert.dev/pm24.git/atom?h=v4.7'/>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/'/>
<updated>2016-06-23T14:16:15Z</updated>
<entry>
<title>IB/rdmavt: Correct qp_priv_alloc() return value test</title>
<updated>2016-06-23T14:16:15Z</updated>
<author>
<name>Mike Marciniszyn</name>
<email>mike.marciniszyn@intel.com</email>
</author>
<published>2016-06-22T20:29:33Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=c755f4afa66ad3ed98870bd3254f37c47fb2c800'/>
<id>urn:sha1:c755f4afa66ad3ed98870bd3254f37c47fb2c800</id>
<content type='text'>
The current drivers return errors from this calldown
wrapped in an ERR_PTR().

The rdmavt code incorrectly tests for NULL.

The code is fixed to use IS_ERR() and change ret according
to the driver return value.

Cc: Stable &lt;stable@vger.kernel.org&gt; # 4.6+
Reviewed-by: Dennis Dalessandro &lt;dennis.dalessandro@intel.com&gt;
Signed-off-by: Mike Marciniszyn &lt;mike.marciniszyn@intel.com&gt;
Signed-off-by: Dennis Dalessandro &lt;dennis.dalessandro@intel.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/core: Make all casts in ib_device_cap_flags enum consistent</title>
<updated>2016-06-07T13:50:55Z</updated>
<author>
<name>Max Gurtovoy</name>
<email>maxg@mellanox.com</email>
</author>
<published>2016-06-06T16:34:40Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=c7e162a417488f3c79eb09f3c4f1d36f1e042463'/>
<id>urn:sha1:c7e162a417488f3c79eb09f3c4f1d36f1e042463</id>
<content type='text'>
Replace the few u64 casts with ULL to match the rest of the casts.

Signed-off-by: Max Gurtovoy &lt;maxg@mellanox.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/core: Fix bit curruption in ib_device_cap_flags structure</title>
<updated>2016-06-07T13:50:54Z</updated>
<author>
<name>Max Gurtovoy</name>
<email>maxg@mellanox.com</email>
</author>
<published>2016-06-06T16:34:39Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=47355b3cd7d3c9c5226bff7c449b9d269fb17fa6'/>
<id>urn:sha1:47355b3cd7d3c9c5226bff7c449b9d269fb17fa6</id>
<content type='text'>
ib_device_cap_flags 64-bit expansion caused caps overlapping
and made consumers read wrong device capabilities. For example
IB_DEVICE_SG_GAPS_REG was falsely read by the iser driver causing
it to use a non-existing capability. This happened because signed
int becomes sign extended when converted it to u64. Fix this by
casting IB_DEVICE_ON_DEMAND_PAGING enumeration to ULL.

Fixes: f5aa9159a418 ('IB/core: Add arbitrary sg_list support')
Reported-by: Robert LeBlanc &lt;robert@leblancnet.us&gt;
Cc: Stable &lt;stable@vger.kernel.org&gt; #[v4.6+]
Acked-by: Sagi Grimberg &lt;sagi@grimberg.me&gt;
Signed-off-by: Max Gurtovoy &lt;maxg@mellanox.com&gt;
Signed-off-by: Matan Barak &lt;matanb@mellanox.com&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/core: Make device counter infrastructure dynamic</title>
<updated>2016-05-26T16:52:51Z</updated>
<author>
<name>Christoph Lameter</name>
<email>cl@linux.com</email>
</author>
<published>2016-05-16T17:49:33Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=b40f4757daa1b28e586fddad76638c98e2edfc34'/>
<id>urn:sha1:b40f4757daa1b28e586fddad76638c98e2edfc34</id>
<content type='text'>
In practice, each RDMA device has a unique set of counters that the
hardware implements.  Having a central set of counters that they must
all adhere to is limiting and causes many useful counters to not be
available.

Therefore we create a dynamic counter registration infrastructure.

The driver must implement a stats structure allocation routine, in
which the driver must place the directory name it wants, a list of
names for all of the counters, an array of u64 counters themselves,
plus a few generic configuration options.

We then implement a core routine to create a sysfs file for each
of the named stats elements, and a core routine to retrieve the
stats when any of the sysfs attribute files are read.

To avoid excessive beating on the stats generation routine in the
drivers, the core code also caches the stats for a short period of
time so that someone attempting to read all of the stats in a
given device's directory will not result in a stats generation
call per file read.

Future work will attempt to standardize just the shared stats
elements, and possibly add a method to get the stats via netlink
in addition to sysfs.

Signed-off-by: Christoph Lameter &lt;cl@linux.com&gt;
Signed-off-by: Mark Bloch &lt;markb@mellanox.com&gt;
Reviewed-by: Steve Wise &lt;swise@opengridcomputing.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
[ Add caching, make structure names more informative, add i40iw support,
  other significant rewrites from the original patch ]
</content>
</entry>
<entry>
<title>Merge branch 'hfi1-2' into k.o/for-4.7</title>
<updated>2016-05-26T16:50:05Z</updated>
<author>
<name>Doug Ledford</name>
<email>dledford@redhat.com</email>
</author>
<published>2016-05-26T16:50:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=8779e7658df2496f27660586e3a20a86c75fb526'/>
<id>urn:sha1:8779e7658df2496f27660586e3a20a86c75fb526</id>
<content type='text'>
</content>
</entry>
<entry>
<title>IB/rdamvt: Fix rdmavt s_ack_queue sizing</title>
<updated>2016-05-26T16:21:10Z</updated>
<author>
<name>Mike Marciniszyn</name>
<email>mike.marciniszyn@intel.com</email>
</author>
<published>2016-05-24T19:50:40Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=8b103e9cdee5f381bc20a8a9f9bb5be11de8e68f'/>
<id>urn:sha1:8b103e9cdee5f381bc20a8a9f9bb5be11de8e68f</id>
<content type='text'>
rdmavt allows the driver to specify the size of the ack queue, but
only uses it for the modify QP limit testing for setting the atomic
limit value.

The driver dependent size is now used to size the s_ack_queue ring
dynamicially.

Since the driver knows its size, the driver will use its define
for any ring size dependent code.

Reviewed-by: Mitko Haralanov &lt;mitko.haralanov@intel.com&gt;
Signed-off-by: Mike Marciniszyn &lt;mike.marciniszyn@intel.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/rdmavt: Max atomic value should be a u8</title>
<updated>2016-05-26T16:21:10Z</updated>
<author>
<name>Mike Marciniszyn</name>
<email>mike.marciniszyn@intel.com</email>
</author>
<published>2016-05-24T19:50:34Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=4c0b653335bbdfe62a5f4483c98cb5d581432917'/>
<id>urn:sha1:4c0b653335bbdfe62a5f4483c98cb5d581432917</id>
<content type='text'>
This matches the ib_qp_attr size and
avoids a extremely large value when the lower level
driver registers.

As part of the patch, the u8 ordinals are moved to the
end of the struct to reduce pahole noted excesses.

Reviewed-by: Mitko Haralanov &lt;mitko.haralanov@intel.com&gt;
Reviewed-by: Dennis Dalessandro &lt;dennis.dalessandro@intel.com&gt;
Signed-off-by: Mike Marciniszyn &lt;mike.marciniszyn@intel.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/SA Agent: Add support for SA agent get ClassPortInfo</title>
<updated>2016-05-25T19:39:02Z</updated>
<author>
<name>Erez Shitrit</name>
<email>erezsh@mellanox.com</email>
</author>
<published>2016-05-25T19:02:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=628e6f75156eac6979eacc2e9383e41f6432beb4'/>
<id>urn:sha1:628e6f75156eac6979eacc2e9383e41f6432beb4</id>
<content type='text'>
New SA query function to return the ClassPortInfo struct from the SA.
If the SM supports FullMemberSendOnly mode for MCG's, it sets a
capability bit in the capability_mask2 field of the response.

Signed-off-by: Erez Shitrit &lt;erezsh@mellanox.com&gt;
Reviewed-by: Leon Romanovsky &lt;leonro@mellanox.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>IB/core: Introduce capabilitymask2 field in ClassPortInfo mad</title>
<updated>2016-05-25T19:39:02Z</updated>
<author>
<name>Erez Shitrit</name>
<email>erezsh@mellanox.com</email>
</author>
<published>2016-05-25T19:02:04Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=507f6afa3ab6c9473d81c8091be0d1b859509a6d'/>
<id>urn:sha1:507f6afa3ab6c9473d81c8091be0d1b859509a6d</id>
<content type='text'>
Change struct ib_class_port_info to conform to IB Spec 1.3
That in order to get specific capability mask from ClassPortInfo mad.

&gt;From the IB Spec, ClassPortInfo section:
        "CapabilityMask2 Bits 0-26: Additional class-specific capabilities...
         RespTimeValue the rest 5 bits"

The new struct now has one field for capabilitymask2 (previously was the
reserved field) and the resp_time field.

And it fixes up qib and srpt, use of the field repurposed to be used as
capabilitymask2:
IB/qib: Change pma_get_classportinfo
IB/srpt: Adjust the use of ib_class_port_info

Signed-off-by: Erez Shitrit &lt;erezsh@mellanox.com&gt;
Reviewed-by: Leon Romanovsky &lt;leonro@mellanox.com&gt;
Reviewed-by: Hal Rosenstock &lt;hal@mellanox.com&gt;
Signed-off-by: Doug Ledford &lt;dledford@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge branches 'cxgb4-2', 'i40iw-2', 'ipoib', 'misc-4.7' and 'mlx5-fcs' into k.o/for-4.7</title>
<updated>2016-05-13T23:40:38Z</updated>
<author>
<name>Doug Ledford</name>
<email>dledford@redhat.com</email>
</author>
<published>2016-05-13T23:40:38Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=0651ec932afffce6547efb3e0352e5d229273962'/>
<id>urn:sha1:0651ec932afffce6547efb3e0352e5d229273962</id>
<content type='text'>
</content>
</entry>
</feed>
