Keep devlink related code in a separate file. More devlink port code and handlers will be added here for other port operations. Remove no longer needed include of our devlink.h in ice_lib.c. Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com> Signed-off-by: Piotr Raczynski <piotr.raczynski@intel.com> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
12 lines
375 B
C
12 lines
375 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (c) 2024, Intel Corporation. */
|
|
|
|
#ifndef _DEVLINK_PORT_H_
|
|
#define _DEVLINK_PORT_H_
|
|
|
|
int ice_devlink_create_pf_port(struct ice_pf *pf);
|
|
void ice_devlink_destroy_pf_port(struct ice_pf *pf);
|
|
int ice_devlink_create_vf_port(struct ice_vf *vf);
|
|
void ice_devlink_destroy_vf_port(struct ice_vf *vf);
|
|
|
|
#endif /* _DEVLINK_PORT_H_ */
|