linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: 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>,
	Bodong Wang <bodong-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH V1 for-next 1/2] IB/core: Report LSO capabilities when querying device
Date: Thu, 12 May 2016 10:54:35 -0600	[thread overview]
Message-ID: <20160512165435.GA12248@obsidianresearch.com> (raw)
In-Reply-To: <alpine.DEB.2.20.1605120832480.26014-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>

On Thu, May 12, 2016 at 08:34:41AM -0500, Christoph Lameter wrote:
> On Wed, 11 May 2016, Jason Gunthorpe wrote:
> 
> > You basically want to attach a dpdk pmd to something other than
> > ethernet hardware. Eg a IB UD QP using ipoib. At the end of the day
> > that is just a few more parameters when starting the pmd, and a
> > different hwaddress length. To me that sounds much simpler than
> > squeezing all of this endless stuff into libibverbs.
> 
> DPDK handles all network traffic for a nic.

Eh? The DPDK documentation for the mlx4 PMD disagrees:

 This capability allows the PMD to coexist with kernel network
 interfaces which remain functional, although they stop receiving
 unicast packets as long as they share the same MAC address.

The mlx4 PMD *is* QP based, clearly there is no fundamental obstacle
to providing the dpdk API over a flow-steering QP hardware model.

>From that point it becomes a problem of configuring the QP's flow
steering to get the exact split you need, which is exactly the same as
what is being done with verbs today.

Don't be confused that the typical example of dpdk uses a sr-iov
hardware driver, that is just reflecting a limitation of the NIC
hardware available, better hardware like mlx4 can and does use a QP
model to steer the packets instead.

> > build hardware that matches these proposed uAPIs. Which is more or less
> > what I've been more or less asking for :)
> 
> I did not see disagreement from the other vendors.

You don't find Steve's remarks troubling then?

I view Chelsio as one the vendors that could actually implement the
hardware side of these proposed APIs with a firmware update and he
hasn't even looked at them, and has yet to understand what they even
do..

Jason
--
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

  parent reply	other threads:[~2016-05-12 16:54 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
     [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 [this message]
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=20160512165435.GA12248@obsidianresearch.com \
    --to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
    --cc=bodong-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=cl-vYTEC60ixJUAvxtiuMwx3w@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@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 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).