public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jupe" <jupejupe@rushpost.com>
To: linux-kernel@vger.kernel.org
Subject: Ethernet driver problem
Date: Wed, 10 Oct 2007 08:04:29 -0700	[thread overview]
Message-ID: <1192028669.25145.1215155009@webmail.messagingengine.com> (raw)

Hi,

I have written an ethernet driver for an ARM based board.
Linux version: 2.6.20.1

Ping is working fine.

I have written a test server/client application using socket programming
(TCP).
After the connection is setup the server sends a file to the client.

When I run server on PC and client on ARM board it works without any
problem.

BUT if I run server on ARM board and client on PC, it works for some
time and 
then the speed is drastically reduced. (I am sending 4k of data each
time.
after 50 sends it reduces its speed.  This happens always.)

I did some debugging and found that after 50 sends, tcp_sendmsg() is not
being 
called at the same frequency before slowdown.  Also when my driver
ether_tx seems to 
be working fine.

But still i am not able to get the reason for this behaviour.  Can
anyone give hints as to 
why this is happening? 


Regards
Jupe

-- 
  Jupe
  jupejupe@rushpost.com

-- 
http://www.fastmail.fm - mmm... Fastmail...


             reply	other threads:[~2007-10-10 15:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-10 15:04 Jupe [this message]
2007-10-10 15:49 ` Ethernet driver problem linux-os (Dick Johnson)
2007-10-11  7:51   ` Jupe
  -- strict thread matches above, loose matches on Subject: below --
2001-11-24 15:52 Nathan G. Grennan

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=1192028669.25145.1215155009@webmail.messagingengine.com \
    --to=jupejupe@rushpost.com \
    --cc=linux-kernel@vger.kernel.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