From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [NET_NEXT RFC PATCH 2/3] ixgbe: added netdev_ops file to debugfs Date: Thu, 10 May 2012 14:35:39 -0700 Message-ID: <20120510143539.5584e87e@nehalam.linuxnetplumber.net> References: <20120509230945.31910.48302.stgit@localhost6.localdomain6> <20120509161320.37fcb705@nehalam.linuxnetplumber.net> <20120510.163207.1812696843582837101.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: David Miller , "netdev@vger.kernel.org" To: "Sullivan, Catherine" Return-path: Received: from mail.vyatta.com ([76.74.103.46]:56120 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756839Ab2EJVfm (ORCPT ); Thu, 10 May 2012 17:35:42 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 10 May 2012 21:14:49 +0000 "Sullivan, Catherine" wrote: > I was aware of this, however this does not allow a call to the ndo_tx_timeout function which is what my patch does. Is there a way to do this with sysfs? I could not find this functionality. > > -----Original Message----- > From: David Miller [mailto:davem@davemloft.net] > Sent: Thursday, May 10, 2012 1:32 PM > > From: "Sullivan, Catherine" > Date: Thu, 10 May 2012 20:28:28 +0000 > > > Could you point me to where this is available in sysfs please? I'm not > > familiar with it. > > Is the 'find' program not properly functioning on your computer? > > [davem@drr net-next]$ find /sys -type f -name tx_timeout /sys/devices/virtual/net/lo/queues/tx-0/tx_timeout > /sys/devices/virtual/net/redhat0/queues/tx-0/tx_timeout > /sys/devices/pci0000:00/0000:00:1c.2/0000:06:00.0/net/p34p1/queues/tx-0/tx_timeout > [davem@drr net-next]$ Are you trying to induce timeout for some tests or code coverage?