mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gallus <gall.cwpl@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Is hard_start_xmit synchronized when using different interfaces?
Date: Thu, 18 Jun 2009 13:16:01 +0200	[thread overview]
Message-ID: <b08bcbf50906180416l5268bcf9waba28763def7387a@mail.gmail.com> (raw)

Hi,
I'm trying to sent packets to different interfaces handled by the same
network driver (Intel e1000e). The interfaces are located on the same
card as well as on different cards.

Each interface has its own instance of my additional custom driver
designed to just send packets. The custom driver just allocs the
packets by:
skb = dev_alloc_skb(packet->len);

and then them sends by:
result = dev->hard_start_xmit(skb,dev);

The problem is that I cant obtain full bandwidth offered by the 1GB
interfaces.

For one interface I get: 120435948 bytes/sec.
For two interfaces I get: 61080233 bytes/sec and 60515294 bytes/sec.
For three interfaces I get: 28564020 bytes/sec, 27111184 bytes/sec,
27118907 bytes/sec.

Is the hard_start_xmit function synchronized even if interfaces are distinct?

Please CC me.
-- 
Regards,
Adam

                 reply	other threads:[~2009-06-18 11:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=b08bcbf50906180416l5268bcf9waba28763def7387a@mail.gmail.com \
    --to=gall.cwpl@gmail.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

all inboxes | Powered by JetHome®