diff --git a/fix-build-error-with-Linux-5.10.patch b/fix-build-error-with-Linux-5.10.patch index a5c30273ec761ca052329453c7c4157611cdf2cd..509a26c149b5136c4c801c9edd3cdca9fd15b328 100644 --- a/fix-build-error-with-Linux-5.10.patch +++ b/fix-build-error-with-Linux-5.10.patch @@ -20,17 +20,18 @@ Signed-off-by: Jeff Kirsher 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iavf_txrx.c b/src/iavf_txrx.c -index fe817e2b6fef4..50864f99446d3 100644 +index 03c685c..da3cfed 100644 --- a/src/iavf_txrx.c +++ b/src/iavf_txrx.c -@@ -289,7 +289,7 @@ - break; - - /* prevent any other reads prior to eop_desc */ -- read_barrier_depends(); -+ smp_rmb(); - - iavf_trace(clean_tx_irq, tx_ring, tx_desc, tx_buf); - /* if the descriptor isn't done, no work yet to do */ +@@ -289,7 +289,7 @@ static bool iavf_clean_tx_irq(struct iavf_vsi *vsi, + break; + + /* prevent any other reads prior to eop_desc */ +- read_barrier_depends(); ++ smp_rmb(); + + iavf_trace(clean_tx_irq, tx_ring, tx_desc, tx_buf); + /* if the descriptor isn't done, no work yet to do */ -- -cgit 1.2.3-1.el7 +1.8.3.1 + diff --git a/iavf.spec b/iavf.spec index c4d64c773a83e86cf48d40870f5b7ccfdfb526a5..69be5fcc4244d478cfa5cf6b3c263679b1e607de 100644 --- a/iavf.spec +++ b/iavf.spec @@ -9,7 +9,7 @@ Name: iavf Summary: Intel(R) Ethernet Adaptive Virtual Function Driver Version: 4.0.1 -Release: 1 +Release: 2 Vendor: Intel Corporation License: GPL-2.0 URL: http://support.intel.com @@ -385,5 +385,11 @@ else fi %changelog +* Sun Feb 7 2021 liulong +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix compilation failure. + * Tue Feb 2 2021 chxssg - 4.0.1-1 - Package init