Searched refs:pmac_id (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 283 adapter->pmac_id[0] = adapter->pmac_id[i + 1]; in be_dev_mac_add() 289 &adapter->pmac_id[0], 0); in be_dev_mac_add() 292 static void be_dev_mac_del(struct be_adapter *adapter, int pmac_id) in be_dev_mac_del() argument 300 if (adapter->pmac_id[i + 1] == pmac_id) in be_dev_mac_del() 303 be_cmd_pmac_del(adapter, adapter->if_handle, pmac_id, 0); in be_dev_mac_del() 313 u32 old_pmac_id = adapter->pmac_id[0]; in be_mac_addr_set() 348 if (adapter->pmac_id[0] != old_pmac_id) in be_mac_addr_set() 356 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 …]
|
D | be_cmds.h | 420 u32 pmac_id; member 438 u32 pmac_id; member 445 u32 pmac_id; member 691 u32 pmac_id; member 2387 bool permanent, u32 if_handle, u32 pmac_id); 2389 u32 *pmac_id, u32 domain); 2390 int be_cmd_pmac_del(struct be_adapter *adapter, u32 if_id, int pmac_id, 2467 bool *pmac_id_active, u32 *pmac_id, 2469 int be_cmd_get_active_mac(struct be_adapter *adapter, u32 pmac_id, u8 *mac,
|
D | be_cmds.c | 1043 bool permanent, u32 if_handle, u32 pmac_id) in be_cmd_mac_addr_query() argument 1066 req->pmac_id = cpu_to_le32(pmac_id); in be_cmd_mac_addr_query() 1084 u32 if_id, u32 *pmac_id, u32 domain) in be_cmd_pmac_add() argument 1111 *pmac_id = le32_to_cpu(resp->pmac_id); in be_cmd_pmac_add() 1124 int be_cmd_pmac_del(struct be_adapter *adapter, u32 if_id, int pmac_id, u32 dom) in be_cmd_pmac_del() argument 1130 if (pmac_id == -1) in be_cmd_pmac_del() 1148 req->pmac_id = cpu_to_le32(pmac_id); in be_cmd_pmac_del() 1558 adapter->pmac_id[0] = le32_to_cpu(resp->pmac_id); in be_cmd_if_create() 3686 bool *pmac_id_valid, u32 *pmac_id, u32 if_handle, in be_cmd_get_mac_from_list() argument 3725 req->mac_id = cpu_to_le32(*pmac_id); in be_cmd_get_mac_from_list() [all …]
|
D | be.h | 347 int pmac_id; member 611 u32 *pmac_id; /* MAC addr handle used by BE card */ member
|