Re: [EXT] Re: [net PATCH] octeon_ep: update BQL sent bytes before ringing doorbell
From: Shinas Rasheed
Date: Thu Oct 12 2023 - 06:01:33 EST
Hi,
If tx completion and start_xmit happen on 2 different CPUs, how do you
ensure that xmit_completion will observe the values written here?
Specifically, don't you need to move netdev_tx_sent_queue() before the
above memory barrier?
>>> Yes, you are correct. I'll update the changeset. Thank you.