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