On 12/30/2015 03:14 PM, Matan Barak wrote:
We were allocating larger memory space than requried for
cma_dev_group->default_ports_group.
Please change the subject into something like "Do not allocate more
...". Please also fix the spelling error in the patch description.
Thanks,
Bart.
--
To
On Wed, Dec 30, 2015 at 03:01:33AM -0800, Christoph Hellwig wrote:
> Hi Ira,
>
> please take a look at the patches I've attached - they are just WIP
> that hasn't been tested as I'm on a vacation without access to my
> IB setup until New Year's Eve.
I have them on a branch.
I'll try and do some
On 12/29/2015 4:37 PM, Or Gerlitz wrote:
On 12/29/2015 3:24 PM, Matan Barak wrote:
From: Moni Shoua
Some mlx4 adapters are RoCEv2 capable. To enable this feature some
hardware configuration is required. This is
1. Set port general parameters
2. Configure the outgoing
On 12/29/2015 4:42 PM, Or Gerlitz wrote:
On 12/29/2015 3:24 PM, Matan Barak wrote:
The mlx4 driver uses a special QP to implement the GSI QP. This kind
of QP allows to build the InfiniBand headers in SW to be put before
the payload that comes in with the WR. The mlx4 HW builds the packet,
On 12/30/2015 10:23 AM, Matan Barak wrote:
int mlx4_CONFIG_DEV_wrapper(struct mlx4_dev *dev, int slave,
struct mlx4_vhcr *vhcr,
struct mlx4_cmd_mailbox *inbox,
struct mlx4_cmd_mailbox *outbox,
On 12/29/2015 5:24 PM, Or Gerlitz wrote:
On 12/29/2015 3:24 PM, Matan Barak wrote:
[...] We use a new firmware command in order to populate the GID table
and store the type along with the GID value.
Its a new value to existing command.. so better say we use a new value
to the SET_PORT
On 12/30/2015 8:04 AM, Or Gerlitz wrote:
Hi Matan,
I see these two smatch complaints on code added with this series, can
you please take a look?
drivers/infiniband/core/addr.c:503 rdma_resolve_ip_route() warn:
variable dereferenced before check 'src_addr' (see line 500)
Hi Ira,
please take a look at the patches I've attached - they are just WIP
that hasn't been tested as I'm on a vacation without access to my
IB setup until New Year's Eve.
Patch 1 is I think a genuine bug fix caused by the madness (pun
intendended) of the wr_id abuses.
Patch 2: passes the
On 12/30/2015 10:44 AM, Or Gerlitz wrote:
On 12/30/2015 10:27 AM, Matan Barak wrote:
On 12/29/2015 5:19 PM, Or Gerlitz wrote:
On 12/29/2015 3:24 PM, Matan Barak wrote:
@@ -905,6 +906,8 @@ int mlx4_QUERY_DEV_CAP(struct mlx4_dev *dev,
struct mlx4_dev_cap *dev_cap)
dev_cap->flags2
On 12/30/2015 1:05 PM, Or Gerlitz wrote:
On 12/30/2015 12:48 PM, Matan Barak wrote:
On 12/30/2015 8:04 AM, Or Gerlitz wrote:
Hi Matan,
I see these two smatch complaints on code added with this series, can
you please take a look?
drivers/infiniband/core/addr.c:503 rdma_resolve_ip_route()
On Wed, Dec 30, 2015 at 10:44:29AM +0100, Christoph Hellwig wrote:
> On Tue, Dec 29, 2015 at 01:02:54PM +0200, Sagi Grimberg wrote:
> >> As you did it in the first patch, just don't assign after IB_WC_LOCAL_INV.
> >> Compiler will handle IB_UVERS_WC_SEND_END + X calculations by itself.
> >
> > I
On 12/30/2015 12:48 PM, Matan Barak wrote:
On 12/30/2015 8:04 AM, Or Gerlitz wrote:
Hi Matan,
I see these two smatch complaints on code added with this series, can
you please take a look?
drivers/infiniband/core/addr.c:503 rdma_resolve_ip_route() warn:
variable dereferenced before check
>
> The last hunk that you removed had a role and was by no means
> dead-code, right? so... (1) why it's correct to remove it? (2) if you
> want to introduce different way to implement what was done here, why
> in this patch? maybe add pre-patch for that
In a way you are right. This hunk does not
On 12/30/2015 9:36 AM, Bart Van Assche wrote:
On 12/30/2015 07:01 AM, Or Gerlitz wrote:
On 10/28/2015 4:52 PM, Matan Barak wrote:
@@ -134,16 +138,14 @@ static int write_gid(struct ib_device *ib_dev,
u8 port,
{
int ret = 0;
struct net_device *old_net_dev;
-unsigned long
On Tue, Nov 10, 2015 at 08:00:07PM +0200, Eli Cohen wrote:
> Hi Doug,
>
> this patcheset is addresses comments from the community. Specifically if the
> verbs is not supported by a hardware driver, we return -EOPNOTSUPP.
>
> Eli
>
> Eli Cohen (3):
> IB/core: Avoid duplicate code
> IB/core:
On 12/29/2015 5:19 PM, Or Gerlitz wrote:
On 12/29/2015 3:24 PM, Matan Barak wrote:
@@ -905,6 +906,8 @@ int mlx4_QUERY_DEV_CAP(struct mlx4_dev *dev,
struct mlx4_dev_cap *dev_cap)
dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_EQE_STRIDE;
MLX4_GET(dev_cap->bmme_flags, outbox,
On 12/30/2015 10:27 AM, Matan Barak wrote:
On 12/29/2015 5:19 PM, Or Gerlitz wrote:
On 12/29/2015 3:24 PM, Matan Barak wrote:
@@ -905,6 +906,8 @@ int mlx4_QUERY_DEV_CAP(struct mlx4_dev *dev,
struct mlx4_dev_cap *dev_cap)
dev_cap->flags2 |= MLX4_DEV_CAP_FLAG2_EQE_STRIDE;
On Tue, Dec 29, 2015 at 10:58:24AM +0100, Bart Van Assche wrote:
> On 12/07/2015 09:51 PM, Christoph Hellwig wrote:
> > Remove struct rdma_iu and instead allocate the struct ib_rdma_wr array
> > early and fill out directly. This allows us to chain the WRs, and thus
> > archive both less lock
On 12/30/2015 7:57 AM, Or Gerlitz wrote:
On 12/23/2015 2:56 PM, Matan Barak wrote:
+__be16 ib_ud_ip4_csum(struct ib_ud_header *header)
+{
+struct iphdr iph;
+
+iph.ihl= 5;
+iph.version= 4;
+iph.tos= header->ip4.tos;
+iph.tot_len=
On Tue, Dec 29, 2015 at 10:54:18AM +0100, Bart Van Assche wrote:
> After having applied these changes the SRP initiator didn't receive any
> RDMA completions anymore. I could remedy that by changing
> "!test_and_set_bit()" into "test_and_set_bit()":
Yes. I actually had this bug earlier, fixed
Looks fine,
Reviewed-by: Christoph Hellwig
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, Dec 29, 2015 at 01:02:54PM +0200, Sagi Grimberg wrote:
>> As you did it in the first patch, just don't assign after IB_WC_LOCAL_INV.
>> Compiler will handle IB_UVERS_WC_SEND_END + X calculations by itself.
>
> I disagree, I'd say its better to keep the code verbosity level here...
I
On 12/29/2015 4:44 PM, Or Gerlitz wrote:
On 12/29/2015 3:24 PM, Matan Barak wrote:
Advertise RoCE support in port_immutable according to the hardware
capabilities. This enables the verbs stack to use RoCE v2 mode.
Advertise RoCE V2 support
Signed-off-by: Matan Barak
On Mon, Dec 28, 2015 at 07:35:14PM -0500, ira.weiny wrote:
>
> I'm still confused. Here is the code with the patch applied:
>
>
> /*
> * IB MAD completion callback
> */
> static void ib_mad_completion_handler(struct work_struct *work)
> {
> struct ib_mad_port_private *port_priv;
We were allocating larger memory space than requried for
cma_dev_group->default_ports_group.
Fixes: 045959db65c6 ('IB/cma: Add configfs for rdma_cm')
Signed-off-by: Matan Barak
---
Hi Doug,
This patch fixes a small issue, where we allocated more space than we
actually
Sparse complains about dereference before check. Fixing this by
moving the check before the dereference.
Fixes: 200298326b27 ('IB/core: Validate route when we init ah')
Signed-off-by: Matan Barak
---
Hi Doug,
This patch eliminates a deference before check sparse false
When write_gid function needs to do a sleep-able operation, it unlocks
table->rwlock and then relocks it. Sparse complains about context
imbalance.
This is safe as write_gid is always called with table->rwlock.
write_gid protects from simultaneous writes to this GID entry
by setting the
Hello Christoph,
Can you check whether the branch in the subject of this e-mail works
fine on your setup (commit 59caaed7a7) ? On my test setup (Dell R430
with two ConnectX-3 adapters) this branch crashes during boot in
get_counter_table() (see also the attached screenshot).
Thanks,
Bart.
On 12/30/2015 2:04 PM, Bart Van Assche wrote:
Hello Christoph,
Can you check whether the branch in the subject of this e-mail works
fine on your setup (commit 59caaed7a7) ? On my test setup (Dell R430
with two ConnectX-3 adapters) this branch crashes during boot in
get_counter_table() (see
On Wed, Dec 30, 2015 at 02:22:23PM +0200, Or Gerlitz wrote:
> On 12/30/2015 2:04 PM, Bart Van Assche wrote:
> >Hello Christoph,
> >
> >Can you check whether the branch in the subject of this e-mail works fine
> >on your setup (commit 59caaed7a7) ? On my test setup (Dell R430 with two
> >ConnectX-3
30 matches
Mail list logo