Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/emulex/benet/
Dbe_main.c1862 struct be_vf_cfg *vf_cfg = &adapter->vf_cfg[vf]; in be_set_vf_mac() local
1874 if (ether_addr_equal(mac, vf_cfg->mac_addr)) in be_set_vf_mac()
1878 be_cmd_pmac_del(adapter, vf_cfg->if_handle, vf_cfg->pmac_id, in be_set_vf_mac()
1881 status = be_cmd_pmac_add(adapter, mac, vf_cfg->if_handle, in be_set_vf_mac()
1882 &vf_cfg->pmac_id, vf + 1); in be_set_vf_mac()
1884 status = be_cmd_set_mac(adapter, mac, vf_cfg->if_handle, in be_set_vf_mac()
1894 ether_addr_copy(vf_cfg->mac_addr, mac); in be_set_vf_mac()
1903 struct be_vf_cfg *vf_cfg = &adapter->vf_cfg[vf]; in be_get_vf_config() local
1912 vi->max_tx_rate = vf_cfg->tx_rate; in be_get_vf_config()
1914 vi->vlan = vf_cfg->vlan_tag & VLAN_VID_MASK; in be_get_vf_config()
[all …]
Dbe.h655 struct be_vf_cfg *vf_cfg; member
696 #define for_all_vfs(adapter, vf_cfg, i) \ argument
697 for (i = 0, vf_cfg = &adapter->vf_cfg[i]; i < adapter->num_vfs; \
698 i++, vf_cfg++)
Dbe_cmds.h2504 int be_cmd_get_if_id(struct be_adapter *adapter, struct be_vf_cfg *vf_cfg,
Dbe_cmds.c4733 int be_cmd_get_if_id(struct be_adapter *adapter, struct be_vf_cfg *vf_cfg, in be_cmd_get_if_id() argument
4758 vf_cfg->if_handle = le32_to_cpu(resp->if_desc.if_id); in be_cmd_get_if_id()
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_hsi.h13077 u32 vf_cfg; member