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: Wed, 11 May 2016 11:27:45 -0600 [thread overview]
Message-ID: <20160511172745.GA18517@obsidianresearch.com> (raw)
In-Reply-To: <alpine.DEB.2.20.1605110920490.8588-wcBtFHqTun5QOdAKl3ChDw@public.gmane.org>
On Wed, May 11, 2016 at 09:23:30AM -0500, Christoph Lameter wrote:
> On Tue, 10 May 2016, Jason Gunthorpe wrote:
>
> > 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.
>
> Well then the trouble is how to integrate that into QPs and the rest of
> the RDMA infrastructure.
Granted, yes, dpdk obviously hasn't had much work in that area,
but it also doesn't seem all that complex.
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.
Assuming that could be done, the dpdk community seems to have a much
better handle on how to design and expose these IP acceleration
features. All we need to do in RDMA land is just let the mlx4 pmd and
mlx4 kernel driver communicate privately to do the special
setup. We've already largely done that with udata. I don't think it
would be contentious at all if mlx4 developed some 'dpdk'
driver-specific calls. Much like how hfi1 has psm driver specific
calls.
Overall, dpdk looks alot better for building IP centric apps - it has
more support utilities to work with IP packets, more optimization, and
more device support for this kind of function. libibverbs always seemed
like a poor fit to me..
.. and having something micro-optimized to only do IP would certainly
speed up wr and wc processing in the pmd, code paths and structure
members to support other opcodes can just be purged entirely. That is
the cache line efficiency you were talking about in the other thread.
> Our software is based on raw ethernet frame processing through QPs. Thus
> the desire to have the extras that the hardware can provide. And yes we
> want to have an API that can be used to interface with hardware from
> multiple vendors.
Well, then you need multiple vendors to agree they could potentially
build hardware that matches these proposed uAPIs. Which is more or less
what I've been more or less asking for :)
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
next prev parent reply other threads:[~2016-05-11 17:27 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 [this message]
[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=20160511172745.GA18517@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).