| 1 |
/* SPDX-License-Identifier: LGPL-2.1-only */ |
| 2 |
/* |
| 3 |
* Copyright (c) 2016 Intel Corp. All rights reserved. |
| 4 |
* Copyright (c) 2016 Jef Oliver <[email protected]> |
| 5 |
*/ |
| 6 |
|
| 7 |
#ifndef NETLINK_PRIV_LINK_SRIOV_H_ |
| 8 |
#define NETLINK_PRIV_LINK_SRIOV_H_ |
| 9 |
|
| 10 |
#include <netlink/netlink.h> |
| 11 |
#include <netlink/route/link/sriov.h> |
| 12 |
|
| 13 |
extern int rtnl_link_sriov_clone(struct rtnl_link *, struct rtnl_link *); |
| 14 |
extern void rtnl_link_sriov_dump_details(struct rtnl_link *, struct nl_dump_params *); |
| 15 |
extern void rtnl_link_sriov_dump_stats(struct rtnl_link *, struct nl_dump_params *); |
| 16 |
extern int rtnl_link_sriov_fill_vflist(struct nl_msg *, struct rtnl_link *); |
| 17 |
extern void rtnl_link_sriov_free_data(struct rtnl_link *); |
| 18 |
extern int rtnl_link_sriov_parse_vflist(struct rtnl_link *, struct nlattr **); |
| 19 |
|
| 20 |
#endif |