]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
[karo-tx-linux.git] / drivers / net / ethernet / broadcom / bnxt / bnxt_sriov.h
1 /* Broadcom NetXtreme-C/E network driver.
2  *
3  * Copyright (c) 2014-2015 Broadcom Corporation
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation.
8  */
9
10 #ifndef BNXT_SRIOV_H
11 #define BNXT_SRIOV_H
12
13 int bnxt_get_vf_config(struct net_device *, int, struct ifla_vf_info *);
14 int bnxt_set_vf_mac(struct net_device *, int, u8 *);
15 int bnxt_set_vf_vlan(struct net_device *, int, u16, u8);
16 int bnxt_set_vf_bw(struct net_device *, int, int, int);
17 int bnxt_set_vf_link_state(struct net_device *, int, int);
18 int bnxt_set_vf_spoofchk(struct net_device *, int, bool);
19 int bnxt_sriov_configure(struct pci_dev *pdev, int num_vfs);
20 void bnxt_sriov_disable(struct bnxt *);
21 void bnxt_hwrm_exec_fwd_req(struct bnxt *);
22 void bnxt_update_vf_mac(struct bnxt *);
23 #endif