|
From: Brandeburg, J. <jes...@in...> - 2006-10-18 21:35:33
|
Al Chu wrote: > Hi Jesse, >=20 > Is this all that needs to be done?? >=20 > --- e1000_main.c.orig 2006-10-18 13:09:07.859552000 -0700 > +++ e1000_main.c 2006-10-18 13:05:32.786046000 -0700 > @@ -1588,8 +1588,11 @@ e1000_setup_rctl(struct e1000_adapter *a > E1000_RCTL_LBM_NO | E1000_RCTL_RDMTS_HALF | > (adapter->hw.mc_filter_type << E1000_RCTL_MO_SHIFT); >=20 > - if (adapter->hw.mac_type > e1000_82543) > - rctl |=3D E1000_RCTL_SECRC; > + /* FIXME: disable the stripping of CRC because it breaks > + * BMC firmware connected over SMBUS > + if (adapter->hw.mac_type > e1000_82543) > + rctl |=3D E1000_RCTL_SECRC; > + */ >=20 > if (adapter->hw.tbi_compatibility_on =3D=3D 1) > rctl |=3D E1000_RCTL_SBP; > @@ -1650,7 +1653,9 @@ e1000_setup_rctl(struct e1000_adapter *a > rfctl |=3D E1000_RFCTL_IPV6_DIS; > E1000_WRITE_REG(&adapter->hw, RFCTL, rfctl); >=20 > - rctl |=3D E1000_RCTL_DTYP_PS | E1000_RCTL_SECRC; > + /* FIXME: disable the stripping of CRC because it > breaks > + * BMC firmware connected over SMBUS */ > + rctl |=3D E1000_RCTL_DTYP_PS /* | E1000_RCTL_SECRC = */; >=20 > psrctl |=3D adapter->rx_ps_bsize0 >> > E1000_PSRCTL_BSIZE0_SHIFT; >=20 > If so, no need for a patch. This will fix the immediate problem but there is also a slight bit more with removing the CRC now for each received packet. If you aren't running fancy network configs like VPN, or bridging, bonding, etc, things should be okay like this. What kernel exactly shall I patch against? even better what was the bugzilla and I will put my patch in it. |