Re: [net-next 4/4] e1000e: allocate ring descriptors with dma_zalloc_coherent

2018-03-05 Thread Jeff Kirsher
On Mon, 2018-03-05 at 16:20 -0500, David Miller wrote: > From: Jeff Kirsher > Date: Mon, 05 Mar 2018 11:09:29 -0800 > > > On Mon, 2018-03-05 at 10:23 -0800, Eric Dumazet wrote: > > > On Mon, 2018-03-05 at 10:16 -0800, Jeff Kirsher wrote: > > > > From: Pierre-Yves

Re: [net-next 4/4] e1000e: allocate ring descriptors with dma_zalloc_coherent

2018-03-05 Thread David Miller
From: Jeff Kirsher Date: Mon, 05 Mar 2018 11:09:29 -0800 > On Mon, 2018-03-05 at 10:23 -0800, Eric Dumazet wrote: >> On Mon, 2018-03-05 at 10:16 -0800, Jeff Kirsher wrote: >> > From: Pierre-Yves Kerbrat >> > >> > Descriptor rings were not

Re: [net-next 4/4] e1000e: allocate ring descriptors with dma_zalloc_coherent

2018-03-05 Thread Jeff Kirsher
On Mon, 2018-03-05 at 10:23 -0800, Eric Dumazet wrote: > On Mon, 2018-03-05 at 10:16 -0800, Jeff Kirsher wrote: > > From: Pierre-Yves Kerbrat > > > > Descriptor rings were not initialized at zero when allocated > > When area contained garbage data, it caused skb_over_panic in

Re: [net-next 4/4] e1000e: allocate ring descriptors with dma_zalloc_coherent

2018-03-05 Thread Eric Dumazet
On Mon, 2018-03-05 at 10:16 -0800, Jeff Kirsher wrote: > From: Pierre-Yves Kerbrat > > Descriptor rings were not initialized at zero when allocated > When area contained garbage data, it caused skb_over_panic in > e1000_clean_rx_irq (if data had E1000_RXD_STAT_DD bit set) >

[net-next 4/4] e1000e: allocate ring descriptors with dma_zalloc_coherent

2018-03-05 Thread Jeff Kirsher
From: Pierre-Yves Kerbrat Descriptor rings were not initialized at zero when allocated When area contained garbage data, it caused skb_over_panic in e1000_clean_rx_irq (if data had E1000_RXD_STAT_DD bit set) This patch makes use of dma_zalloc_coherent to make sure the ring