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