File Index
Files and directories
Sign in
FILE

otx2_devlink.h

File preview with syntax highlighting.

linux-6.19.14/drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.h OBJECTIVE-C
 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
11struct otx2_devlink {
12	struct devlink *dl;
13	struct otx2_nic *pfvf;
14};
15
16/* Devlink APIs */
17int otx2_register_dl(struct otx2_nic *pfvf);
18void otx2_unregister_dl(struct otx2_nic *pfvf);
19
20#endif /* RVU_DEVLINK_H */
~/ Read-only file preview.