1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2019, Intel Corporation. */
3 
4 #ifndef _ICE_DEVLINK_H_
5 #define _ICE_DEVLINK_H_
6 
7 struct ice_pf *ice_allocate_pf(struct device *dev);
8 
9 int ice_devlink_register(struct ice_pf *pf);
10 void ice_devlink_unregister(struct ice_pf *pf);
11 int ice_devlink_create_port(struct ice_vsi *vsi);
12 void ice_devlink_destroy_port(struct ice_vsi *vsi);
13 
14 void ice_devlink_init_regions(struct ice_pf *pf);
15 void ice_devlink_destroy_regions(struct ice_pf *pf);
16 
17 #endif /* _ICE_DEVLINK_H_ */
18