brintos

brintos / linux-shallow public Read only

0
0
Text · 661 B · eac2f34 Raw
21 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2/* Copyright (c) 2019, Intel Corporation. */3 4#ifndef _ICE_DCB_NL_H_5#define _ICE_DCB_NL_H_6 7#ifdef CONFIG_DCB8void ice_dcbnl_setup(struct ice_vsi *vsi);9void ice_dcbnl_set_all(struct ice_vsi *vsi);10void11ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg,12		     struct ice_dcbx_cfg *new_cfg);13#else14static inline void ice_dcbnl_setup(struct ice_vsi *vsi) { }15static inline void ice_dcbnl_set_all(struct ice_vsi *vsi) { }16static inline void17ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg,18		     struct ice_dcbx_cfg *new_cfg) { }19#endif /* CONFIG_DCB */20#endif /* _ICE_DCB_NL_H_ */21