Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103499
b: refs/heads/master
c: 87cb7e8
h: refs/heads/master
i:
  103497: d4530f0
  103495: eb6f2c8
v: v3
  • Loading branch information
Auke Kok authored and Jeff Garzik committed Jul 11, 2008
1 parent d92557d commit 02d7b1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe4506b6a2f9716ef62583020581ae2032573fed
refs/heads/master: 87cb7e8cc59c89ccdcf243671c932179bb651a71
9 changes: 5 additions & 4 deletions trunk/drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1664,10 +1664,12 @@ static void igb_setup_rctl(struct igb_adapter *adapter)
E1000_RCTL_LBM_NO | E1000_RCTL_RDMTS_HALF |
(adapter->hw.mac.mc_filter_type << E1000_RCTL_MO_SHIFT);

/* disable the stripping of CRC because it breaks
* BMC firmware connected over SMBUS
rctl |= E1000_RCTL_SECRC;
/*
* enable stripping of CRC. It's unlikely this will break BMC
* redirection as it did with e1000. Newer features require
* that the HW strips the CRC.
*/
rctl |= E1000_RCTL_SECRC;

rctl &= ~E1000_RCTL_SBP;

Expand Down Expand Up @@ -3743,7 +3745,6 @@ static bool igb_clean_rx_irq_adv(struct igb_ring *rx_ring,
}
}
send_up:
pskb_trim(skb, skb->len - 4);
i++;
if (i == rx_ring->count)
i = 0;
Expand Down

0 comments on commit 02d7b1d

Please sign in to comment.