1*35b53f8cSChandrakanth patil /*- 2*35b53f8cSChandrakanth patil * Broadcom NetXtreme-C/E network driver. 3*35b53f8cSChandrakanth patil * 4*35b53f8cSChandrakanth patil * Copyright (c) 2016 Broadcom, All Rights Reserved. 5*35b53f8cSChandrakanth patil * The term Broadcom refers to Broadcom Limited and/or its subsidiaries 6*35b53f8cSChandrakanth patil * 7*35b53f8cSChandrakanth patil * Redistribution and use in source and binary forms, with or without 8*35b53f8cSChandrakanth patil * modification, are permitted provided that the following conditions 9*35b53f8cSChandrakanth patil * are met: 10*35b53f8cSChandrakanth patil * 1. Redistributions of source code must retain the above copyright 11*35b53f8cSChandrakanth patil * notice, this list of conditions and the following disclaimer. 12*35b53f8cSChandrakanth patil * 2. Redistributions in binary form must reproduce the above copyright 13*35b53f8cSChandrakanth patil * notice, this list of conditions and the following disclaimer in the 14*35b53f8cSChandrakanth patil * documentation and/or other materials provided with the distribution. 15*35b53f8cSChandrakanth patil * 16*35b53f8cSChandrakanth patil * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS' 17*35b53f8cSChandrakanth patil * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18*35b53f8cSChandrakanth patil * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19*35b53f8cSChandrakanth patil * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 20*35b53f8cSChandrakanth patil * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21*35b53f8cSChandrakanth patil * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22*35b53f8cSChandrakanth patil * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23*35b53f8cSChandrakanth patil * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24*35b53f8cSChandrakanth patil * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25*35b53f8cSChandrakanth patil * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 26*35b53f8cSChandrakanth patil * THE POSSIBILITY OF SUCH DAMAGE. 27*35b53f8cSChandrakanth patil */ 28*35b53f8cSChandrakanth patil 29*35b53f8cSChandrakanth patil #include <sys/cdefs.h> 30*35b53f8cSChandrakanth patil #include "bnxt.h" 31*35b53f8cSChandrakanth patil 32*35b53f8cSChandrakanth patil int bnxt_init_sysctl_ctx(struct bnxt_softc *softc); 33*35b53f8cSChandrakanth patil int bnxt_free_sysctl_ctx(struct bnxt_softc *softc); 34*35b53f8cSChandrakanth patil int bnxt_create_port_stats_sysctls(struct bnxt_softc *softc); 35*35b53f8cSChandrakanth patil int bnxt_create_tx_sysctls(struct bnxt_softc *softc, int txr); 36*35b53f8cSChandrakanth patil int bnxt_create_rx_sysctls(struct bnxt_softc *softc, int rxr); 37*35b53f8cSChandrakanth patil int bnxt_create_ver_sysctls(struct bnxt_softc *softc); 38*35b53f8cSChandrakanth patil int bnxt_create_nvram_sysctls(struct bnxt_nvram_info *ni); 39*35b53f8cSChandrakanth patil int bnxt_create_config_sysctls_pre(struct bnxt_softc *softc); 40*35b53f8cSChandrakanth patil int bnxt_create_config_sysctls_post(struct bnxt_softc *softc); 41*35b53f8cSChandrakanth patil int bnxt_create_hw_lro_sysctls(struct bnxt_softc *softc); 42*35b53f8cSChandrakanth patil int bnxt_create_pause_fc_sysctls(struct bnxt_softc *softc); 43*35b53f8cSChandrakanth patil int bnxt_create_dcb_sysctls(struct bnxt_softc *softc); 44*35b53f8cSChandrakanth patil int bnxt_create_dcb_ets_sysctls(struct bnxt_softc *softc); 45