pastebin - collaborative debugging tool
rovema.kpaste.net RSS


igb_avb patch for Linux 5.10.x
Posted by Anonymous on Wed 17th Nov 2021 10:37
raw | new post
view followups (newest first): igb_avb patch for Linux 5.10.x by Anonymous

  1. $ git diff
  2. diff --git a/kmod/igb_main.c b/kmod/igb_main.c
  3. old mode 100755
  4. new mode 100644
  5. index f506081..c8c6626
  6. --- a/kmod/igb_main.c
  7. +++ b/kmod/igb_main.c
  8. @@ -7411,7 +7411,11 @@ static bool igb_clean_tx_irq(struct igb_q_vector *q_vector)
  9.                         break;
  10.  
  11.                 /* prevent any other reads prior to eop_desc */
  12. +#if 0
  13.                 read_barrier_depends();
  14. +#else
  15. +               smp_rmb();
  16. +#endif
  17.  
  18.                 /* if DD is not set pending work has not been completed */
  19.                 if (!(eop_desc->wb.status & cpu_to_le32(E1000_TXD_STAT_DD)))

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at