| /Linux-v5.4/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() 289 struct dsaf_drv_mac_single_dest_entry mac_entry; in hns_mac_add_uc_addr() local 295 memset(&mac_entry, 0, sizeof(mac_entry)); in hns_mac_add_uc_addr() 296 memcpy(mac_entry.addr, addr, sizeof(mac_entry.addr)); in hns_mac_add_uc_addr() [all …]
|
| D | hns_dsaf_main.c | 1610 struct dsaf_drv_mac_single_dest_entry *mac_entry) in hns_dsaf_set_mac_uc_entry() argument 1621 if (MAC_IS_ALL_ZEROS(mac_entry->addr) || in hns_dsaf_set_mac_uc_entry() 1622 MAC_IS_BROADCAST(mac_entry->addr) || in hns_dsaf_set_mac_uc_entry() 1623 MAC_IS_MULTICAST(mac_entry->addr)) { in hns_dsaf_set_mac_uc_entry() 1625 dsaf_dev->ae_dev.name, mac_entry->addr); in hns_dsaf_set_mac_uc_entry() 1630 hns_dsaf_set_mac_key(dsaf_dev, &mac_key, mac_entry->in_vlan_id, in hns_dsaf_set_mac_uc_entry() 1631 mac_entry->in_port_num, mac_entry->addr); in hns_dsaf_set_mac_uc_entry() 1659 mac_data.tbl_ucast_out_port = mac_entry->port_num; in hns_dsaf_set_mac_uc_entry() 1676 struct dsaf_drv_mac_single_dest_entry *mac_entry) in hns_dsaf_rm_mac_addr() argument 1683 if (!is_valid_ether_addr(mac_entry->addr)) { in hns_dsaf_rm_mac_addr() [all …]
|
| D | hns_dsaf_main.h | 429 struct dsaf_drv_mac_single_dest_entry *mac_entry); 431 struct dsaf_drv_mac_single_dest_entry *mac_entry); 435 struct dsaf_drv_mac_single_dest_entry *mac_entry); 460 struct dsaf_drv_mac_single_dest_entry *mac_entry);
|
| /Linux-v5.4/drivers/net/ethernet/sfc/falcon/ |
| D | ethtool.c | 796 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in ef4_ethtool_get_class_rule() local 874 ether_addr_copy(mac_entry->h_dest, spec.loc_mac); in ef4_ethtool_get_class_rule() 882 ether_addr_copy(mac_entry->h_source, spec.rem_mac); in ef4_ethtool_get_class_rule() 886 mac_entry->h_proto = spec.ether_type; in ef4_ethtool_get_class_rule() 1032 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in ef4_ethtool_set_class_rule() local 1188 ether_addr_copy(spec.loc_mac, mac_entry->h_dest); in ef4_ethtool_set_class_rule() 1194 ether_addr_copy(spec.rem_mac, mac_entry->h_source); in ef4_ethtool_set_class_rule() 1200 spec.ether_type = mac_entry->h_proto; in ef4_ethtool_set_class_rule()
|
| /Linux-v5.4/drivers/net/ethernet/sfc/ |
| D | ethtool.c | 819 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_get_class_rule() local 897 ether_addr_copy(mac_entry->h_dest, spec.loc_mac); in efx_ethtool_get_class_rule() 905 ether_addr_copy(mac_entry->h_source, spec.rem_mac); in efx_ethtool_get_class_rule() 909 mac_entry->h_proto = spec.ether_type; in efx_ethtool_get_class_rule() 1089 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_set_class_rule() local 1253 ether_addr_copy(spec.loc_mac, mac_entry->h_dest); in efx_ethtool_set_class_rule() 1259 ether_addr_copy(spec.rem_mac, mac_entry->h_source); in efx_ethtool_set_class_rule() 1265 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
|
| /Linux-v5.4/drivers/net/wireless/intersil/prism54/ |
| D | islpci_dev.h | 37 struct mac_entry { struct
|
| D | isl_ioctl.c | 1796 struct mac_entry *entry; in prism54_clear_mac() 1807 entry = list_entry(ptr, struct mac_entry, _list); in prism54_clear_mac() 1827 struct mac_entry *entry; in prism54_add_mac() 1833 entry = kmalloc(sizeof (struct mac_entry), GFP_KERNEL); in prism54_add_mac() 1856 struct mac_entry *entry; in prism54_del_mac() 1883 struct mac_entry *entry; in prism54_get_mac() 1958 struct mac_entry *entry; in prism54_mac_accept()
|
| /Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/ |
| D | tunnel_conf.c | 937 struct nfp_tun_offloaded_mac *mac_entry; in nfp_flower_xmit_pre_tun_flow() local 955 mac_entry = nfp_tunnel_lookup_offloaded_macs(app, in nfp_flower_xmit_pre_tun_flow() 957 if (!mac_entry) in nfp_flower_xmit_pre_tun_flow() 960 payload.port_idx = cpu_to_be16(mac_entry->index); in nfp_flower_xmit_pre_tun_flow()
|
| /Linux-v5.4/drivers/net/wireless/intersil/hostap/ |
| D | hostap_ap.h | 138 struct mac_entry { struct
|
| D | hostap_ap.c | 325 struct mac_entry *entry; in ap_control_proc_show() 381 struct mac_entry *entry; in ap_control_add_mac() 383 entry = kmalloc(sizeof(struct mac_entry), GFP_KERNEL); in ap_control_add_mac() 401 struct mac_entry *entry; in ap_control_del_mac() 406 entry = list_entry(ptr, struct mac_entry, list); in ap_control_del_mac() 424 struct mac_entry *entry; in ap_control_mac_deny() 449 struct mac_entry *entry; in ap_control_flush_macs() 458 entry = list_entry(ptr, struct mac_entry, list); in ap_control_flush_macs()
|
| /Linux-v5.4/drivers/net/ethernet/neterion/vxge/ |
| D | vxge-main.c | 1129 struct vxge_mac_addrs *mac_entry; in vxge_set_multicast() local 1196 mac_entry = (struct vxge_mac_addrs *)entry; in vxge_set_multicast() 1198 mac_address = (u8 *)&mac_entry->macaddr; in vxge_set_multicast() 1238 mac_entry = (struct vxge_mac_addrs *)entry; in vxge_set_multicast() 1240 mac_address = (u8 *)&mac_entry->macaddr; in vxge_set_multicast()
|
| /Linux-v5.4/drivers/net/ethernet/emulex/benet/ |
| D | be_cmds.c | 3748 struct get_list_macaddr *mac_entry; in be_cmd_get_mac_from_list() local 3752 mac_entry = &resp->macaddr_list[i]; in be_cmd_get_mac_from_list() 3753 mac_addr_size = le16_to_cpu(mac_entry->mac_addr_size); in be_cmd_get_mac_from_list() 3759 mac_id = mac_entry->mac_addr_id.s_mac_id.mac_id; in be_cmd_get_mac_from_list()
|
| /Linux-v5.4/drivers/net/dsa/mv88e6xxx/ |
| D | chip.c | 1578 struct ethhdr *mac_entry = &fs->h_u.ether_spec; in mv88e6xxx_policy_insert() local 1601 addr = mac_entry->h_dest; in mv88e6xxx_policy_insert() 1605 addr = mac_entry->h_source; in mv88e6xxx_policy_insert()
|