Searched refs:pmac_id (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 282 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() 1746 adapter->pmac_id[uc_idx + 1] = adapter->pmac_id[0]; in be_uc_mac_add() 1752 &adapter->pmac_id[uc_idx + 1], 0); in be_uc_mac_add() [all …]
|
H A D | be_cmds.h | 420 u32 pmac_id; member 438 u32 pmac_id; member 445 u32 pmac_id; member 691 u32 pmac_id; member 2386 bool permanent, u32 if_handle, u32 pmac_id); 2388 u32 *pmac_id, u32 domain); 2389 int be_cmd_pmac_del(struct be_adapter *adapter, u32 if_id, int pmac_id, 2465 bool *pmac_id_active, u32 *pmac_id, 2467 int be_cmd_get_active_mac(struct be_adapter *adapter, u32 pmac_id, u8 *mac,
|
H A D | be_cmds.c | 1044 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() 3687 bool *pmac_id_valid, u32 *pmac_id, u32 if_handle, in be_cmd_get_mac_from_list() argument 3726 req->mac_id = cpu_to_le32(*pmac_id); in be_cmd_get_mac_from_list() [all …]
|
H A D | be.h | 347 int pmac_id; member 611 u32 *pmac_id; /* MAC addr handle used by BE card */ member
|