forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h
....@@ -1,10 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (c) 2014-2015 Hisilicon Limited.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License as published by
6
- * the Free Software Foundation; either version 2 of the License, or
7
- * (at your option) any later version.
84 */
95
106 #ifndef __HNS_DSAF_MAIN_H
....@@ -467,4 +463,6 @@
467463 u8 mac_id, u8 port_num);
468464 int hns_dsaf_wait_pkt_clean(struct dsaf_device *dsaf_dev, int port);
469465
466
+int hns_dsaf_roce_reset(struct fwnode_handle *dsaf_fwnode, bool dereset);
467
+
470468 #endif /* __HNS_DSAF_MAIN_H__ */