From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [for-next 4/6] net/mlx5: FPGA, Add basic support for Innova Date: Tue, 6 Jun 2017 10:42:35 -0700 Message-ID: <20170606174233.w377ctwtapzccsk7@ast-mbp.dhcp.thefacebook.com> References: <20170529153131.GB7924@obsidianresearch.com> <20170529160252.GA27550@obsidianresearch.com> <20170601153704.GA1680@obsidianresearch.com> <20170605151724.GA20182@obsidianresearch.com> <20170606161709.GA8671@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20170606161709.GA8671-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jason Gunthorpe Cc: Ilan Tayari , Saeed Mahameed , "David S. Miller" , Doug Ledford , "netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "jsorensen-b10kYP2dOMg@public.gmane.org" , Andy Shevchenko , "linux-fpga-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Alan Tull , "yi1.li-VuQAYsv1563Yd54FQh9/CA@public.gmane.org" , Boris Pismenny List-Id: linux-rdma@vger.kernel.org On Tue, Jun 06, 2017 at 10:17:09AM -0600, Jason Gunthorpe wrote: > On Tue, Jun 06, 2017 at 06:52:15AM +0000, Ilan Tayari wrote: > > > So neither the host stack nor the network are aware of them. > > They exist momentarily only on the internal traces on the board and not > > anywhere else. > > Is that really true? If you are creating rocee QPs' then the RDMA > stack sees this stuff and now we have buried a RDMA ULP inside an > ethernet driver which seems really wonky.. > > > I don't mind explaining further, but I think you will just see it in the > > patchset when we submit. > > You described exactly what I thought.. I just disagree with you that > an ethernet connected and controlled IP accelerator is 'part of the > NIC', even if it happens to be colocated on the same circuit board. +1 what Ilan described is a kernel bypass done by hw. This is non starter in production. Same as eswitch this fpga is not represented as a kernel object, there is no way to debug it. NIC crafts roce packets back and forth?! so it's like rdma, but without using kernel rdma stack? When hw ipsec or tls will mysteriously drop or mangle the packets how this can be debugged? Does fpga have attached ddr to store/forward the packets? How memory issues will be reported? No MCE errors ever? Buffer overflow? How many receive queues inside fpga? How health check of fgpa itself will be done? Through roce packets? I would buy the lack of kernel visibility if this fpga+nic combo was a prototype, but it's being presented as a production device with subsequent changes to core networking stack and that's where I have a problem with its sw architecture. -- 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