Blame SOURCES/0009-Revert-net-xsk-ixgbe-i40e-ice-mlx5-Xsk_umem_discard_.patch

2eb987
From e2de902ac6504aa7f55f4f0a6d918fb897494889 Mon Sep 17 00:00:00 2001
2eb987
From: Eugene Syromiatnikov <esyr@redhat.com>
2eb987
Date: Thu, 27 Aug 2020 19:22:54 +0200
2eb987
Subject: [PATCH 9/9] Revert "[net] xsk: ixgbe: i40e: ice: mlx5:
2eb987
 Xsk_umem_discard_addr to xsk_umem_release_addr"
2eb987
2eb987
This reverts commit 82059837017b623b919a5f01059dbcda667dbe5d.
2eb987
---
2eb987
 drivers/net/ethernet/intel/i40e/i40e_xsk.c          |  4 ++--
2eb987
 drivers/net/ethernet/intel/ice/ice_xsk.c            |  4 ++--
2eb987
 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c        |  4 ++--
2eb987
 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c |  2 +-
2eb987
 include/net/xdp_sock.h                              | 10 +++++-----
2eb987
 net/xdp/xsk.c                                       |  4 ++--
2eb987
 6 files changed, 14 insertions(+), 14 deletions(-)
2eb987
2eb987
Index: src/drivers/net/ethernet/intel/ice/ice_xsk.c
2eb987
===================================================================
2eb987
--- src.orig/drivers/net/ethernet/intel/ice/ice_xsk.c	2020-08-27 19:23:52.371064612 +0200
2eb987
+++ src/drivers/net/ethernet/intel/ice/ice_xsk.c	2020-08-27 19:23:52.380064621 +0200
2eb987
@@ -556,7 +556,7 @@
2eb987
 
2eb987
 	rx_buf->handle = handle + umem->headroom;
2eb987
 
2eb987
-	xsk_umem_release_addr(umem);
2eb987
+	xsk_umem_discard_addr(umem);
2eb987
 	return true;
2eb987
 }
2eb987
 
2eb987
@@ -592,7 +592,7 @@
2eb987
 
2eb987
 	rx_buf->handle = handle + umem->headroom;
2eb987
 
2eb987
-	xsk_umem_release_addr_rq(umem);
2eb987
+	xsk_umem_discard_addr_rq(umem);
2eb987
 	return true;
2eb987
 }
2eb987