From: Prashant Sreedharan <prashant@broadcom.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Michael Chan <mchan@broadcom.com>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>,
David Vrabel <david.vrabel@citrix.com>,
Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>,
Vlad Yasevich <vyasevich@gmail.com>,
"Nithin Nayak Sujir" <nsujir@broadcom.com>,
<xen-devel@lists.xensource.com>, <netdev@vger.kernel.org>
Subject: Re: tg3 NIC driver bug in 3.14.x under Xen [and 3 more messages]
Date: Wed, 8 Apr 2015 18:43:18 -0700 [thread overview]
Message-ID: <1428543798.4720.20.camel@prashant> (raw)
In-Reply-To: <21797.13348.524963.29127@mariner.uk.xensource.com>
On Wed, 2015-04-08 at 14:59 +0100, Ian Jackson wrote:
> Thanks to Konrad, Michael and Prashant for your attention.
>
>
> Prashant Sreedharan writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"):
> > Ian, in your previous mail you indicated there are no drops or errors
> > reported on eth0 (assuming this is the tg3 port), which is added to the
> > bridge xenbr0 is this correct ?
>
> Yes, that is correct.
>
> > If so the rx drops on xenbr0 does not match with eth0. please also
> > provide "brctl show", "ethtool -i eth0"
>
> root@bedbug:~# brctl show
> bridge name bridge id STP enabled interfaces
> xenbr0 8000.00137214c051 no eth0
> root@bedbug:~# ethtool -i eth0
> driver: tg3
> version: 3.136
> firmware-version: 5751-v3.44a
> bus-info: 0000:03:00.0
> supports-statistics: yes
> supports-test: yes
> supports-eeprom-access: yes
> supports-register-dump: yes
> supports-priv-flags: no
> root@bedbug:~#
>
>
> Michael Chan writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"):
> > On Tue, 2015-04-07 at 19:13 +0100, Ian Jackson wrote:
> > > root@bedbug:~# ethtool -S xenbr0 | grep -v ': 0$'
> > > no stats available
> > > root@bedbug:~#
> >
> > Please provide ethtool -S on the tg3 device.
>
> I did that in my previous email. Let me recap:
>
> Ian Jackson writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"):
> > Michael Chan writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"):
> > > Please provide the output of "ethtool -S" which has a better breakdown
> > > of the error counters. Thanks.
> >
> > root@bedbug:~# ethtool -S eth0 | grep -v ': 0$'
> > NIC statistics:
> > rx_octets: 793954
> > rx_ucast_packets: 342
> > rx_mcast_packets: 197
> > rx_bcast_packets: 11049
> > tx_octets: 59093
> > tx_ucast_packets: 396
> > tx_mcast_packets: 8
> > tx_bcast_packets: 4
> > root@bedbug:~# ifconfig eth0
> > eth0 Link encap:Ethernet HWaddr 00:13:72:14:c0:51
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:16012 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:459 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:1090543 (1.0 MiB) TX bytes:64575 (63.0 KiB)
> > Interrupt:17
> >
> > root@bedbug:~#
> >
> > And:
> >
> > --- bedbug.cam.xci-test.com ping statistics ---
> > 120 packets transmitted, 90 received, 25% packet loss, time 119354ms
> > rtt min/avg/max/mdev = 0.294/0.459/0.844/0.073 ms
> >
> >
> > Evidently on this particular kernel, the error counters are _not_
> > increasing, contrary to what I said before. I confess that I didn't
> > keep a record of on which particular machine and kernel I observed the
> > error count increasing.
> >
> > If it would help I could try to check various other machines and/or
> > other kernels to see if I can get one of them to display the error
> > counter behaviour.
>
>
> Ian Jackson writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"):
> > I just realised that I didn't check xenbr0 as well as eth0:
> >
> > root@bedbug:~# ifconfig xenbr0
> > xenbr0 Link encap:Ethernet HWaddr 00:13:72:14:c0:51
> > inet addr:10.80.249.102 Bcast:10.80.251.255
> > Mask:255.255.252.0
> > inet6 addr: fe80::213:72ff:fe14:c051/64 Scope:Link
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:12296 errors:0 dropped:793 overruns:0 frame:0
> > TX packets:437 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:0
> > RX bytes:618757 (604.2 KiB) TX bytes:49084 (47.9 KiB)
> >
> > root@bedbug:~# ethtool -S xenbr0 | grep -v ': 0$'
> > no stats available
> > root@bedbug:~#
> >
> > The value for "dropped" increases steadily. This particular box is on
> > a network with a lot of other stuff, so it will be constantly
> > receiving broadcasts of various kinds even when I am not trying to
> > address it directly.
>
Based on the stats, the issue seems to be with the bridge than tg3. Do
you have any filters enabled on xenbr0 ?
WARNING: multiple messages have this Message-ID (diff)
From: Prashant Sreedharan <prashant@broadcom.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Michael Chan <mchan@broadcom.com>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>,
David Vrabel <david.vrabel@citrix.com>,
Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>,
Vlad Yasevich <vyasevich@gmail.com>,
Nithin Nayak Sujir <nsujir@broadcom.com>,
xen-devel@lists.xensource.com, netdev@vger.kernel.org
Subject: Re: tg3 NIC driver bug in 3.14.x under Xen [and 3 more messages]
Date: Wed, 8 Apr 2015 18:43:18 -0700 [thread overview]
Message-ID: <1428543798.4720.20.camel@prashant> (raw)
In-Reply-To: <21797.13348.524963.29127@mariner.uk.xensource.com>
On Wed, 2015-04-08 at 14:59 +0100, Ian Jackson wrote:
> Thanks to Konrad, Michael and Prashant for your attention.
>
>
> Prashant Sreedharan writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"):
> > Ian, in your previous mail you indicated there are no drops or errors
> > reported on eth0 (assuming this is the tg3 port), which is added to the
> > bridge xenbr0 is this correct ?
>
> Yes, that is correct.
>
> > If so the rx drops on xenbr0 does not match with eth0. please also
> > provide "brctl show", "ethtool -i eth0"
>
> root@bedbug:~# brctl show
> bridge name bridge id STP enabled interfaces
> xenbr0 8000.00137214c051 no eth0
> root@bedbug:~# ethtool -i eth0
> driver: tg3
> version: 3.136
> firmware-version: 5751-v3.44a
> bus-info: 0000:03:00.0
> supports-statistics: yes
> supports-test: yes
> supports-eeprom-access: yes
> supports-register-dump: yes
> supports-priv-flags: no
> root@bedbug:~#
>
>
> Michael Chan writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"):
> > On Tue, 2015-04-07 at 19:13 +0100, Ian Jackson wrote:
> > > root@bedbug:~# ethtool -S xenbr0 | grep -v ': 0$'
> > > no stats available
> > > root@bedbug:~#
> >
> > Please provide ethtool -S on the tg3 device.
>
> I did that in my previous email. Let me recap:
>
> Ian Jackson writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"):
> > Michael Chan writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"):
> > > Please provide the output of "ethtool -S" which has a better breakdown
> > > of the error counters. Thanks.
> >
> > root@bedbug:~# ethtool -S eth0 | grep -v ': 0$'
> > NIC statistics:
> > rx_octets: 793954
> > rx_ucast_packets: 342
> > rx_mcast_packets: 197
> > rx_bcast_packets: 11049
> > tx_octets: 59093
> > tx_ucast_packets: 396
> > tx_mcast_packets: 8
> > tx_bcast_packets: 4
> > root@bedbug:~# ifconfig eth0
> > eth0 Link encap:Ethernet HWaddr 00:13:72:14:c0:51
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:16012 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:459 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:1090543 (1.0 MiB) TX bytes:64575 (63.0 KiB)
> > Interrupt:17
> >
> > root@bedbug:~#
> >
> > And:
> >
> > --- bedbug.cam.xci-test.com ping statistics ---
> > 120 packets transmitted, 90 received, 25% packet loss, time 119354ms
> > rtt min/avg/max/mdev = 0.294/0.459/0.844/0.073 ms
> >
> >
> > Evidently on this particular kernel, the error counters are _not_
> > increasing, contrary to what I said before. I confess that I didn't
> > keep a record of on which particular machine and kernel I observed the
> > error count increasing.
> >
> > If it would help I could try to check various other machines and/or
> > other kernels to see if I can get one of them to display the error
> > counter behaviour.
>
>
> Ian Jackson writes ("Re: tg3 NIC driver bug in 3.14.x under Xen"):
> > I just realised that I didn't check xenbr0 as well as eth0:
> >
> > root@bedbug:~# ifconfig xenbr0
> > xenbr0 Link encap:Ethernet HWaddr 00:13:72:14:c0:51
> > inet addr:10.80.249.102 Bcast:10.80.251.255
> > Mask:255.255.252.0
> > inet6 addr: fe80::213:72ff:fe14:c051/64 Scope:Link
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:12296 errors:0 dropped:793 overruns:0 frame:0
> > TX packets:437 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:0
> > RX bytes:618757 (604.2 KiB) TX bytes:49084 (47.9 KiB)
> >
> > root@bedbug:~# ethtool -S xenbr0 | grep -v ': 0$'
> > no stats available
> > root@bedbug:~#
> >
> > The value for "dropped" increases steadily. This particular box is on
> > a network with a lot of other stuff, so it will be constantly
> > receiving broadcasts of various kinds even when I am not trying to
> > address it directly.
>
Based on the stats, the issue seems to be with the bridge than tg3. Do
you have any filters enabled on xenbr0 ?
next prev parent reply other threads:[~2015-04-09 2:06 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-07 15:12 tg3 NIC driver bug in 3.14.x under Xen Ian Jackson
2015-04-07 15:12 ` Ian Jackson
2015-04-07 15:37 ` Konrad Rzeszutek Wilk
2015-04-07 15:37 ` Konrad Rzeszutek Wilk
2015-04-07 18:25 ` Ian Jackson
2015-04-07 18:25 ` Ian Jackson
2015-04-07 16:55 ` Michael Chan
2015-04-07 16:55 ` Michael Chan
2015-04-07 17:58 ` Ian Jackson
2015-04-07 17:58 ` Ian Jackson
2015-04-07 18:13 ` Ian Jackson
2015-04-07 18:13 ` Ian Jackson
2015-04-07 23:21 ` Michael Chan
2015-04-07 23:21 ` Michael Chan
2015-04-07 23:22 ` Prashant Sreedharan
2015-04-07 23:22 ` Prashant Sreedharan
2015-04-08 13:59 ` tg3 NIC driver bug in 3.14.x under Xen [and 3 more messages] Ian Jackson
2015-04-08 13:59 ` Ian Jackson
2015-04-09 1:43 ` Prashant Sreedharan [this message]
2015-04-09 1:43 ` Prashant Sreedharan
2015-04-09 11:11 ` Ian Jackson
2015-04-09 11:11 ` Ian Jackson
2015-04-09 16:10 ` Prashant Sreedharan
2015-04-09 16:10 ` Prashant Sreedharan
2015-04-09 16:57 ` Ian Jackson
2015-04-09 16:57 ` Ian Jackson
2015-04-09 17:25 ` Ian Jackson
2015-04-09 17:25 ` Ian Jackson
2015-04-09 18:08 ` Prashant Sreedharan
2015-04-09 18:08 ` Prashant Sreedharan
2015-04-10 15:06 ` Ian Jackson
2015-04-10 15:06 ` Ian Jackson
2015-04-11 8:01 ` Prashant
2015-04-11 8:01 ` Prashant
2015-04-15 10:54 ` Ian Jackson
2015-04-15 10:54 ` Ian Jackson
2015-04-16 2:53 ` Prashant
2015-04-16 2:53 ` Prashant
2015-04-16 10:18 ` Ian Jackson
2015-04-16 10:18 ` Ian Jackson
2015-04-16 12:24 ` cascardo
2015-04-16 16:39 ` Michael Chan
2015-04-16 16:39 ` Michael Chan
2015-04-16 17:15 ` Ian Jackson
2015-04-16 17:15 ` Ian Jackson
2015-04-16 22:51 ` Prashant Sreedharan
2015-04-16 22:51 ` Prashant Sreedharan
2015-04-17 16:29 ` Ian Jackson
2015-04-17 16:29 ` Ian Jackson
2015-04-17 17:19 ` David Miller
2015-04-17 17:46 ` Michael Chan
2015-04-17 17:46 ` Michael Chan
2015-04-17 19:04 ` Konrad Rzeszutek Wilk
2015-04-17 19:12 ` David Miller
2015-04-17 18:52 ` Prashant Sreedharan
2015-04-17 18:52 ` Prashant Sreedharan
2015-04-21 15:05 ` Ian Jackson
2015-04-21 15:05 ` Ian Jackson
2015-04-21 15:36 ` [OSSTEST PATCH] ts-kernel-build: Enable x86 IOMMU options Ian Jackson
2015-04-21 15:44 ` Ian Campbell
2015-04-21 16:51 ` Konrad Rzeszutek Wilk
2015-04-18 12:39 ` [tip:x86/urgent] config: Enable NEED_DMA_MAP_STATE by default when SWIOTLB is selected tip-bot for Konrad Rzeszutek Wilk
2015-04-16 18:14 ` tg3 NIC driver bug in 3.14.x under Xen [and 3 more messages] David Miller
2015-04-09 18:26 ` Michael Chan
2015-04-09 18:26 ` Michael Chan
2015-04-10 11:43 ` Ian Jackson
2015-04-10 11:43 ` Ian Jackson
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=1428543798.4720.20.camel@prashant \
--to=prashant@broadcom.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=cascardo@linux.vnet.ibm.com \
--cc=david.vrabel@citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=mchan@broadcom.com \
--cc=netdev@vger.kernel.org \
--cc=nsujir@broadcom.com \
--cc=vyasevich@gmail.com \
--cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.