Thread (5 messages) flat view 5 messages, 3 authors, 2020-11-13

Re: [PATCH v2] net: lantiq: Add locking for TX DMA channel

From: Hauke Mehrtens <hauke@hauke-m.de>
Date: 2020-09-26 19:30:49

On 9/24/20 3:01 AM, David Miller wrote:
From: Hauke Mehrtens <hauke@hauke-m.de>
Date: Tue, 22 Sep 2020 23:41:12 +0200
quoted
The TX DMA channel data is accessed by the xrx200_start_xmit() and the
xrx200_tx_housekeeping() function from different threads. Make sure the
accesses are synchronized by acquiring the netif_tx_lock() in the
xrx200_tx_housekeeping() function too. This lock is acquired by the
kernel before calling xrx200_start_xmit().

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Applied, but...

You posted this really fast after my feedback, so I have to ask if you
actually functionally tested this patch?
Hi David,

I created the patch first, then tested it with ipef3 (iperf3 -c
192.168.1.70 -P 10 -t 30 and reverse) multiple times and send both mails.

I did not see any problems, but it could still be that I miss more problems.

Hauke

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help