1*2da48943SSunil Goutham /* SPDX-License-Identifier: GPL-2.0 */ 2*2da48943SSunil Goutham /* Marvell RVU PF/VF Netdev Devlink 3*2da48943SSunil Goutham * 4*2da48943SSunil Goutham * Copyright (C) 2021 Marvell. 5*2da48943SSunil Goutham * 6*2da48943SSunil Goutham */ 7*2da48943SSunil Goutham 8*2da48943SSunil Goutham #ifndef OTX2_DEVLINK_H 9*2da48943SSunil Goutham #define OTX2_DEVLINK_H 10*2da48943SSunil Goutham 11*2da48943SSunil Goutham struct otx2_devlink { 12*2da48943SSunil Goutham struct devlink *dl; 13*2da48943SSunil Goutham struct otx2_nic *pfvf; 14*2da48943SSunil Goutham }; 15*2da48943SSunil Goutham 16*2da48943SSunil Goutham /* Devlink APIs */ 17*2da48943SSunil Goutham int otx2_register_dl(struct otx2_nic *pfvf); 18*2da48943SSunil Goutham void otx2_unregister_dl(struct otx2_nic *pfvf); 19*2da48943SSunil Goutham 20*2da48943SSunil Goutham #endif /* RVU_DEVLINK_H */ 21