diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2016-08-11 18:36:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-15 07:16:57 +0300 |
commit | 858aa65c5110b624bfdab6a891d53826b0dd45aa (patch) | |
tree | 72ac98717217de7bda5ccf14dde8c84b5f35bf28 /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | |
parent | 7829451c695e5b795fef95d72cd258e78d52f62d (diff) | |
download | linux-858aa65c5110b624bfdab6a891d53826b0dd45aa.tar.xz |
cxgb4/cxgb4vf: Add set VF mac address support
Add ndo_set_vf_mac support which allows to set the MAC address
for cxgb4vf interfaces from the host
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h index 2e2aa9fec9bb..bcfa51226b46 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h @@ -1521,4 +1521,7 @@ void t4_idma_monitor_init(struct adapter *adapter, void t4_idma_monitor(struct adapter *adapter, struct sge_idma_monitor_state *idma, int hz, int ticks); +int t4_set_vf_mac_acl(struct adapter *adapter, unsigned int vf, + unsigned int naddr, u8 *addr); + #endif /* __CXGB4_H__ */ |