Re: [PATCH net-next 3/3] net: bcmgenet: fix dmadesc_set()

2016-04-06 Thread David Miller
From: Petri Gynther Date: Mon, 4 Apr 2016 17:10:01 -0700 > dmadesc_set() is used for setting the Tx buffer DMA address, length, > and status bits on a Tx ring descriptor when a frame is being Tx'ed. > > Always set the Tx buffer DMA address first, before updating the length

Re: [PATCH net-next 3/3] net: bcmgenet: fix dmadesc_set()

2016-04-04 Thread Florian Fainelli
2016-04-04 18:11 GMT-07:00 Petri Gynther : > Hi Florian, > > On Mon, Apr 4, 2016 at 5:58 PM, Florian Fainelli wrote: >> >> 2016-04-04 17:10 GMT-07:00 Petri Gynther : >> > dmadesc_set() is used for setting the Tx buffer DMA address,

Re: [PATCH net-next 3/3] net: bcmgenet: fix dmadesc_set()

2016-04-04 Thread Petri Gynther
Hi Florian, On Mon, Apr 4, 2016 at 5:58 PM, Florian Fainelli wrote: > > 2016-04-04 17:10 GMT-07:00 Petri Gynther : > > dmadesc_set() is used for setting the Tx buffer DMA address, length, > > and status bits on a Tx ring descriptor when a frame is being

Re: [PATCH net-next 3/3] net: bcmgenet: fix dmadesc_set()

2016-04-04 Thread Florian Fainelli
2016-04-04 17:10 GMT-07:00 Petri Gynther : > dmadesc_set() is used for setting the Tx buffer DMA address, length, > and status bits on a Tx ring descriptor when a frame is being Tx'ed. > > Always set the Tx buffer DMA address first, before updating the length > and status

[PATCH net-next 3/3] net: bcmgenet: fix dmadesc_set()

2016-04-04 Thread Petri Gynther
dmadesc_set() is used for setting the Tx buffer DMA address, length, and status bits on a Tx ring descriptor when a frame is being Tx'ed. Always set the Tx buffer DMA address first, before updating the length and status bits, i.e. giving the Tx descriptor to the hardware. Signed-off-by: Petri