Print this page
11490 SRS ring polling disabled for VLANs
11491 Want DLS bypass for VLAN traffic
11492 add VLVF bypass to ixgbe core
2869 duplicate packets with vnics over aggrs
11489 DLS stat delete and aggr kstat can deadlock
Portions contributed by: Theo Schlossnagle <jesus@omniti.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Dan McDonald <danmcd@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/mac/mac_provider.c
          +++ new/usr/src/uts/common/io/mac/mac_provider.c
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
       24 + * Copyright 2018 Joyent, Inc.
  24   25   * Copyright 2017 OmniTI Computer Consulting, Inc. All rights reserved.
  25   26   */
  26   27  
  27   28  #include <sys/types.h>
  28   29  #include <sys/conf.h>
  29   30  #include <sys/id_space.h>
  30   31  #include <sys/esunddi.h>
  31   32  #include <sys/stat.h>
  32   33  #include <sys/mkdev.h>
  33   34  #include <sys/stream.h>
↓ open down ↓ 15 lines elided ↑ open up ↑
  49   50  #include <sys/callb.h>
  50   51  #include <sys/cpuvar.h>
  51   52  #include <sys/atomic.h>
  52   53  #include <sys/sdt.h>
  53   54  #include <sys/mac_flow.h>
  54   55  #include <sys/ddi_intr_impl.h>
  55   56  #include <sys/disp.h>
  56   57  #include <sys/sdt.h>
  57   58  #include <sys/pattr.h>
  58   59  #include <sys/strsun.h>
       60 +#include <sys/vlan.h>
  59   61  
  60   62  /*
  61   63   * MAC Provider Interface.
  62   64   *
  63   65   * Interface for GLDv3 compatible NIC drivers.
  64   66   */
  65   67  
  66   68  static void i_mac_notify_thread(void *);
  67   69  
  68   70  typedef void (*mac_notify_default_cb_fn_t)(mac_impl_t *);
↓ open down ↓ 619 lines elided ↑ open up ↑
 688  690  
 689  691  /*
 690  692   * This is the upward reentry point for packets arriving from the bridging
 691  693   * module and from mac_rx for links not part of a bridge.
 692  694   */
 693  695  void
 694  696  mac_rx_common(mac_handle_t mh, mac_resource_handle_t mrh, mblk_t *mp_chain)
 695  697  {
 696  698          mac_impl_t              *mip = (mac_impl_t *)mh;
 697  699          mac_ring_t              *mr = (mac_ring_t *)mrh;
 698      -        mac_soft_ring_set_t     *mac_srs;
      700 +        mac_soft_ring_set_t     *mac_srs;
 699  701          mblk_t                  *bp = mp_chain;
 700  702          boolean_t               hw_classified = B_FALSE;
 701  703  
 702  704          /*
 703  705           * If there are any promiscuous mode callbacks defined for
 704  706           * this MAC, pass them a copy if appropriate.
 705  707           */
 706  708          if (mip->mi_promisc_list != NULL)
 707  709                  mac_promisc_dispatch(mip, mp_chain, NULL);
 708  710  
↓ open down ↓ 828 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX