Home
last modified time | relevance | path

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

/drivers/net/ethernet/emulex/benet/
Dbe_main.c1859 struct be_vf_cfg *vf_cfg = &adapter->vf_cfg[vf]; in be_set_vf_mac() local
1871 if (ether_addr_equal(mac, vf_cfg->mac_addr)) in be_set_vf_mac()
1875 be_cmd_pmac_del(adapter, vf_cfg->if_handle, vf_cfg->pmac_id, in be_set_vf_mac()
1878 status = be_cmd_pmac_add(adapter, mac, vf_cfg->if_handle, in be_set_vf_mac()
1879 &vf_cfg->pmac_id, vf + 1); in be_set_vf_mac()
1881 status = be_cmd_set_mac(adapter, mac, vf_cfg->if_handle, in be_set_vf_mac()
1891 ether_addr_copy(vf_cfg->mac_addr, mac); in be_set_vf_mac()
1900 struct be_vf_cfg *vf_cfg = &adapter->vf_cfg[vf]; in be_get_vf_config() local
1909 vi->max_tx_rate = vf_cfg->tx_rate; in be_get_vf_config()
1911 vi->vlan = vf_cfg->vlan_tag & VLAN_VID_MASK; in be_get_vf_config()
[all …]
Dbe.h651 struct be_vf_cfg *vf_cfg; member
687 #define for_all_vfs(adapter, vf_cfg, i) \ argument
688 for (i = 0, vf_cfg = &adapter->vf_cfg[i]; i < adapter->num_vfs; \
689 i++, vf_cfg++)
Dbe_cmds.h2500 int be_cmd_get_if_id(struct be_adapter *adapter, struct be_vf_cfg *vf_cfg,
Dbe_cmds.c4729 int be_cmd_get_if_id(struct be_adapter *adapter, struct be_vf_cfg *vf_cfg, in be_cmd_get_if_id() argument
4754 vf_cfg->if_handle = le32_to_cpu(resp->if_desc.if_id); in be_cmd_get_if_id()
/drivers/net/ethernet/qlogic/qed/
Dqed_hsi.h13196 u32 vf_cfg; member