• Home
  • Raw
  • Download

Lines Matching refs:mac

21 	unsigned char mac[ETH_ALEN] __aligned(2);  member
53 const unsigned char mac[ETH_ALEN], in lan966x_mac_select()
62 mach |= mac[0] << 8; in lan966x_mac_select()
63 mach |= mac[1] << 0; in lan966x_mac_select()
64 macl |= mac[2] << 24; in lan966x_mac_select()
65 macl |= mac[3] << 16; in lan966x_mac_select()
66 macl |= mac[4] << 8; in lan966x_mac_select()
67 macl |= mac[5] << 0; in lan966x_mac_select()
75 const unsigned char mac[ETH_ALEN], in __lan966x_mac_learn_locked()
81 lan966x_mac_select(lan966x, mac, vid); in __lan966x_mac_learn_locked()
97 const unsigned char mac[ETH_ALEN], in __lan966x_mac_learn()
104 ret = __lan966x_mac_learn_locked(lan966x, pgid, cpu_copy, mac, vid, type); in __lan966x_mac_learn()
115 const unsigned char mac[ETH_ALEN], in lan966x_mac_ip_learn()
121 return __lan966x_mac_learn(lan966x, 0, cpu_copy, mac, vid, type); in lan966x_mac_ip_learn()
125 const unsigned char mac[ETH_ALEN], in lan966x_mac_learn()
131 return __lan966x_mac_learn(lan966x, port, false, mac, vid, type); in lan966x_mac_learn()
135 const unsigned char mac[ETH_ALEN], in lan966x_mac_learn_locked()
141 return __lan966x_mac_learn_locked(lan966x, port, false, mac, vid, type); in lan966x_mac_learn_locked()
145 const unsigned char mac[ETH_ALEN], in lan966x_mac_forget_locked()
151 lan966x_mac_select(lan966x, mac, vid); in lan966x_mac_forget_locked()
162 const unsigned char mac[ETH_ALEN], in lan966x_mac_forget()
169 ret = lan966x_mac_forget_locked(lan966x, mac, vid, type); in lan966x_mac_forget()
204 const unsigned char *mac, in lan966x_mac_alloc_entry() argument
213 memcpy(mac_entry->mac, mac, ETH_ALEN); in lan966x_mac_alloc_entry()
222 const unsigned char *mac, in lan966x_mac_find_entry() argument
230 ether_addr_equal(mac, mac_entry->mac) && in lan966x_mac_find_entry()
241 const unsigned char mac[ETH_ALEN], in lan966x_mac_lookup()
246 lan966x_mac_select(lan966x, mac, vid); in lan966x_mac_lookup()
262 const char *mac, u16 vid, in lan966x_fdb_call_notifiers() argument
267 info.addr = mac; in lan966x_fdb_call_notifiers()
323 ether_addr_equal(addr, mac_entry->mac)) { in lan966x_mac_del_entry()
324 lan966x_mac_forget_locked(lan966x, mac_entry->mac, in lan966x_mac_del_entry()
347 lan966x_mac_forget_locked(lan966x, mac_entry->mac, in lan966x_mac_lag_replace_port_entry()
352 mac_entry->mac, mac_entry->vid, in lan966x_mac_lag_replace_port_entry()
370 lan966x_mac_forget_locked(lan966x, mac_entry->mac, in lan966x_mac_lag_remove_port_entry()
388 lan966x_mac_forget_locked(lan966x, mac_entry->mac, in lan966x_mac_purge_entries()
398 unsigned char *mac, u32 vid, in lan966x_mac_notifiers() argument
402 lan966x_fdb_call_notifiers(type, mac, vid, dev); in lan966x_mac_notifiers()
407 u8 *mac, u16 *vid, u32 *dest_idx) in lan966x_mac_process_raw_entry() argument
409 mac[0] = (raw_entry->mach >> 8) & 0xff; in lan966x_mac_process_raw_entry()
410 mac[1] = (raw_entry->mach >> 0) & 0xff; in lan966x_mac_process_raw_entry()
411 mac[2] = (raw_entry->macl >> 24) & 0xff; in lan966x_mac_process_raw_entry()
412 mac[3] = (raw_entry->macl >> 16) & 0xff; in lan966x_mac_process_raw_entry()
413 mac[4] = (raw_entry->macl >> 8) & 0xff; in lan966x_mac_process_raw_entry()
414 mac[5] = (raw_entry->macl >> 0) & 0xff; in lan966x_mac_process_raw_entry()
424 unsigned char mac[ETH_ALEN] __aligned(2); in lan966x_mac_irq_process() local
449 mac, &vid, &dest_idx); in lan966x_mac_irq_process()
457 ether_addr_equal(mac_entry->mac, mac) && in lan966x_mac_irq_process()
481 mac_entry->mac, mac_entry->vid, in lan966x_mac_irq_process()
503 mac, &vid, &dest_idx); in lan966x_mac_irq_process()
508 mac_entry = lan966x_mac_find_entry(lan966x, mac, vid, dest_idx); in lan966x_mac_irq_process()
515 mac_entry = lan966x_mac_alloc_entry(port, mac, vid); in lan966x_mac_irq_process()
526 mac, vid, port->bond ?: port->dev); in lan966x_mac_irq_process()