Skip to contentSkip to conversation

merge struct ib_device_attr into struct ib_device

DISCUSSION Christoph Hellwig 4 participants 10 messages Sep 21, 2015 – Sep 23, 2015 6 messages not in the archive InfiniBand

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Quoted 7 lines · Christoph Hellwig

This patch gets rid of struct ib_device_attr and cleans up drivers nicely.

It goes on top of my send_wr cleanups and the memory registration udpates
from Sagi.

Is the patch missing ?

Regards.

Signature · 7 lines
Yann Droneaud
OPTEYA

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#6 lore raw
In reply to a message not in the archive
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Christoph Hellwig
Sent: Tuesday, September 22, 2015 3:32 PM
To: Yann Droneaud
Cc: [email protected]
Subject: Re: merge struct ib_device_attr into struct ib_device

Quoted 7 lines

Hi Yann,

looks like the patch was too large and majordomo ate it

Here is a link:

http://git.infradead.org/users/hch/rdma.git/commitdiff/0e46553467cd01b63ab9c985f87c18c5328880bb

Hey Christoph,

Can you create a series of smaller patches that will fit on the list? That would make it easier for everyone to review/comment.

Steve.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#7 lore raw

message size, was Re: merge struct ib_device_attr into struct ib_device

Quoted 2 lines · Steve Wise

Can you create a series of smaller patches that will fit on the list? That would make it easier for everyone to review/comment.

I don't see how that is possible, as it's a flag day change.

But maybe we really need to bump up the message size limits for linux-rdma, I'm pretty sure linux-kernel and linux-scsi handle attachments of this size just fine.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#9 lore raw

RE: message size, was Re: merge struct ib_device_attr into struct ib_device

In reply to a message not in the archive
Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 'Christoph Hellwig'
Sent: Tuesday, September 22, 2015 4:55 PM
To: Steve Wise; [email protected]
Cc: [email protected]
Subject: message size, was Re: merge struct ib_device_attr into struct ib_device

On Tue, Sep 22, 2015 at 04:06:17PM -0500, Steve Wise wrote:

Quoted 8 lines
Quoted 2 lines

Can you create a series of smaller patches that will fit on the list? That would make it easier for everyone to review/comment.

I don't see how that is possible, as it's a flag day change.

But maybe we really need to bump up the message size limits for linux-rdma, I'm pretty sure linux-kernel and linux-scsi handle attachments of this size just fine.

An alternative, I guess, is to have the patch broken logically into a series by: core changes, driver changes, and ulp changes. And
then ask Doug to squash it at merge time, as part of the cover letter. But perhaps that isn't standard operating procedure...

How do we change the message size limits? Reviewing w/o it being inline is painful for the (many) reviewers...

Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#10 lore raw

Re: message size, was Re: merge struct ib_device_attr into struct ib_device

From: "Steve Wise" <[email protected]>
Date: Tue, 22 Sep 2015 17:15:15 -0500

Quoted 2 lines

How do we change the message size limits? Reviewing w/o it being inline is painful for the (many) reviewers...

I've increased it.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#13 lore raw

Re: message size, was Re: merge struct ib_device_attr into struct ib_device

In reply to a message not in the archive

Hi,

Quoted 7 lines · Christoph Hellwig
Quoted 3 lines · Steve Wise

Can you create a series of smaller patches that will fit on the list?
That would make it easier for everyone to review/comment.

I don't see how that is possible, as it's a flag day change.

Perhaps you could change ib_query_device() to use the ib_device_attr from struct ib_device so that ulp doesn't have to be modified at the same time the drivers. Then further patches can update the users of ib_query_device(), one at a time. And the last patch would remove ib_query_device().

Regards.

Signature · 6 lines
Yann Droneaud

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#12 lore raw

RE: message size, was Re: merge struct ib_device_attr into struct ib_device

In reply to a message not in the archive
Quoted 10 lines

-----Original Message-----
From: David Miller [mailto:davem-fT/PcQaiUtIeIZ0/[email protected]]
Sent: Tuesday, September 22, 2015 6:08 PM

Quoted 2 lines

How do we change the message size limits? Reviewing w/o it being inline is painful for the (many) reviewers...

I've increased it.

Thanks!

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#15 lore raw

Re: message size, was Re: merge struct ib_device_attr into struct ib_device

In reply to a message not in the archive
Quoted 5 lines · Yann Droneaud

Perhaps you could change ib_query_device() to use the ib_device_attr from struct ib_device so that ulp doesn't have to be modified at the same time the drivers. Then further patches can update the users of ib_query_device(), one at a time. And the last patch would remove ib_query_device().

That would still leave us with a useless struct ib_device_attr embedded into struct ib_device. Anyway, I'll resend it now that the message limits have been bumped.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html