mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
8eb992e876
Features added include WoL and selftest. Signed-off-by: Deepak Khungar <deepak.khungar@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
26 lines
964 B
C
26 lines
964 B
C
/* Broadcom NetXtreme-C/E network driver.
|
|
*
|
|
* Copyright (c) 2014-2016 Broadcom Corporation
|
|
* Copyright (c) 2016-2017 Broadcom Limited
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef BNXT_SRIOV_H
|
|
#define BNXT_SRIOV_H
|
|
|
|
int bnxt_get_vf_config(struct net_device *, int, struct ifla_vf_info *);
|
|
int bnxt_set_vf_mac(struct net_device *, int, u8 *);
|
|
int bnxt_set_vf_vlan(struct net_device *, int, u16, u8, __be16);
|
|
int bnxt_set_vf_bw(struct net_device *, int, int, int);
|
|
int bnxt_set_vf_link_state(struct net_device *, int, int);
|
|
int bnxt_set_vf_spoofchk(struct net_device *, int, bool);
|
|
int bnxt_sriov_configure(struct pci_dev *pdev, int num_vfs);
|
|
void bnxt_sriov_disable(struct bnxt *);
|
|
void bnxt_hwrm_exec_fwd_req(struct bnxt *);
|
|
void bnxt_update_vf_mac(struct bnxt *);
|
|
int bnxt_approve_mac(struct bnxt *, u8 *);
|
|
#endif
|