Re: [linux-yocto] [PATCH][linux-yocto v5.10/standard/sdkv5.4/xlnx-soc] net: axienet: Properly release all tx resources when done

2021-10-08 Thread Bruce Ashfield
In message: [PATCH][linux-yocto v5.10/standard/sdkv5.4/xlnx-soc] net: axienet: Properly release all tx resources when done on 08/10/2021 quanyang.w...@windriver.com wrote: > From: Ivar Holmqvist > > When adding support for mcdma the free_tx_chain function was > accidentally broken. The loop

Re: [linux-yocto] [PATCH][linux-yocto v5.10/standard/sdkv5.4/xlnx-soc] net: axienet: Properly release all tx resources when done

2021-10-08 Thread quanyang.wang
+Ivar On 10/8/21 2:04 PM, quanyang.wang wrote: From: Ivar Holmqvist When adding support for mcdma the free_tx_chain function was accidentally broken. The loop that scans the tx descriptors for completed buffers does not increment the consumer index tx_bd_ci, that is done by the caller in

[linux-yocto] [PATCH][linux-yocto v5.10/standard/sdkv5.4/xlnx-soc] net: axienet: Properly release all tx resources when done

2021-10-08 Thread quanyang.wang
From: Ivar Holmqvist When adding support for mcdma the free_tx_chain function was accidentally broken. The loop that scans the tx descriptors for completed buffers does not increment the consumer index tx_bd_ci, that is done by the caller in bulk, so the check for completed buffers always failed