diff options
author | Shinas Rasheed <srasheed@marvell.com> | 2023-10-17 03:50:30 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-18 18:05:08 -0700 |
commit | a0ca6b9dfef0b3cc83aa8bb485ed61a018f84982 (patch) | |
tree | ea14559472b4cf0d0989761ec6dafb07d93f2be4 /net/ipv4/tcp_output.c | |
parent | 2915240eddba96b37de4c7e9a3d0ac6f9548454b (diff) |
octeon_ep: update BQL sent bytes before ringing doorbell
Sometimes Tx is completed immediately after doorbell is updated, which
causes Tx completion routing to update completion bytes before the
same packet bytes are updated in sent bytes in transmit function, hence
hitting BUG_ON() in dql_completed(). To avoid this, update BQL
sent bytes before ringing doorbell.
Fixes: 37d79d059606 ("octeon_ep: add Tx/Rx processing and interrupt support")
Signed-off-by: Shinas Rasheed <srasheed@marvell.com>
Link: https://lore.kernel.org/r/20231017105030.2310966-1-srasheed@marvell.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions