On Tue, Aug 30, 2016 at 09:58:59AM +1000, David Gwynne wrote:
> On Mon, Aug 29, 2016 at 08:30:37PM +0200, Alexander Bluhm wrote:
> > em 82573E drops to 200 MBit/sec output, 82546GB and 82540EM do only
> > 10 MBit anymore.
> 
> does this diff help those chips?

No, it does not change anything.

> 
> Index: if_em.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/if_em.c,v
> retrieving revision 1.331
> diff -u -p -r1.331 if_em.c
> --- if_em.c   13 Apr 2016 10:34:32 -0000      1.331
> +++ if_em.c   29 Aug 2016 23:52:07 -0000
> @@ -2134,7 +2134,7 @@ em_setup_transmit_structures(struct em_s
>               pkt = &sc->sc_tx_pkts_ring[i];
>               error = bus_dmamap_create(sc->sc_dmat, MAX_JUMBO_FRAME_SIZE,
>                   EM_MAX_SCATTER / (sc->pcix_82544 ? 2 : 1),
> -                 MAX_JUMBO_FRAME_SIZE, 0, BUS_DMA_NOWAIT, &pkt->pkt_map);
> +                 MAX_JUMBO_FRAME_SIZE, 4096, BUS_DMA_NOWAIT, &pkt->pkt_map);
>               if (error != 0) {
>                       printf("%s: Unable to create TX DMA map\n",
>                           DEVNAME(sc));

Reply via email to