]>
Commit | Line | Data |
---|---|---|
db9ecf05 | 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later |
518cd6b5 SS |
2 | * Copyright © 2020 VMware, Inc. */ |
3 | #pragma once | |
4 | ||
b4fd34d8 | 5 | #include "netif-sriov.h" |
518cd6b5 | 6 | |
b4fd34d8 | 7 | typedef struct Link Link; |
518cd6b5 | 8 | |
cb8453cc | 9 | int link_request_sr_iov_vfs(Link *link); |
b0ff6dea YW |
10 | |
11 | int link_set_sr_iov_ifindices(Link *link); | |
12 | void link_clear_sr_iov_ifindices(Link *link); | |
e33232d4 YW |
13 | |
14 | bool check_ready_for_all_sr_iov_ports( | |
15 | Link *link, | |
16 | bool allow_unmanaged, /* for the main target */ | |
17 | bool (check_one)(Link *link, bool allow_unmanaged)); |