Home
last modified time | relevance | path

Searched refs:pmac_id (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c282 adapter->pmac_id[0] = adapter->pmac_id[i + 1]; in be_dev_mac_add()
288 &adapter->pmac_id[0], 0); in be_dev_mac_add()
291 static void be_dev_mac_del(struct be_adapter *adapter, int pmac_id) in be_dev_mac_del() argument
299 if (adapter->pmac_id[i + 1] == pmac_id) in be_dev_mac_del()
302 be_cmd_pmac_del(adapter, adapter->if_handle, pmac_id, 0); in be_dev_mac_del()
312 u32 old_pmac_id = adapter->pmac_id[0]; in be_mac_addr_set()
347 if (adapter->pmac_id[0] != old_pmac_id) in be_mac_addr_set()
355 status = be_cmd_get_active_mac(adapter, adapter->pmac_id[0], mac, in be_mac_addr_set()
1747 adapter->pmac_id[uc_idx + 1] = adapter->pmac_id[0]; in be_uc_mac_add()
1753 &adapter->pmac_id[uc_idx + 1], 0); in be_uc_mac_add()
[all …]
H A Dbe_cmds.c1044 bool permanent, u32 if_handle, u32 pmac_id) in be_cmd_mac_addr_query() argument
1067 req->pmac_id = cpu_to_le32(pmac_id); in be_cmd_mac_addr_query()
1085 u32 if_id, u32 *pmac_id, u32 domain) in be_cmd_pmac_add() argument
1112 *pmac_id = le32_to_cpu(resp->pmac_id); in be_cmd_pmac_add()
1125 int be_cmd_pmac_del(struct be_adapter *adapter, u32 if_id, int pmac_id, u32 dom) in be_cmd_pmac_del() argument
1131 if (pmac_id == -1) in be_cmd_pmac_del()
1149 req->pmac_id = cpu_to_le32(pmac_id); in be_cmd_pmac_del()
1559 adapter->pmac_id[0] = le32_to_cpu(resp->pmac_id); in be_cmd_if_create()
3691 bool *pmac_id_valid, u32 *pmac_id, u32 if_handle, in be_cmd_get_mac_from_list() argument
3730 req->mac_id = cpu_to_le32(*pmac_id); in be_cmd_get_mac_from_list()
[all …]