drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | // Copyright (c) 2016-2017 Hisilicon Limited. |
| 3 | |
| 4 | #ifndef __HCLGE_DCB_H__ |
| 5 | #define __HCLGE_DCB_H__ |
| 6 | |
| 7 | #include "hclge_main.h" |
| 8 | |
| 9 | #ifdef CONFIG_HNS3_DCB |
| 10 | void hclge_dcb_ops_set(struct hclge_dev *hdev); |
| 11 | #else |
| 12 | static inline void hclge_dcb_ops_set(struct hclge_dev *hdev) {} |
| 13 | #endif |
| 14 | |
| 15 | #endif /* __HCLGE_DCB_H__ */ |