The hclge_dcb module calls the interface from hclge_main/tm and provide interface for the dcb netlink interface. This patch also update Makefiles required to build the DCB supported code in HNS3 Ethernet driver and update the existing Kconfig file in the hisilicon folder. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
22 lines
561 B
C
22 lines
561 B
C
/*
|
|
* Copyright (c) 2016~2017 Hisilicon Limited.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef __HCLGE_DCB_H__
|
|
#define __HCLGE_DCB_H__
|
|
|
|
#include "hclge_main.h"
|
|
|
|
#ifdef CONFIG_HNS3_DCB
|
|
void hclge_dcb_ops_set(struct hclge_dev *hdev);
|
|
#else
|
|
static inline void hclge_dcb_ops_set(struct hclge_dev *hdev) {}
|
|
#endif
|
|
|
|
#endif /* __HCLGE_DCB_H__ */
|