1b94b013eSDave Ertman /* SPDX-License-Identifier: GPL-2.0 */ 2b94b013eSDave Ertman /* Copyright (c) 2019, Intel Corporation. */ 3b94b013eSDave Ertman 4b94b013eSDave Ertman #ifndef _ICE_DCB_NL_H_ 5b94b013eSDave Ertman #define _ICE_DCB_NL_H_ 6b94b013eSDave Ertman 7b94b013eSDave Ertman #ifdef CONFIG_DCB 8b94b013eSDave Ertman void ice_dcbnl_setup(struct ice_vsi *vsi); 9b94b013eSDave Ertman void ice_dcbnl_set_all(struct ice_vsi *vsi); 10b94b013eSDave Ertman void 11b94b013eSDave Ertman ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, 12b94b013eSDave Ertman struct ice_dcbx_cfg *new_cfg); 13b94b013eSDave Ertman #else ice_dcbnl_setup(struct ice_vsi * vsi)14*96cf4f68SJesse Brandeburgstatic inline void ice_dcbnl_setup(struct ice_vsi *vsi) { } ice_dcbnl_set_all(struct ice_vsi * vsi)15*96cf4f68SJesse Brandeburgstatic inline void ice_dcbnl_set_all(struct ice_vsi *vsi) { } 16*96cf4f68SJesse Brandeburg static inline void ice_dcbnl_flush_apps(struct ice_pf * pf,struct ice_dcbx_cfg * old_cfg,struct ice_dcbx_cfg * new_cfg)17*96cf4f68SJesse Brandeburgice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, 18*96cf4f68SJesse Brandeburg struct ice_dcbx_cfg *new_cfg) { } 19b94b013eSDave Ertman #endif /* CONFIG_DCB */ 20b94b013eSDave Ertman #endif /* _ICE_DCB_NL_H_ */ 21