Print this page
10086 ixgbe_m_propinfo() is missing an 'else'
*** 25,35 ****
/*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2012 Nexenta Systems, Inc. All rights reserved.
* Copyright 2016 OmniTI Computer Consulting, Inc. All rights reserved.
! * Copyright (c) 2017, Joyent, Inc.
*/
#include "ixgbe_sw.h"
/*
--- 25,35 ----
/*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2012 Nexenta Systems, Inc. All rights reserved.
* Copyright 2016 OmniTI Computer Consulting, Inc. All rights reserved.
! * Copyright (c) 2018, Joyent, Inc.
*/
#include "ixgbe_sw.h"
/*
*** 819,829 ****
value = DEFAULT_TX_RESCHED_THRESHOLD;
} else if (strcmp(pr_name, "_rx_copy_thresh") == 0) {
value = DEFAULT_RX_COPY_THRESHOLD;
} else if (strcmp(pr_name, "_rx_limit_per_intr") == 0) {
value = DEFAULT_RX_LIMIT_PER_INTR;
! } if (strcmp(pr_name, "_intr_throttling") == 0) {
value = ixgbe->capab->def_intr_throttle;
} else {
return;
}
--- 819,829 ----
value = DEFAULT_TX_RESCHED_THRESHOLD;
} else if (strcmp(pr_name, "_rx_copy_thresh") == 0) {
value = DEFAULT_RX_COPY_THRESHOLD;
} else if (strcmp(pr_name, "_rx_limit_per_intr") == 0) {
value = DEFAULT_RX_LIMIT_PER_INTR;
! } else if (strcmp(pr_name, "_intr_throttling") == 0) {
value = ixgbe->capab->def_intr_throttle;
} else {
return;
}