Home
last modified time | relevance | path

Searched refs:arp_index (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/irdma/
Dutils.c17 int arp_index; in irdma_arp_table() local
26 for (arp_index = 0; (u32)arp_index < rf->arp_table_size; arp_index++) { in irdma_arp_table()
27 if (!memcmp(rf->arp_table[arp_index].ip_addr, ip, sizeof(ip))) in irdma_arp_table()
33 if (arp_index != rf->arp_table_size) { in irdma_arp_table()
34 arp_index = -1; in irdma_arp_table()
38 arp_index = 0; in irdma_arp_table()
40 (u32 *)&arp_index, &rf->next_arp_index)) { in irdma_arp_table()
41 arp_index = -1; in irdma_arp_table()
45 memcpy(rf->arp_table[arp_index].ip_addr, ip, in irdma_arp_table()
46 sizeof(rf->arp_table[arp_index].ip_addr)); in irdma_arp_table()
[all …]
Dhw.c2402 int arp_index; in irdma_manage_arp_cache() local
2404 arp_index = irdma_arp_table(rf, ip_addr, ipv4, mac_addr, action); in irdma_manage_arp_cache()
2405 if (arp_index == -1) in irdma_manage_arp_cache()
2417 info->arp_index = (u16)arp_index; in irdma_manage_arp_cache()
2428 cqp_info->in.u.del_arp_cache_entry.arp_index = arp_index; in irdma_manage_arp_cache()
Dtype.h1100 u16 arp_index; member
1300 u16 arp_index; member
Dctrl.c195 hdr = info->arp_index | in irdma_sc_add_arp_cache_entry()
220 u16 arp_index, bool post_sq) in irdma_sc_del_arp_cache_entry() argument
229 hdr = arp_index | in irdma_sc_del_arp_cache_entry()
5138 pcmdinfo->in.u.del_arp_cache_entry.arp_index, in irdma_exec_cqp_cmd()