From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Dreier Subject: Re: [PATCH v2] IB/util madeye.c Date: Thu, 27 May 2010 11:10:49 -0700 Message-ID: References: <4C2744E8AD2982428C5BFE523DF8CDCB49A488D5D7@MNEXMB1.qlogic.org> <20100527094605.790bafee.weiny2@llnl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: (Sean Hefty's message of "Thu, 27 May 2010 10:42:22 -0700") Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Hefty, Sean" Cc: Ira Weiny , Mike Heinz , "linux-rdma@vger.kernel.org" List-Id: linux-rdma@vger.kernel.org > > Do you mean the controls? not the snooping? > I mean port madeye to calling libibumad. Replace module_params with > command line options, printk with printf, use the libibumad > registration calls, etc. But we would need to extend the user MAD interface to support snooping, right? How easy would that be to slot in? Another option would be to rip out all the MAD snooping stuff from the core and replace it with something based on the kernel's tracing infrastructure -- that would give us both a low-tech shell-based version of madeye (based on just using the pretty-printed ASCII dumps from the kernel trace stuff) and also allow for higher-tech userspace code to do smarter processing based on the binary trace interface. - R. -- Roland Dreier || For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html -- 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