Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2009 18:10:06 GMT
From:      Maxim Ignatenko <gelraen.ua@gmail.com>
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/132715: [lagg] [panic] Panic when creating vlan's on lagg  interface
Message-ID:  <200904281810.n3SIA6hb048081@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/132715; it has been noted by GNATS.

From: Maxim Ignatenko <gelraen.ua@gmail.com>
To: bug-followup@freebsd.org, gdef@wp.pl
Cc: freebsd-current@freebsd.org
Subject: Re: kern/132715: [lagg] [panic] Panic when creating vlan's on lagg 
	interface
Date: Tue, 28 Apr 2009 21:05:34 +0300

 GMail sent attach in very strange way, so it does not displayed
 correctly on website.
 
 -------------- cut here --------------
 Index: sys/dev/e1000/if_em.c
 ===================================================================
 --- sys/dev/e1000/if_em.c       (revision 191201)
 +++ sys/dev/e1000/if_em.c       (working copy)
 @@ -4771,6 +4771,8 @@
         struct adapter  *adapter = ifp->if_softc;
         u32             ctrl, rctl, index, vfta;
 
 +       if (strcmp("em",ifp->if_dname)) return;
 +
         ctrl = E1000_READ_REG(&adapter->hw, E1000_CTRL);
         ctrl |= E1000_CTRL_VME;
         E1000_WRITE_REG(&adapter->hw, E1000_CTRL, ctrl);
 @@ -4803,6 +4805,8 @@
         struct adapter  *adapter = ifp->if_softc;
         u32             index, vfta;
 
 +       if (strcmp("em",ifp->if_dname)) return;
 +
         /* Remove entry in the hardware filter table */
         index = ((vtag >> 5) & 0x7F);
         vfta = E1000_READ_REG_ARRAY(&adapter->hw, E1000_VFTA, index);
 Index: sys/dev/e1000/if_igb.c
 ===================================================================
 --- sys/dev/e1000/if_igb.c      (revision 191201)
 +++ sys/dev/e1000/if_igb.c      (working copy)
 @@ -4274,6 +4274,8 @@
         struct adapter  *adapter = ifp->if_softc;
         u32             ctrl, rctl, index, vfta;
 
 +       if (strcmp("igb",ifp->if_dname)) return;
 +
         ctrl = E1000_READ_REG(&adapter->hw, E1000_CTRL);
         ctrl |= E1000_CTRL_VME;
         E1000_WRITE_REG(&adapter->hw, E1000_CTRL, ctrl);
 @@ -4306,6 +4308,8 @@
         struct adapter  *adapter = ifp->if_softc;
         u32             index, vfta;
 
 +       if (strcmp("igb",ifp->if_dname)) return;
 +
         /* Remove entry in the hardware filter table */
         index = ((vtag >> 5) & 0x7F);
         vfta = E1000_READ_REG_ARRAY(&adapter->hw, E1000_VFTA, index);
 Index: sys/dev/ixgbe/ixgbe.c
 ===================================================================
 --- sys/dev/ixgbe/ixgbe.c       (revision 191201)
 +++ sys/dev/ixgbe/ixgbe.c       (working copy)
 @@ -4031,6 +4031,8 @@
         struct adapter  *adapter = ifp->if_softc;
         u32             ctrl, rctl, index, vfta;
 
 +       if (strcmp("ixgbe",ifp->if_dname)) return;
 +
         ctrl = IXGBE_READ_REG(&adapter->hw, IXGBE_VLNCTRL);
         ctrl |= IXGBE_VLNCTRL_VME | IXGBE_VLNCTRL_VFE;
         ctrl &= ~IXGBE_VLNCTRL_CFIEN;
 @@ -4050,6 +4052,8 @@
         struct adapter  *adapter = ifp->if_softc;
         u32             index, vfta;
 
 +       if (strcmp("ixgbe",ifp->if_dname)) return;
 +
         /* Remove entry in the hardware filter table */
         ixgbe_set_vfta(&adapter->hw, vtag, 0, FALSE);
 
 -------------- cut here --------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904281810.n3SIA6hb048081>