netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Amir Vadai <amirv@mellanox.com>
To: David Miller <davem@davemloft.net>
Cc: Amir Vadai <amirv@mellanox.com>, netdev <netdev@vger.kernel.org>,
	Yevgeny Petrilin <yevgenyp@mellanox.com>,
	Saeed Mahameed <saeedm@mellanox.com>,
	Or Gerlitz <ogerlitz@mellanox.com>,
	Achiad Shochat <achiad@mellanox.com>,
	Ido Shamay <idos@mellanox.com>,
	talal@mellanox.com
Subject: Re: [PATCH net-next V1 00/11] net/mlx5: ConnectX-4 100G Ethernet driver
Date: Tue, 14 Apr 2015 10:05:59 +0300	[thread overview]
Message-ID: <CAPcc5PiXo0yiiM_Y3Cwr8z8LXojZ77m5yMa5Gde9-SifMCF0CQ@mail.gmail.com> (raw)
In-Reply-To: <20150413.221522.162480193486167425.davem@davemloft.net>

On Tue, Apr 14, 2015 at 5:15 AM, David Miller <davem@davemloft.net> wrote:
> From: Amir Vadai <amirv@mellanox.com>
> Date: Mon, 13 Apr 2015 14:44:50 +0300
>
>> - Removed V0 Patch 1/11 ("net/mlx5_core: Virtually extend work/completion queue
>>   buffers by one page") due to misuse of DMA API. Thanks Dave.
>
> I don't know how stupid you think I am....
Hi,

It is our interest to fix this bug here and in the existing code. We
don't like either, that our driver is mis-using the DMA API and that
it is broken on some arch's.

>
> You may have removed the patch that did the refactoring, but the
> completely broken code misusing the DMA API is still there in this
> driver.
>
> I said I want you to fix this fundamental problem with your driver
> before making major changes like this series to it.
>
> And I really meant it.
>
> Don't try to side step the issue in the way that you did here.
It is just a misunderstanding of your sentence: "I'm sorry but I'm
going to require that you fix this mis-use of the DMA API first.". I
thought that it should be fixed in this patchset first....

We were working on a fix to the existing code that is based on vmap,
and I planned to send it in a separate patch later on.
I will soon send V2 with a patch to remove the vmap()  from current
code. It might be problematic to some Infiniband users of mlx5_core,
that will now need to allocate big continuous buffers, I will send the
fix to that in a separate patch in few weeks.

Thanks,
Amir
>
> Thanks.

      reply	other threads:[~2015-04-14  7:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-13 11:44 [PATCH net-next V1 00/11] net/mlx5: ConnectX-4 100G Ethernet driver Amir Vadai
2015-04-13 11:44 ` [PATCH net-next V1 01/11] net/mlx5_core: Set irq affinity hints Amir Vadai
2015-04-13 11:44 ` [PATCH net-next V1 02/11] net/mlx5_core: Add EQ renaming mechanism Amir Vadai
2015-04-13 11:44 ` [PATCH net-next V1 03/11] net/mlx5_core: HW data structs/types definitions preparation for mlx5 ehternet driver Amir Vadai
2015-04-13 11:44 ` [PATCH net-next V1 04/11] net/mlx5_core/ib: New device capabilities handling Amir Vadai
2015-04-13 11:44 ` [PATCH net-next V1 05/11] net/mlx5_core: Implement get and set functions of ptys register fields Amir Vadai
2015-04-13 11:44 ` [PATCH net-next V1 06/11] net/mlx5_core: Implement get/set port status Amir Vadai
2015-04-13 11:44 ` [PATCH net-next V1 07/11] net/mlx5_core: Modify CQ moderation parameters Amir Vadai
2015-04-13 11:44 ` [PATCH net-next V1 08/11] net/mlx5_core: Set/Query port MTU commands Amir Vadai
2015-04-13 11:44 ` [PATCH net-next V1 09/11] net/mlx5: Ethernet Datapath files Amir Vadai
2015-04-13 11:45 ` [PATCH net-next V1 10/11] net/mlx5: Ethernet resources handling Amir Vadai
2015-04-13 11:45 ` [PATCH net-next V1 11/11] net/mlx5: Ethernet driver Amir Vadai
2015-04-14  2:15 ` [PATCH net-next V1 00/11] net/mlx5: ConnectX-4 100G " David Miller
2015-04-14  7:05   ` Amir Vadai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPcc5PiXo0yiiM_Y3Cwr8z8LXojZ77m5yMa5Gde9-SifMCF0CQ@mail.gmail.com \
    --to=amirv@mellanox.com \
    --cc=achiad@mellanox.com \
    --cc=davem@davemloft.net \
    --cc=idos@mellanox.com \
    --cc=netdev@vger.kernel.org \
    --cc=ogerlitz@mellanox.com \
    --cc=saeedm@mellanox.com \
    --cc=talal@mellanox.com \
    --cc=yevgenyp@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).