linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v3 0/2] ibmvnic: Bug fixes for queue descriptor processing
@ 2020-12-01 15:52 Thomas Falcon
  2020-12-01 15:52 ` [PATCH net v3 1/2] ibmvnic: Ensure that SCRQ entry reads are correctly ordered Thomas Falcon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Falcon @ 2020-12-01 15:52 UTC (permalink / raw)
  To: kuba
  Cc: cforno12, ljp, ricklind, dnbanerg, tlfalcon, drt, netdev, brking,
	sukadev, linuxppc-dev

This series resolves a few issues in the ibmvnic driver's
RX buffer and TX completion processing. The first patch
includes memory barriers to synchronize queue descriptor
reads. The second patch fixes a memory leak that could
occur if the device returns a TX completion with an error
code in the descriptor, in which case the respective socket
buffer and other relevant data structures may not be freed
or updated properly.

v3: Correct length of Fixes tags, requested by Jakub Kicinski

v2: Provide more detailed comments explaining specifically what
    reads are being ordered, suggested by Michael Ellerman

Thomas Falcon (2):
  ibmvnic: Ensure that SCRQ entry reads are correctly ordered
  ibmvnic: Fix TX completion error handling

 drivers/net/ethernet/ibm/ibmvnic.c | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-01 18:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01 15:52 [PATCH net v3 0/2] ibmvnic: Bug fixes for queue descriptor processing Thomas Falcon
2020-12-01 15:52 ` [PATCH net v3 1/2] ibmvnic: Ensure that SCRQ entry reads are correctly ordered Thomas Falcon
2020-12-01 15:52 ` [PATCH net v3 2/2] ibmvnic: Fix TX completion error handling Thomas Falcon
2020-12-01 18:12 ` [PATCH net v3 0/2] ibmvnic: Bug fixes for queue descriptor processing David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).