[BACK]Return to ix_txrx.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / pci / ixgbe

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/pci/ixgbe/ix_txrx.c between version 1.88 and 1.89

version 1.88, 2021/08/26 09:03:47 version 1.89, 2021/09/03 08:43:23
Line 1803  ixgbe_rxeof(struct ix_queue *que)
Line 1803  ixgbe_rxeof(struct ix_queue *que)
         struct ixgbe_rx_buf     *rbuf, *nbuf;          struct ixgbe_rx_buf     *rbuf, *nbuf;
         int                     i, nextp, processed = 0;          int                     i, nextp, processed = 0;
         u32                     staterr = 0;          u32                     staterr = 0;
         u32                     count = 0;          u32                     loopcount = 0;
         u32                     limit = adapter->rx_process_limit;          u32                     limit = adapter->rx_process_limit;
         bool                    discard_multidesc = false;          bool                    discard_multidesc = false;
 #ifdef RSS  #ifdef RSS
Line 1828  ixgbe_rxeof(struct ix_queue *que)
Line 1828  ixgbe_rxeof(struct ix_queue *que)
          * layer.           * layer.
          */           */
         for (i = rxr->next_to_check;          for (i = rxr->next_to_check;
              (count < limit) || (discard_multidesc == true);) {               (loopcount < limit) || (discard_multidesc == true);) {
   
                 struct mbuf *sendmp, *mp;                  struct mbuf *sendmp, *mp;
                 struct mbuf *newmp;                  struct mbuf *newmp;
Line 1850  ixgbe_rxeof(struct ix_queue *que)
Line 1850  ixgbe_rxeof(struct ix_queue *que)
                 if ((staterr & IXGBE_RXD_STAT_DD) == 0)                  if ((staterr & IXGBE_RXD_STAT_DD) == 0)
                         break;                          break;
   
                 count++;                  loopcount++;
                 sendmp = NULL;                  sendmp = NULL;
                 nbuf = NULL;                  nbuf = NULL;
                 rsc = 0;                  rsc = 0;

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89

CVSweb <webmaster@jp.NetBSD.org>