Linux Audio

Check our new training course

Loading...
Note: File does not exist in v5.4.
 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
 7struct ice_pf *ice_allocate_pf(struct device *dev);
 8struct ice_sf_priv *ice_allocate_sf(struct device *dev, struct ice_pf *pf);
 9
10void ice_devlink_register(struct ice_pf *pf);
11void ice_devlink_unregister(struct ice_pf *pf);
12int ice_devlink_register_params(struct ice_pf *pf);
13void ice_devlink_unregister_params(struct ice_pf *pf);
14int ice_devlink_create_pf_port(struct ice_pf *pf);
15void ice_devlink_destroy_pf_port(struct ice_pf *pf);
16int ice_devlink_create_vf_port(struct ice_vf *vf);
17void ice_devlink_destroy_vf_port(struct ice_vf *vf);
18
19void ice_devlink_init_regions(struct ice_pf *pf);
20void ice_devlink_destroy_regions(struct ice_pf *pf);
21
22int ice_devlink_rate_init_tx_topology(struct devlink *devlink, struct ice_vsi *vsi);
23void ice_tear_down_devlink_rate_tree(struct ice_pf *pf);
24void ice_devlink_rate_clear_tx_topology(struct ice_vsi *vsi);
25
26#endif /* _ICE_DEVLINK_H_ */