Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1549841

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable

From Mark Lord <mlord@pobox.com>
Newsgroups linux.kernel
Subject Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable
Date 2017-01-03 16:00 +0100
Message-ID <sVyJh-7Mp-9@gated-at.bofh.it> (permalink)
References (2 earlier) <sHogG-FW-19@gated-at.bofh.it> <sHsaB-3mU-15@gated-at.bofh.it> <sJbIl-5Bx-11@gated-at.bofh.it> <sUBSN-1oe-3@gated-at.bofh.it> <sVlsB-6yD-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 17-01-02 07:40 PM, Ansis Atteka wrote:
..
> I think that I am getting closer to the root cause of this bug. Also,
> I have a workaround that at least makes r8152 functionally stable in
> my Dell TB15 dock. Mark, would you mind giving a chance to the patch
> that I have in the bottom of this email to see if it helps your issue
> too (you might have to tweak those settings slightly differently if
> you use something else than USB 3.0)

 /* USB_RX_EARLY_TIMEOUT */
-#define COALESCE_SUPER          85000U
-#define COALESCE_HIGH          250000U
-#define COALESCE_SLOW          524280U
+#define COALESCE_SUPER          8500U
+#define COALESCE_HIGH          25000U
+#define COALESCE_SLOW          52428U

The RTL_VER_02 chip that I was using does not support interrupt coalescing
in the driver [see the rtl8152_set_coalesce() function].  So that workaround
would not help here.
-- 
Mark Lord
Real-Time Remedies Inc.
mlord@pobox.com

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable Ansis Atteka <aatteka@nicira.com> - 2017-01-01 01:10 +0100
  Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable Ansis Atteka <aatteka@nicira.com> - 2017-01-03 01:50 +0100
    Re: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable Mark Lord <mlord@pobox.com> - 2017-01-03 16:00 +0100
    RE: [PATCH net 1/2] r8152: fix the sw rx checksum is unavailable Hayes Wang <hayeswang@realtek.com> - 2017-01-09 09:00 +0100

csiph-web