Messages in this thread | | | From | Shinas Rasheed <> | Subject | Re: [EXT] Re: [net PATCH] octeon_ep: update BQL sent bytes before ringing doorbell | Date | Thu, 12 Oct 2023 10:00:05 +0000 |
| |
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.
| |