Searched refs:mac_entry (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_mac.c | 248 struct dsaf_drv_mac_single_dest_entry mac_entry; in hns_mac_change_vf_addr() local 253 memcpy(mac_entry.addr, addr, sizeof(mac_entry.addr)); in hns_mac_change_vf_addr() 254 mac_entry.in_vlan_id = old_entry->vlan_id; in hns_mac_change_vf_addr() 255 mac_entry.in_port_num = mac_cb->mac_id; in hns_mac_change_vf_addr() 257 &mac_entry.port_num); in hns_mac_change_vf_addr() 263 addr, sizeof(mac_entry.addr)) != 0)) { in hns_mac_change_vf_addr() 272 ret = hns_dsaf_set_mac_uc_entry(dsaf_dev, &mac_entry); in hns_mac_change_vf_addr() 290 struct dsaf_drv_mac_single_dest_entry mac_entry; in hns_mac_set_multi() local 293 memcpy(mac_entry.addr, addr, sizeof(mac_entry.addr)); in hns_mac_set_multi() 294 mac_entry.in_vlan_id = 0;/*vlan_id;*/ in hns_mac_set_multi() [all …]
|
D | hns_dsaf_main.c | 1249 struct dsaf_drv_mac_single_dest_entry *mac_entry) in hns_dsaf_set_mac_uc_entry() argument 1259 if (MAC_IS_ALL_ZEROS(mac_entry->addr) || in hns_dsaf_set_mac_uc_entry() 1260 MAC_IS_BROADCAST(mac_entry->addr) || in hns_dsaf_set_mac_uc_entry() 1261 MAC_IS_MULTICAST(mac_entry->addr)) { in hns_dsaf_set_mac_uc_entry() 1263 dsaf_dev->ae_dev.name, mac_entry->addr); in hns_dsaf_set_mac_uc_entry() 1268 hns_dsaf_set_mac_key(dsaf_dev, &mac_key, mac_entry->in_vlan_id, in hns_dsaf_set_mac_uc_entry() 1269 mac_entry->in_port_num, mac_entry->addr); in hns_dsaf_set_mac_uc_entry() 1297 mac_data.tbl_ucast_out_port = mac_entry->port_num; in hns_dsaf_set_mac_uc_entry() 1318 struct dsaf_drv_mac_multi_dest_entry *mac_entry) in hns_dsaf_set_mac_mc_entry() argument 1329 if (MAC_IS_ALL_ZEROS(mac_entry->addr)) { in hns_dsaf_set_mac_mc_entry() [all …]
|
D | hns_dsaf_main.h | 384 struct dsaf_drv_mac_single_dest_entry *mac_entry); 386 struct dsaf_drv_mac_multi_dest_entry *mac_entry); 388 struct dsaf_drv_mac_single_dest_entry *mac_entry); 392 struct dsaf_drv_mac_single_dest_entry *mac_entry); 394 struct dsaf_drv_mac_single_dest_entry *mac_entry); 396 struct dsaf_drv_mac_multi_dest_entry *mac_entry); 400 struct dsaf_drv_mac_multi_dest_entry *mac_entry);
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | ethtool.c | 794 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_get_class_rule() local 843 ether_addr_copy(mac_entry->h_dest, spec.loc_mac); in efx_ethtool_get_class_rule() 851 ether_addr_copy(mac_entry->h_source, spec.rem_mac); in efx_ethtool_get_class_rule() 855 mac_entry->h_proto = spec.ether_type; in efx_ethtool_get_class_rule() 954 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_set_class_rule() local 1024 ether_addr_copy(spec.loc_mac, mac_entry->h_dest); in efx_ethtool_set_class_rule() 1030 ether_addr_copy(spec.rem_mac, mac_entry->h_source); in efx_ethtool_set_class_rule() 1036 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
|
/linux-4.4.14/drivers/net/wireless/prism54/ |
D | islpci_dev.h | 49 struct mac_entry { struct
|
D | isl_ioctl.c | 1795 struct mac_entry *entry; in prism54_clear_mac() 1806 entry = list_entry(ptr, struct mac_entry, _list); in prism54_clear_mac() 1826 struct mac_entry *entry; in prism54_add_mac() 1832 entry = kmalloc(sizeof (struct mac_entry), GFP_KERNEL); in prism54_add_mac() 1855 struct mac_entry *entry; in prism54_del_mac() 1882 struct mac_entry *entry; in prism54_get_mac() 1957 struct mac_entry *entry; in prism54_mac_accept()
|
/linux-4.4.14/drivers/net/wireless/hostap/ |
D | hostap_ap.h | 137 struct mac_entry { struct
|
D | hostap_ap.c | 337 struct mac_entry *entry; in ap_control_proc_show() 411 struct mac_entry *entry; in ap_control_add_mac() 413 entry = kmalloc(sizeof(struct mac_entry), GFP_KERNEL); in ap_control_add_mac() 431 struct mac_entry *entry; in ap_control_del_mac() 436 entry = list_entry(ptr, struct mac_entry, list); in ap_control_del_mac() 454 struct mac_entry *entry; in ap_control_mac_deny() 479 struct mac_entry *entry; in ap_control_flush_macs() 488 entry = list_entry(ptr, struct mac_entry, list); in ap_control_flush_macs()
|
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/ |
D | vxge-main.c | 1130 struct vxge_mac_addrs *mac_entry; in vxge_set_multicast() local 1198 mac_entry = (struct vxge_mac_addrs *)entry; in vxge_set_multicast() 1200 mac_address = (u8 *)&mac_entry->macaddr; in vxge_set_multicast() 1240 mac_entry = (struct vxge_mac_addrs *)entry; in vxge_set_multicast() 1242 mac_address = (u8 *)&mac_entry->macaddr; in vxge_set_multicast()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 3096 struct get_list_macaddr *mac_entry; in be_cmd_get_mac_from_list() local 3100 mac_entry = &resp->macaddr_list[i]; in be_cmd_get_mac_from_list() 3101 mac_addr_size = le16_to_cpu(mac_entry->mac_addr_size); in be_cmd_get_mac_from_list() 3107 mac_id = mac_entry->mac_addr_id.s_mac_id.mac_id; in be_cmd_get_mac_from_list()
|