Print this page
10086 ixgbe_m_propinfo() is missing an 'else'

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ixgbe/ixgbe_gld.c
          +++ new/usr/src/uts/common/io/ixgbe/ixgbe_gld.c
↓ open down ↓ 19 lines elided ↑ open up ↑
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright(c) 2007-2010 Intel Corporation. All rights reserved.
  24   24   */
  25   25  
  26   26  /*
  27   27   * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  28   28   * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
  29   29   * Copyright 2016 OmniTI Computer Consulting, Inc. All rights reserved.
  30      - * Copyright (c) 2017, Joyent, Inc.
       30 + * Copyright (c) 2018, Joyent, Inc.
  31   31   */
  32   32  
  33   33  #include "ixgbe_sw.h"
  34   34  
  35   35  /*
  36   36   * Bring the device out of the reset/quiesced state that it
  37   37   * was in when the interface was registered.
  38   38   */
  39   39  int
  40   40  ixgbe_m_start(void *arg)
↓ open down ↓ 773 lines elided ↑ open up ↑
 814  814                  } else if (strcmp(pr_name, "_tx_recycle_thresh") == 0) {
 815  815                          value = DEFAULT_TX_RECYCLE_THRESHOLD;
 816  816                  } else if (strcmp(pr_name, "_tx_overload_thresh") == 0) {
 817  817                          value = DEFAULT_TX_OVERLOAD_THRESHOLD;
 818  818                  } else if (strcmp(pr_name, "_tx_resched_thresh") == 0) {
 819  819                          value = DEFAULT_TX_RESCHED_THRESHOLD;
 820  820                  } else  if (strcmp(pr_name, "_rx_copy_thresh") == 0) {
 821  821                          value = DEFAULT_RX_COPY_THRESHOLD;
 822  822                  } else  if (strcmp(pr_name, "_rx_limit_per_intr") == 0) {
 823  823                          value = DEFAULT_RX_LIMIT_PER_INTR;
 824      -                }       if (strcmp(pr_name, "_intr_throttling") == 0) {
      824 +                } else if (strcmp(pr_name, "_intr_throttling") == 0) {
 825  825                          value = ixgbe->capab->def_intr_throttle;
 826  826                  } else {
 827  827                          return;
 828  828                  }
 829  829  
 830  830                  (void) snprintf(valstr, sizeof (valstr), "%x", value);
 831  831          }
 832  832          }
 833  833  }
 834  834  
↓ open down ↓ 212 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX