Print this page
NEX-1890 update oce from source provided by Emulex

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/fibre-channel/fca/oce/oce_stat.h
          +++ new/usr/src/uts/common/sys/fibre-channel/fca/oce/oce_stat.h
↓ open down ↓ 11 lines elided ↑ open up ↑
  12   12   *
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  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      -/* Copyright © 2003-2011 Emulex. All rights reserved.  */
       22 +/*
       23 + * Copyright (c) 2009-2012 Emulex. All rights reserved.
       24 + * Use is subject to license terms.
       25 + */
  23   26  
       27 +
       28 +
  24   29  /*
  25   30   * Statistic specific data structures and function prototypes
  26   31   */
  27   32  
  28   33  #ifndef _OCE_STAT_H_
  29   34  #define _OCE_STAT_H_
  30   35  
  31   36  #ifdef __cplusplus
  32   37  extern "C" {
  33   38  #endif
↓ open down ↓ 31 lines elided ↑ open up ↑
  65   70          kstat_named_t rx_udp_checksum_errs;
  66   71          kstat_named_t rx_fifo_overflow;
  67   72          kstat_named_t rx_input_fifo_overflow;
  68   73  
  69   74          kstat_named_t tx_unicast_frames;
  70   75          kstat_named_t tx_multicast_frames;
  71   76          kstat_named_t tx_broadcast_frames;
  72   77          kstat_named_t tx_pause_frames;
  73   78          kstat_named_t tx_control_frames;
  74   79  
  75      -
  76   80          kstat_named_t rx_drops_no_pbuf;
  77   81          kstat_named_t rx_drops_no_txpb;
  78   82          kstat_named_t rx_drops_no_erx_descr;
  79   83          kstat_named_t rx_drops_no_tpre_descr;
  80   84          kstat_named_t rx_drops_too_many_frags;
  81   85          kstat_named_t rx_drops_invalid_ring;
  82   86          kstat_named_t rx_drops_mtu;
  83   87  
  84   88          kstat_named_t rx_dropped_too_small;
  85   89          kstat_named_t rx_dropped_too_short;
  86   90          kstat_named_t rx_dropped_header_too_small;
  87   91          kstat_named_t rx_dropped_tcp_length;
  88   92          kstat_named_t rx_dropped_runt;
  89   93  
  90   94          kstat_named_t rx_drops_no_fragments;
       95 +
       96 +        kstat_named_t rx_priority_pause_frames;
       97 +        kstat_named_t pmem_fifo_overflow_drop;
       98 +        kstat_named_t jabber_events;
       99 +        kstat_named_t forwarded_packets;
  91  100  };
  92  101  
  93  102  int oce_stat_init(struct oce_dev *dev);
  94  103  void oce_stat_fini(struct oce_dev *dev);
  95  104  
  96  105  #ifdef __cplusplus
  97  106  }
  98  107  #endif
  99  108  
 100  109  #endif /* _OCE_STAT_H_ */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX