Path: blob/main/sys/dev/bnxt/bnxt_en/bnxt_sysctl.h
39536 views
/*-1* Broadcom NetXtreme-C/E network driver.2*3* Copyright (c) 2016 Broadcom, All Rights Reserved.4* The term Broadcom refers to Broadcom Limited and/or its subsidiaries5*6* Redistribution and use in source and binary forms, with or without7* modification, are permitted provided that the following conditions8* are met:9* 1. Redistributions of source code must retain the above copyright10* notice, this list of conditions and the following disclaimer.11* 2. Redistributions in binary form must reproduce the above copyright12* notice, this list of conditions and the following disclaimer in the13* documentation and/or other materials provided with the distribution.14*15* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS'16* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE17* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE18* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS19* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR20* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF21* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS22* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN23* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)24* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF25* THE POSSIBILITY OF SUCH DAMAGE.26*/2728#include <sys/cdefs.h>29#include "bnxt.h"3031int bnxt_init_sysctl_ctx(struct bnxt_softc *softc);32int bnxt_free_sysctl_ctx(struct bnxt_softc *softc);33int bnxt_create_port_stats_sysctls(struct bnxt_softc *softc);34int bnxt_create_tx_sysctls(struct bnxt_softc *softc, int txr);35int bnxt_create_rx_sysctls(struct bnxt_softc *softc, int rxr);36int bnxt_create_ver_sysctls(struct bnxt_softc *softc);37int bnxt_create_nvram_sysctls(struct bnxt_nvram_info *ni);38int bnxt_create_config_sysctls_pre(struct bnxt_softc *softc);39int bnxt_create_config_sysctls_post(struct bnxt_softc *softc);40int bnxt_create_hw_lro_sysctls(struct bnxt_softc *softc);41int bnxt_create_pause_fc_sysctls(struct bnxt_softc *softc);42int bnxt_create_dcb_sysctls(struct bnxt_softc *softc);43int bnxt_create_dcb_ets_sysctls(struct bnxt_softc *softc);444546