All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bodong Wang <bodong-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: Jason Gunthorpe
	<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>,
	Christoph Lameter <cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org>
Cc: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Matan Barak <matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	"Hefty,
	Sean" <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Majd Dibbiny <majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH V1 for-next 1/2] IB/core: Report LSO capabilities when querying device
Date: Wed, 11 May 2016 03:47:14 +0000	[thread overview]
Message-ID: <HE1PR05MB164274F171401FC5B21B2474AA720@HE1PR05MB1642.eurprd05.prod.outlook.com> (raw)
In-Reply-To: 20160511020429.GA32766@obsidianresearch.com

On 5/10/2016 9:04 PM, Jason Gunthorpe wrote:
> On Tue, May 10, 2016 at 07:29:42PM -0500, Christoph Lameter wrote:
>>> This was tried at the Collab summit and I heard several representatives
>>> strongly say no.
>> Hardware standards? I thought we were talking about software and APIs.
> The LSO, RSS and Timestamp patches all demand very specific hardware
> functionality for a device to implement the API. It is fundamentally
> not a 100% software API.
>
> Look at the patches. The LSO patch is so bad Sean and Steve couldn't
> even figure out what the heck the HW feature does. I know what it
> does, but I can't tell you the fine details of the actual required
> hardware behavior.
>
> How on earth is someone else supposed to ever implement hardware that
> does this?
>
> I still don't understand why this is being forced into
> libibverbs. dpdk would seem to be the prefered way to access these
> sorts of features and there is no technical reason why the mlx
> dpdk provider needs to use libibverbs. Talk directly to /dev/uverbs0
> and use udata to enable the universe of nic specific features.
There are other user space libraries which are build on top of libibverbs rather than DPDK. E.g, VMA.

>
> For instance, the dpdk community has already done the hard work to
> figure out how to expose things like LSO to their users - and they
> actually have multiple vendors providing these features...
>
> http://dpdk.org/ml/archives/dev/2014-May/002537.html
>
> I guess you are going to tell me you want these features on IB UD
> transport and dpdk has no support for L2's other than ethernet?
>
> Jason
>
The patches from kernel are purely for hardware capabilities report. The policy and logic about how to implement the LSO are living in libibverbs and hardware related libraies(e.g, libmlx5). Review these patches together might make things more clear. They're not pushed to community for review yet because we still can't reach the agreement from this very first step.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2016-05-11  3:47 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-27 14:04 [PATCH V1 for-next 0/2] Add support for reporting LSO capabilities Matan Barak
     [not found] ` <1461765892-1285-1-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-04-27 14:04   ` [PATCH V1 for-next 1/2] IB/core: Report LSO capabilities when querying device Matan Barak
     [not found]     ` <1461765892-1285-2-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-04-27 15:46       ` Christoph Lameter
     [not found]         ` <alpine.DEB.2.20.1604271043540.20042-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2016-04-27 21:54           ` Hefty, Sean
     [not found]             ` <1828884A29C6694DAF28B7E6B8A82373AB046AB1-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-04-28  8:02               ` Matan Barak
     [not found]                 ` <5721C3AD.8050407-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-04-28 16:35                   ` Hefty, Sean
     [not found]                     ` <1828884A29C6694DAF28B7E6B8A82373AB046FD8-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-05-01  8:31                       ` Matan Barak
     [not found]                         ` <d8f8d6bf-9fad-fcc9-5a15-2b2423349c26-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-05-02 17:20                           ` Hefty, Sean
     [not found]                             ` <1828884A29C6694DAF28B7E6B8A82373AB0480DB-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-05-02 17:50                               ` Jason Gunthorpe
     [not found]                                 ` <20160502175011.GB32096-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-02 18:13                                   ` Hefty, Sean
     [not found]                                     ` <1828884A29C6694DAF28B7E6B8A82373AB04816A-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-05-02 19:06                                       ` Jason Gunthorpe
     [not found]                                         ` <20160502190619.GB32613-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-04 16:49                                           ` Hefty, Sean
     [not found]                                             ` <1828884A29C6694DAF28B7E6B8A82373AB048E47-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-05-04 18:11                                               ` Jason Gunthorpe
     [not found]                                                 ` <20160504181135.GA15355-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-05  8:21                                                   ` Matan Barak
     [not found]                                                     ` <21d9307f-766e-9aaa-54d3-207a4a4d5d8c-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-05-05 18:14                                                       ` Jason Gunthorpe
     [not found]                                                         ` <20160505181423.GB5957-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-06  2:20                                                           ` Christoph Lameter
     [not found]                                                             ` <alpine.DEB.2.20.1605052116570.1091-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2016-05-06 22:55                                                               ` Jason Gunthorpe
     [not found]                                                                 ` <20160506225523.GA21309-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-09 14:27                                                                   ` Christoph Lameter
     [not found]                                                                     ` <alpine.DEB.2.20.1605090926440.6128-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2016-05-09 16:35                                                                       ` Jason Gunthorpe
     [not found]                                                                         ` <20160509163537.GA15479-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-09 19:11                                                                           ` Hefty, Sean
     [not found]                                                                             ` <1828884A29C6694DAF28B7E6B8A82373AB04A390-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-05-09 20:05                                                                               ` Jason Gunthorpe
     [not found]                                                                                 ` <20160509200507.GA23911-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-09 20:35                                                                                   ` Hefty, Sean
     [not found]                                                                                     ` <1828884A29C6694DAF28B7E6B8A82373AB04A40A-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-05-10 15:03                                                                                       ` Steve Wise
2016-05-10 16:46                                                                                         ` Jason Gunthorpe
     [not found]                                                                                           ` <20160510164608.GA29825-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-10 16:59                                                                                             ` Steve Wise
2016-05-10 17:12                                                                                         ` Hefty, Sean
2016-05-10  4:58                                                                                   ` Leon Romanovsky
     [not found]                                                                                     ` <20160510045801.GV29160-2ukJVAZIZ/Y@public.gmane.org>
2016-05-10 17:18                                                                                       ` Jason Gunthorpe
     [not found]                                                                                         ` <20160510171819.GB2879-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-10 17:52                                                                                           ` Leon Romanovsky
     [not found]                                                                                             ` <20160510175200.GB900-2ukJVAZIZ/Y@public.gmane.org>
2016-05-10 18:18                                                                                               ` Jason Gunthorpe
     [not found]                                                                                                 ` <20160510181847.GA3754-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-10 19:26                                                                                                   ` Leon Romanovsky
     [not found]                                                                                                     ` <20160510192655.GC900-2ukJVAZIZ/Y@public.gmane.org>
2016-05-10 19:38                                                                                                       ` Leon Romanovsky
2016-05-09 19:16                                                                           ` Leon Romanovsky
     [not found]                                                                             ` <20160509191613.GS29160-2ukJVAZIZ/Y@public.gmane.org>
2016-05-09 19:57                                                                               ` Jason Gunthorpe
     [not found]                                                                                 ` <20160509195734.GA22669-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-10  4:41                                                                                   ` Leon Romanovsky
     [not found]                                                                                     ` <20160510044107.GU29160-2ukJVAZIZ/Y@public.gmane.org>
2016-05-10 17:07                                                                                       ` Jason Gunthorpe
     [not found]                                                                                         ` <20160510170739.GA2879-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-10 17:48                                                                                           ` Leon Romanovsky
2016-05-11  0:29                                                                                           ` Christoph Lameter
     [not found]                                                                                             ` <alpine.DEB.2.20.1605101928280.2103-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2016-05-11  2:04                                                                                               ` Jason Gunthorpe
2016-05-11  3:47                                                                                                 ` Bodong Wang [this message]
     [not found]                                                                                                   ` <HE1PR05MB164274F171401FC5B21B2474AA720-eBadYZ65MZ/fuMsuuuQLTtqRiQSDpxhJvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-05-11 19:20                                                                                                     ` Jason Gunthorpe
     [not found]                                                                                                 ` <20160511020429.GA32766-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-11  4:31                                                                                                   ` Leon Romanovsky
     [not found]                                                                                                     ` <20160511043134.GE900-2ukJVAZIZ/Y@public.gmane.org>
2016-05-11 17:36                                                                                                       ` Jason Gunthorpe
     [not found]                                                                                                         ` <20160511173608.GB18517-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-11 18:37                                                                                                           ` Leon Romanovsky
2016-05-11 14:23                                                                                                   ` Christoph Lameter
     [not found]                                                                                                     ` <alpine.DEB.2.20.1605110920490.8588-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2016-05-11 17:27                                                                                                       ` Jason Gunthorpe
     [not found]                                                                                                         ` <20160511172745.GA18517-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-05-12 13:34                                                                                                           ` Christoph Lameter
     [not found]                                                                                                             ` <alpine.DEB.2.20.1605120832480.26014-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
2016-05-12 16:54                                                                                                               ` Jason Gunthorpe
2016-04-27 14:04   ` [PATCH V1 for-next 2/2] IB/mlx5: Report mlx5 " Matan Barak
2016-04-27 16:42   ` [PATCH V1 for-next 0/2] Add support for reporting LSO capabilities Jason Gunthorpe
     [not found]     ` <20160427164230.GB11617-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-04-27 16:50       ` Christoph Lameter
2016-04-27 17:09       ` Leon Romanovsky
     [not found]         ` <20160427170903.GA11554-2ukJVAZIZ/Y@public.gmane.org>
2016-04-27 17:14           ` Jason Gunthorpe
     [not found]             ` <20160427171451.GA17172-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-04-27 17:35               ` Leon Romanovsky
2016-04-28  7:57               ` Matan Barak

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=HE1PR05MB164274F171401FC5B21B2474AA720@HE1PR05MB1642.eurprd05.prod.outlook.com \
    --to=bodong-vpraknaxozvwk0htik3j/w@public.gmane.org \
    --cc=cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
    --cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.