From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: HW communication debugging interface - ideas? Date: Mon, 5 Oct 2015 16:55:42 +0200 Message-ID: <20151005145542.GJ2278@nanopsycho.orion> References: <20150930135141.GF2098@nanopsycho.orion> <9B0331B6EBBD0E4684FBFAEDA55776F91944E43E@HASMSX110.ger.corp.intel.com> <20151005095633.GE2278@nanopsycho.orion> <20151005144941.GC8673@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Rosen, Rami" , "davem@davemloft.net" , "netdev@vger.kernel.org" , "eladr@mellanox.com" , "idosch@mellanox.com" To: Andrew Lunn Return-path: Received: from mail-wi0-f177.google.com ([209.85.212.177]:36446 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751258AbbJEOzp (ORCPT ); Mon, 5 Oct 2015 10:55:45 -0400 Received: by wicgb1 with SMTP id gb1so123477859wic.1 for ; Mon, 05 Oct 2015 07:55:43 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20151005144941.GC8673@lunn.ch> Sender: netdev-owner@vger.kernel.org List-ID: Mon, Oct 05, 2015 at 04:49:41PM CEST, andrew@lunn.ch wrote: >> >Are you referring here to messages of the EMAD protocol ? > >I know nothing about this protocol..... > >Does it at least use standard Ethernet framing? Source and Destination >header and an EtherType which mean EMAD? Yep, but that does not really matter. I believe we should find debugging interface which is protocol agnostic. Just arbitrary messages monitoring. > >Marvell has a way to access registers of their switches using Ethernet >Frames, and they are valid frames with a specific EtherType. Linux >does not use them, but if it did, i would of thought passing them >along using the normal pcap interface would be trivial. > > Andrew