* Is hard_start_xmit synchronized when using different interfaces?
@ 2009-06-18 11:16 Gallus
0 siblings, 0 replies; only message in thread
From: Gallus @ 2009-06-18 11:16 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-18 11:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-18 11:16 Is hard_start_xmit synchronized when using different interfaces? Gallus
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®