Re: [PATCH for-7.2 v3 1/3] rtl8139: avoid clobbering tx descriptor bits

2022-11-21 Thread Stefan Hajnoczi
On Sun, 20 Nov 2022 at 23:17, Jason Wang wrote: > > On Fri, Nov 18, 2022 at 12:56 AM Stefan Hajnoczi wrote: > > > > The device turns the Tx Descriptor into a Tx Status descriptor after > > fully reading the descriptor. This involves clearing Tx Own (bit 31) to > > indicate that the driver has own

Re: [PATCH for-7.2 v3 1/3] rtl8139: avoid clobbering tx descriptor bits

2022-11-20 Thread Jason Wang
On Fri, Nov 18, 2022 at 12:56 AM Stefan Hajnoczi wrote: > > The device turns the Tx Descriptor into a Tx Status descriptor after > fully reading the descriptor. This involves clearing Tx Own (bit 31) to > indicate that the driver has ownership of the descriptor again as well > as several other bit

Re: [PATCH for-7.2 v3 1/3] rtl8139: avoid clobbering tx descriptor bits

2022-11-17 Thread Philippe Mathieu-Daudé
On 17/11/22 17:55, Stefan Hajnoczi wrote: The device turns the Tx Descriptor into a Tx Status descriptor after fully reading the descriptor. This involves clearing Tx Own (bit 31) to indicate that the driver has ownership of the descriptor again as well as several other bits. The code keeps the

[PATCH for-7.2 v3 1/3] rtl8139: avoid clobbering tx descriptor bits

2022-11-17 Thread Stefan Hajnoczi
The device turns the Tx Descriptor into a Tx Status descriptor after fully reading the descriptor. This involves clearing Tx Own (bit 31) to indicate that the driver has ownership of the descriptor again as well as several other bits. The code keeps the first dword of the Tx Descriptor in the txdw