netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Laight <David.Laight@ACULAB.COM>
To: 'Pavan Chebbi' <pavan.chebbi@broadcom.com>
Cc: Paolo Abeni <pabeni@redhat.com>,
	Michael Chan <michael.chan@broadcom.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"mchan@broadcom.com" <mchan@broadcom.com>,
	David Miller <davem@davemloft.net>
Subject: RE: tg3 dropping packets at high packet rates
Date: Thu, 19 May 2022 14:42:51 +0000	[thread overview]
Message-ID: <1bc5053ef6f349989b42117eda7d2515@AcuMS.aculab.com> (raw)
In-Reply-To: <CALs4sv2M+9N1joECMQrOGKHQ_YjMqzeF1gPD_OBQ2_r+SJwOwQ@mail.gmail.com>

From: Pavan Chebbi
> Sent: 19 May 2022 15:36
...
> When this happens, can you provide the register dump that you can
> obtain using ethtool -d ?

Two dumps a few seconds apart:

# (echo x x x x; ethtool -d em2)|xargs -n8
x x x x Offset Value ------ ----------
0x0000 0x165f14e4 0x0004 0x00100406 0x0008 0x02000000 0x000c 0x00800000
0x0010 0x91a0000c 0x0018 0x91a1000c 0x0020 0x91a2000c 0x002c 0x06391028
0x0030 0xfffc0000 0x0034 0x00000048 0x003c 0x00000206 0x0044 0x8f000000
0x0048 0xc8035001 0x004c 0x64002008 0x0050 0x818c5803 0x0054 0x78000000
0x0058 0x0086a005 0x0068 0xf0000298 0x006c 0x00380081 0x0070 0x000710b0
0x0074 0xfd8044ff 0x0080 0x165f14e4 0x0084 0x00000012 0x008c 0x00000484
0x009c 0x00000071 0x00a0 0x8010ac11 0x00a4 0x00000004 0x00a8 0x00001004
0x00ac 0x00020010 0x0204 0x8f000000 0x020c 0x28000000 0x0214 0x01000000
0x021c 0x01000000 0x0224 0x01000000 0x026c 0x0000008a 0x0284 0x000004a7
0x0304 0x0000009d 0x0400 0x18e04808 0x0404 0x00400000 0x0408 0x00001000
0x040c 0x00000c80 0x0410 0x00001866 0x0414 0xdaa3bd74 0x0418 0x00001866
0x041c 0xdaa3bd74 0x0420 0x00001866 0x0424 0xdaa3bd74 0x0428 0x00001866
0x042c 0xdaa3bd74 0x0430 0x00000400 0x0438 0x00000027 0x043c 0x000005f2
0x044c 0x084a3800 0x0450 0x00000001 0x0454 0x00008000 0x045c 0x00000102
0x0460 0x00000008 0x0464 0x00002620 0x0468 0x01ff0002 0x0470 0x80020000
0x047c 0x40000000 0x0480 0x42000000 0x0484 0x7fffffff 0x0488 0x06000004
0x048c 0x7fffffff 0x0500 0x00000008 0x0504 0x00000002 0x0590 0x00e00000
0x05b4 0x00000008 0x05c0 0x8bd00c98 0x05c4 0xaf1fd203 0x0600 0xffffffff
0x0604 0x00f80011 0x060c 0x00001f04 0x0610 0xfd96fc1d 0x0614 0x03800400
0x0618 0x07c01191 0x0620 0x00001840 0x0670 0xfbe8e1be 0x0674 0x0b19b642
0x0678 0x99253094 0x067c 0x8cd32315 0x0680 0xfdf2db46 0x0684 0x1e047b78
0x0688 0xb6720331 0x068c 0xcf31fe6e 0x0690 0x6d3ec110 0x0694 0xfd6c05b3
0x06c8 0x04000000 0x0804 0xffffffff 0x0814 0xffffffff 0x0828 0xffffffff
0x0834 0xffffffff 0x0838 0xffffffff 0x083c 0xffffffff 0x0840 0xffffffff
0x0844 0xffffffff 0x0848 0xffffffff 0x084c 0xffffffff 0x0850 0xffffffff
0x0854 0xffffffff 0x0858 0xffffffff 0x085c 0xffffffff 0x0860 0xffffffff
0x0864 0xffffffff 0x0868 0xffffffff 0x0880 0x00097d82 0x0884 0x000000fc
0x088c 0x00000b27 0x0c00 0x0000000a 0x0c08 0x00000003 0x0c0c 0x00000001
0x0c1c 0x002a0000 0x0c80 0x00000001 0x1000 0x00000002 0x1400 0x00000006
0x1440 0x0000009d 0x1444 0x0000009d 0x1448 0x0000009d 0x144c 0x0000009d
0x1450 0x0000009d 0x1454 0x0000009d 0x1458 0x0000009d 0x145c 0x0000009d
0x1460 0x0000009d 0x1464 0x0000009d 0x1468 0x0000009d 0x146c 0x0000009d
0x1470 0x0000009d 0x1474 0x0000009d 0x1478 0x0000009d 0x147c 0x0000009d
0x1800 0x00000016 0x1808 0x0000009d 0x183c 0x058c8000 0x1840 0x058c8000
0x1844 0x00000001 0x1c00 0x00000002 0x2000 0x00000002 0x2004 0x00000010
0x2010 0x00000181 0x2014 0x00000001 0x2018 0x00780003 0x2100 0x000c180e
0x2104 0x000c1e11 0x2110 0x000c301a 0x2114 0x000c301a 0x2120 0x000c4223
0x2124 0x000c4826 0x2130 0x000c542c 0x2134 0x000c5a2f 0x2140 0x000c6c38
0x2144 0x000c6c38 0x2150 0x000c7e41 0x2154 0x000c8444 0x2160 0x000c964d
0x2164 0x000c9c50 0x2170 0x000ca856 0x2174 0x000cae59 0x2180 0x000cba5f
0x2184 0x000cc062 0x2190 0x000cd26b 0x2194 0x000cd86e 0x21a0 0x000ce474
0x21a4 0x000cea77 0x21b0 0x000cf67d 0x21b4 0x000cfc80 0x21c0 0x000d0886
0x21c4 0x000d0e89 0x21d0 0x000d2092 0x21d4 0x000d2695 0x21e0 0x000d329b
0x21e4 0x000d389e 0x21f0 0x000d44a4 0x21f4 0x000d4aa7 0x2200 0x00234d39
0x2250 0x000055e8 0x2400 0x00010012 0x2408 0x00200001 0x2448 0x00000002
0x244c 0x00044400 0x2450 0x00000001 0x2454 0x06970000 0x2458 0x08001800
0x245c 0x00040000 0x2474 0x000006bb 0x2800 0x00000006 0x2c00 0x00000006
0x2c0c 0x0000074d 0x2c18 0x00000040 0x2c1c 0x0000000c 0x3000 0x00000006
0x300c 0x00000752 0x3800 0x00000001 0x3c00 0x00000306 0x3c0c 0x00000048
0x3c14 0x00000035 0x3c24 0x00000005 0x3c38 0x00000001 0x3c3c 0x09a14000
0x3c44 0x00000b00 0x3c54 0x000006eb 0x3c80 0x000006f4 0x3cc0 0x0000009d
0x3cd4 0x0000000f 0x3d80 0x00000014 0x3d88 0x00000005 0x3d90 0x00000005
0x3d98 0x00000014 0x3da0 0x00000005 0x3da8 0x00000005 0x3db0 0x00000014
0x3db8 0x00000005 0x3dc0 0x00000005 0x3dc8 0x00000014 0x3dd0 0x00000005
0x3dd8 0x00000005 0x4000 0x00000002 0x4008 0x00141d03 0x400c 0x00114653
0x4400 0x00000016 0x4408 0x00010000 0x440c 0x0000a000 0x4414 0x0000002a
0x4418 0x000000a0 0x4420 0x0000003d 0x444c 0x04310c45 0x4450 0x000e0339
0x4454 0x00c800cf 0x4800 0x380303fe 0x4c00 0x200003fe 0x5000 0x00009800
0x5004 0x80004000 0x501c 0x08001f88 0x5034 0x0000001d 0x5800 0x8f000000
0x5804 0x8f000000 0x5808 0x37000000 0x5810 0x01000000 0x5818 0x01000000
0x5820 0x01000000 0x5868 0x000000c1 0x586c 0x000000c1 0x5880 0x000004d9
0x5884 0x000004d9 0x5900 0x0000009d 0x5904 0x0000009d 0x6000 0x00010082
0x6800 0x141b0034 0x6804 0x20099082 0x6808 0x01069208 0x680c 0x5421cc3e
0x6810 0x21020000 0x6814 0xffffffff 0x6830 0xffffffff 0x6834 0xffffffff
0x6844 0x00000001 0x7000 0x00000008 0x700c 0x00004a4c 0x7010 0xf8ba8764
0x7014 0x01c080f3 0x7018 0x00d70081 0x701c 0x03008200

# (echo x x x x; ethtool -d em2)|xargs -n8
x x x x Offset Value ------ ----------
0x0000 0x165f14e4 0x0004 0x00100406 0x0008 0x02000000 0x000c 0x00800000
0x0010 0x91a0000c 0x0018 0x91a1000c 0x0020 0x91a2000c 0x002c 0x06391028
0x0030 0xfffc0000 0x0034 0x00000048 0x003c 0x00000206 0x0044 0x59000000
0x0048 0xc8035001 0x004c 0x64002008 0x0050 0x818c5803 0x0054 0x78000000
0x0058 0x0086a005 0x0068 0xf0000298 0x006c 0x00380081 0x0070 0x000710b0
0x0074 0xfd8044ff 0x0080 0x165f14e4 0x0084 0x00000012 0x008c 0x000005f0
0x009c 0x000001d8 0x00a0 0x8010ac11 0x00a4 0x00000004 0x00a8 0x00001004
0x00ac 0x00020010 0x0204 0x59000000 0x020c 0x33000000 0x0214 0x01000000
0x021c 0x01000000 0x0224 0x01000000 0x026c 0x000001d8 0x0284 0x000005f0
0x0304 0x0000009f 0x0400 0x18e04808 0x0404 0x00400000 0x0408 0x00001000
0x040c 0x00000880 0x0410 0x00001866 0x0414 0xdaa3bd74 0x0418 0x00001866
0x041c 0xdaa3bd74 0x0420 0x00001866 0x0424 0xdaa3bd74 0x0428 0x00001866
0x042c 0xdaa3bd74 0x0430 0x00000400 0x0438 0x0000006d 0x043c 0x000005f2
0x044c 0x084a3800 0x0450 0x00000001 0x0454 0x00008000 0x045c 0x00000102
0x0460 0x00000008 0x0464 0x00002620 0x0468 0x01ff0002 0x0470 0x80020000
0x047c 0x40000000 0x0480 0x42000000 0x0484 0x7fffffff 0x0488 0x06000004
0x048c 0x7fffffff 0x0500 0x00000008 0x0504 0x00000002 0x0590 0x00e00000
0x05b4 0x00000008 0x05c0 0x8bd00c98 0x05c4 0xaf1fd203 0x0600 0xffffffff
0x0604 0x00f80011 0x060c 0x00001f04 0x0610 0x0130a264 0x0614 0x10003600
0x0618 0x07c02f11 0x0620 0x00001840 0x0670 0xfbe8e1be 0x0674 0x0b19b642
0x0678 0x99253094 0x067c 0x8cd32315 0x0680 0xfdf2db46 0x0684 0x1e047b78
0x0688 0xb6720331 0x068c 0xcf31fe6e 0x0690 0x6d3ec110 0x0694 0xfd6c05b3
0x06c8 0x04000000 0x0804 0xffffffff 0x0814 0xffffffff 0x0828 0xffffffff
0x0834 0xffffffff 0x0838 0xffffffff 0x083c 0xffffffff 0x0840 0xffffffff
0x0844 0xffffffff 0x0848 0xffffffff 0x084c 0xffffffff 0x0850 0xffffffff
0x0854 0xffffffff 0x0858 0xffffffff 0x085c 0xffffffff 0x0860 0xffffffff
0x0864 0xffffffff 0x0868 0xffffffff 0x0880 0x03b3bdba 0x0884 0x000003f0
0x088c 0x000458f3 0x0890 0x00000001 0x0894 0x00000001 0x0c00 0x0000000a
0x0c08 0x00000003 0x0c0c 0x00000001 0x0c1c 0x002a0000 0x0c80 0x00000002
0x1000 0x00000002 0x1400 0x00000006 0x1440 0x0000009f 0x1444 0x0000009f
0x1448 0x0000009f 0x144c 0x0000009f 0x1450 0x0000009f 0x1454 0x0000009f
0x1458 0x0000009f 0x145c 0x0000009f 0x1460 0x0000009f 0x1464 0x0000009f
0x1468 0x0000009f 0x146c 0x0000009f 0x1470 0x0000009f 0x1474 0x0000009f
0x1478 0x0000009f 0x147c 0x0000009f 0x1800 0x00000016 0x1808 0x0000009f
0x183c 0x058c8000 0x1840 0x058c8000 0x1844 0x00000001 0x1c00 0x00000002
0x2000 0x00000002 0x2004 0x00000010 0x2010 0x00000181 0x2014 0x00000001
0x2018 0x00780003 0x2100 0x000c6a37 0x2104 0x000c703a 0x2110 0x000c8243
0x2114 0x000c8243 0x2120 0x000c8243 0x2124 0x000c8846 0x2130 0x000c944c
0x2134 0x000c9a4f 0x2140 0x000ca052 0x2144 0x000ca655 0x2150 0x000cb25b
0x2154 0x000cb25b 0x2160 0x000cbe61 0x2164 0x000cc464 0x2170 0x000cd06a
0x2174 0x000cd66d 0x2180 0x000ce273 0x2184 0x000ce273 0x2190 0x000cf47c
0x2194 0x000cf47c 0x21a0 0x000d0685 0x21a4 0x000d0c88 0x21b0 0x000d128b
0x21b4 0x000d128b 0x21c0 0x000d1e91 0x21c4 0x000d2494 0x21d0 0x000d2a97
0x21d4 0x000d2a97 0x21e0 0x000d3ca0 0x21e4 0x000d42a3 0x21f0 0x000d4ea9
0x21f4 0x000d54ac 0x2200 0x00a51132 0x224c 0x0000004a 0x2250 0x000087f6
0x2400 0x00010012 0x2408 0x00200001 0x2448 0x00000002 0x244c 0x00044400
0x2450 0x00000001 0x2454 0x06970000 0x2458 0x08001800 0x245c 0x00040000
0x2474 0x000007be 0x2800 0x00000006 0x2c00 0x00000006 0x2c0c 0x00000048
0x2c18 0x00000040 0x2c1c 0x0000000c 0x3000 0x00000006 0x300c 0x0000004b
0x3800 0x00000001 0x3c00 0x00000306 0x3c0c 0x00000048 0x3c14 0x00000035
0x3c24 0x00000005 0x3c38 0x00000001 0x3c3c 0x09a14000 0x3c44 0x00000b00
0x3c48 0x00000040 0x3c54 0x000007e3 0x3c80 0x000007e9 0x3cc0 0x0000009f
0x3cd4 0x0000000f 0x3d80 0x00000014 0x3d88 0x00000005 0x3d90 0x00000005
0x3d98 0x00000014 0x3da0 0x00000005 0x3da8 0x00000005 0x3db0 0x00000014
0x3db8 0x00000005 0x3dc0 0x00000005 0x3dc8 0x00000014 0x3dd0 0x00000005
0x3dd8 0x00000005 0x4000 0x00000002 0x4008 0x00141d03 0x400c 0x00114653
0x4400 0x00000016 0x4408 0x00010000 0x440c 0x0000a000 0x4414 0x0000002a
0x4418 0x000000a0 0x4420 0x0000003d 0x444c 0x04511447 0x4450 0x0008033c
0x4454 0x00310035 0x4800 0x380303fe 0x4c00 0x200003fe 0x5000 0x00009800
0x5004 0x80004000 0x501c 0x08001f88 0x5034 0x0000001d 0x5800 0x59000000
0x5804 0x59000000 0x5808 0x33000000 0x5810 0x01000000 0x5818 0x01000000
0x5820 0x01000000 0x5868 0x000001d8 0x586c 0x000001d8 0x5880 0x000005f0
0x5884 0x000005f0 0x5900 0x0000009f 0x5904 0x0000009f 0x6000 0x00010082
0x6800 0x141b0034 0x6804 0x20099082 0x6808 0x01069208 0x680c 0x56014dc5
0x6810 0x29020000 0x6814 0xffffffff 0x6830 0xffffffff 0x6834 0xffffffff
0x6844 0x00000001 0x7000 0x00000008 0x700c 0x00004a4c 0x7010 0xf8ba8764
0x7014 0x01c080f3 0x7018 0x00d70081 0x701c 0x03008200

	David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)

  reply	other threads:[~2022-05-19 14:43 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-18 16:08 tg3 dropping packets at high packet rates David Laight
2022-05-18 17:27 ` Paolo Abeni
2022-05-18 21:31   ` David Laight
2022-05-19  0:52     ` Michael Chan
2022-05-19  8:44       ` David Laight
2022-05-19 10:20         ` Pavan Chebbi
2022-05-19 13:14           ` David Laight
2022-05-19 13:29             ` Paolo Abeni
2022-05-19 13:54               ` Andrew Lunn
2022-05-19 14:11               ` David Laight
2022-05-19 14:35                 ` Pavan Chebbi
2022-05-19 14:42                   ` David Laight [this message]
2022-05-20 16:08                     ` David Laight
2022-05-23 16:01                       ` David Laight
2022-05-23 16:14                         ` Pavan Chebbi
2022-05-23 21:23                           ` David Laight
2022-05-25  7:28                             ` David Laight
2022-05-25 15:56                               ` Jakub Kicinski
2022-05-25 21:48                                 ` David Laight
2022-05-22 23:22         ` Michael Chan

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=1bc5053ef6f349989b42117eda7d2515@AcuMS.aculab.com \
    --to=david.laight@aculab.com \
    --cc=davem@davemloft.net \
    --cc=mchan@broadcom.com \
    --cc=michael.chan@broadcom.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=pavan.chebbi@broadcom.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).