From: "juice" <juice@swagman.org>
To: "Eric Dumazet" <eric.dumazet@gmail.com>,
"Stephen Hemminger" <shemminger@vyatta.com>,
netdev@vger.kernel.org
Subject: Re: Using ethernet device as efficient small packet generator
Date: Thu, 23 Dec 2010 07:15:57 +0200 [thread overview]
Message-ID: <e1a7dc28b8b95e93d38edc418d59e89a.squirrel@www.liukuma.net> (raw)
> Reaching 1Gbs should not be a problem (I was speaking about 10Gbps)
> I reach link speed with my tg3 card and one single cpu :)
> (Broadcom Corporation NetXtreme BCM5715S Gigabit Ethernet (rev a3))
>
> Please provide : ethtool -S eth0
>
This is from the e1000 interface:
03:02.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet
Controller (Copper) (rev 01)
root@a2labralinux:/home/juice# ethtool -S eth1
NIC statistics:
rx_packets: 192069
tx_packets: 60000313
rx_bytes: 33850492
tx_bytes: 3840026215
rx_broadcast: 192069
tx_broadcast: 3
rx_multicast: 0
tx_multicast: 310
rx_errors: 0
tx_errors: 0
tx_dropped: 0
multicast: 0
collisions: 0
rx_length_errors: 0
rx_over_errors: 0
rx_crc_errors: 0
rx_frame_errors: 0
rx_no_buffer_count: 0
rx_missed_errors: 0
tx_aborted_errors: 0
tx_carrier_errors: 0
tx_fifo_errors: 0
tx_heartbeat_errors: 0
tx_window_errors: 0
tx_abort_late_coll: 0
tx_deferred_ok: 0
tx_single_coll_ok: 0
tx_multi_coll_ok: 0
tx_timeout_count: 0
tx_restart_queue: 1806437
rx_long_length_errors: 0
rx_short_length_errors: 0
rx_align_errors: 0
tx_tcp_seg_good: 0
tx_tcp_seg_failed: 0
rx_flow_control_xon: 0
rx_flow_control_xoff: 0
tx_flow_control_xon: 0
tx_flow_control_xoff: 0
rx_long_byte_count: 33850492
rx_csum_offload_good: 8978
rx_csum_offload_errors: 0
rx_header_split: 0
alloc_rx_buff_failed: 0
tx_smbus: 0
rx_smbus: 0
dropped_smbus: 0
This is from the tg3 interface:
05:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5761
Gigabit Ethernet PCIe (rev 10)
root@d8labralinux:/home/juice# ethtool -S eth2
NIC statistics:
rx_octets: 10814
rx_fragments: 0
rx_ucast_packets: 20
rx_mcast_packets: 0
rx_bcast_packets: 26
rx_fcs_errors: 0
rx_align_errors: 0
rx_xon_pause_rcvd: 0
rx_xoff_pause_rcvd: 0
rx_mac_ctrl_rcvd: 0
rx_xoff_entered: 0
rx_frame_too_long_errors: 0
rx_jabbers: 0
rx_undersize_packets: 0
rx_in_length_errors: 0
rx_out_length_errors: 0
rx_64_or_less_octet_packets: 0
rx_65_to_127_octet_packets: 0
rx_128_to_255_octet_packets: 0
rx_256_to_511_octet_packets: 0
rx_512_to_1023_octet_packets: 0
rx_1024_to_1522_octet_packets: 0
rx_1523_to_2047_octet_packets: 0
rx_2048_to_4095_octet_packets: 0
rx_4096_to_8191_octet_packets: 0
rx_8192_to_9022_octet_packets: 0
tx_octets: 5120013863
tx_collisions: 0
tx_xon_sent: 0
tx_xoff_sent: 0
tx_flow_control: 0
tx_mac_errors: 0
tx_single_collisions: 0
tx_mult_collisions: 0
tx_deferred: 0
tx_excessive_collisions: 0
tx_late_collisions: 0
tx_collide_2times: 0
tx_collide_3times: 0
tx_collide_4times: 0
tx_collide_5times: 0
tx_collide_6times: 0
tx_collide_7times: 0
tx_collide_8times: 0
tx_collide_9times: 0
tx_collide_10times: 0
tx_collide_11times: 0
tx_collide_12times: 0
tx_collide_13times: 0
tx_collide_14times: 0
tx_collide_15times: 0
tx_ucast_packets: 80000034
tx_mcast_packets: 42
tx_bcast_packets: 40
tx_carrier_sense_errors: 0
tx_discards: 0
tx_errors: 0
dma_writeq_full: 0
dma_write_prioq_full: 0
rxbds_empty: 0
rx_discards: 0
rx_errors: 0
rx_threshold_hit: 0
dma_readq_full: 0
dma_read_prioq_full: 0
tx_comp_queue_full: 0
ring_set_send_prod_index: 0
ring_status_update: 0
nic_irqs: 0
nic_avoided_irqs: 0
nic_tx_threshold_hit: 0
next reply other threads:[~2010-12-23 5:16 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-23 5:15 juice [this message]
2010-12-23 8:57 ` Using ethernet device as efficient small packet generator Jon Zhou
2010-12-23 10:50 ` juice
-- strict thread matches above, loose matches on Subject: below --
2010-12-30 1:11 Loke, Chetan
2011-01-21 11:44 ` juice
2011-01-21 11:51 ` Eric Dumazet
2011-01-21 12:12 ` juice
2011-01-21 13:38 ` Ben Greear
2011-01-21 22:09 ` Brandeburg, Jesse
2011-01-23 21:48 ` juice
2011-01-24 8:10 ` juice
2011-01-24 9:18 ` Eric Dumazet
2011-01-24 16:34 ` Eric Dumazet
2011-01-24 20:51 ` juice
2011-02-02 8:13 ` juice
2010-12-22 7:30 juice
2010-12-22 8:08 ` Eric Dumazet
2010-12-22 11:11 ` juice
2010-12-22 11:28 ` Eric Dumazet
2010-12-22 15:48 ` Jon Zhou
2010-12-22 15:59 ` Eric Dumazet
2010-12-22 16:52 ` Jon Zhou
2010-12-22 17:18 ` Eric Dumazet
2010-12-22 17:40 ` Jon Zhou
2010-12-22 17:51 ` Eric Dumazet
2010-12-22 17:15 ` Jon Zhou
2010-12-21 9:56 juice
2010-12-21 18:22 ` Stephen Hemminger
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=e1a7dc28b8b95e93d38edc418d59e89a.squirrel@www.liukuma.net \
--to=juice@swagman.org \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=shemminger@vyatta.com \
/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;
as well as URLs for NNTP newsgroup(s).