Re: re(4) driver dropping packets when reading NFS files

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Mon, 8 Nov 2010 07:09:41 -0500 (EST)
> 
> By chance, how about disabling RX early interrupt?
> You can add the following 3 lines of code into re_init_locked().
> 
> 2710 /*
> 2711 * Set the initial RX configuration.
> 2712 */
> 2713 re_set_rxmode(sc);
> 2714
> 2715 /* Disable RX early interrupt. */
> 2716 cfg = CSR_READ_2(sc, RL_MULTIINTR);
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 2717 cfg &= 0xF000;
> ^^^^^^^^^^^^^^
> 2718 CSR_WRITE_2(sc, RL_MULTIINTR, cfg);
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 2719
> 2720 #ifdef DEVICE_POLLING
>
Afraid it didn't help. I've also discovered that the June 7 kernel only
performs better sometimes. I see 500Kbytes/sec read rate on it for
most of the test runs. (It does work better sometimes, but maybe the
-current kernel would too, if I ran for long enough with it.)

I can try some other variations of enabling interrupts in early Dec, rick
Received on Mon Nov 08 2010 - 11:09:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC