Home
last modified time | relevance | path

Searched refs:vf_cfg (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c1858 struct be_vf_cfg *vf_cfg = &adapter->vf_cfg[vf]; in be_set_vf_mac() local
1870 if (ether_addr_equal(mac, vf_cfg->mac_addr)) in be_set_vf_mac()
1874 be_cmd_pmac_del(adapter, vf_cfg->if_handle, vf_cfg->pmac_id, in be_set_vf_mac()
1877 status = be_cmd_pmac_add(adapter, mac, vf_cfg->if_handle, in be_set_vf_mac()
1878 &vf_cfg->pmac_id, vf + 1); in be_set_vf_mac()
1880 status = be_cmd_set_mac(adapter, mac, vf_cfg->if_handle, in be_set_vf_mac()
1890 ether_addr_copy(vf_cfg->mac_addr, mac); in be_set_vf_mac()
1899 struct be_vf_cfg *vf_cfg = &adapter->vf_cfg[vf]; in be_get_vf_config() local
1908 vi->max_tx_rate = vf_cfg->tx_rate; in be_get_vf_config()
1910 vi->vlan = vf_cfg->vlan_tag & VLAN_VID_MASK; in be_get_vf_config()
[all …]
H A Dbe.h650 struct be_vf_cfg *vf_cfg; member
686 #define for_all_vfs(adapter, vf_cfg, i) \ argument
687 for (i = 0, vf_cfg = &adapter->vf_cfg[i]; i < adapter->num_vfs; \
688 i++, vf_cfg++)
H A Dbe_cmds.h2497 int be_cmd_get_if_id(struct be_adapter *adapter, struct be_vf_cfg *vf_cfg,
H A Dbe_cmds.c4730 int be_cmd_get_if_id(struct be_adapter *adapter, struct be_vf_cfg *vf_cfg, in be_cmd_get_if_id() argument
4755 vf_cfg->if_handle = le32_to_cpu(resp->if_desc.if_id); in be_cmd_get_if_id()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_mfw_hsi.h2083 u32 vf_cfg; member