Commit | Line | Data |
---|---|---|
c0c050c5 MC |
1 | /* Broadcom NetXtreme-C/E network driver. |
2 | * | |
11f15ed3 | 3 | * Copyright (c) 2014-2016 Broadcom Corporation |
8eb992e8 | 4 | * Copyright (c) 2016-2017 Broadcom Limited |
c0c050c5 MC |
5 | * |
6 | * This program is free software; you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License as published by | |
8 | * the Free Software Foundation. | |
9 | */ | |
10 | ||
11 | #ifndef BNXT_SRIOV_H | |
12 | #define BNXT_SRIOV_H | |
13 | ||
14 | int bnxt_get_vf_config(struct net_device *, int, struct ifla_vf_info *); | |
15 | int bnxt_set_vf_mac(struct net_device *, int, u8 *); | |
79aab093 | 16 | int bnxt_set_vf_vlan(struct net_device *, int, u16, u8, __be16); |
c0c050c5 MC |
17 | int bnxt_set_vf_bw(struct net_device *, int, int, int); |
18 | int bnxt_set_vf_link_state(struct net_device *, int, int); | |
19 | int bnxt_set_vf_spoofchk(struct net_device *, int, bool); | |
20 | int bnxt_sriov_configure(struct pci_dev *pdev, int num_vfs); | |
21 | void bnxt_sriov_disable(struct bnxt *); | |
22 | void bnxt_hwrm_exec_fwd_req(struct bnxt *); | |
379a80a1 | 23 | void bnxt_update_vf_mac(struct bnxt *); |
84c33dd3 | 24 | int bnxt_approve_mac(struct bnxt *, u8 *); |
c0c050c5 | 25 | #endif |