| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns/ |
| H A 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 …]
|
| H A D | hns_dsaf_main.c | 1614 struct dsaf_drv_mac_single_dest_entry *mac_entry) in hns_dsaf_set_mac_uc_entry() argument 1625 if (MAC_IS_ALL_ZEROS(mac_entry->addr) || in hns_dsaf_set_mac_uc_entry() 1626 MAC_IS_BROADCAST(mac_entry->addr) || in hns_dsaf_set_mac_uc_entry() 1627 MAC_IS_MULTICAST(mac_entry->addr)) { in hns_dsaf_set_mac_uc_entry() 1629 dsaf_dev->ae_dev.name, mac_entry->addr); in hns_dsaf_set_mac_uc_entry() 1634 hns_dsaf_set_mac_key(dsaf_dev, &mac_key, mac_entry->in_vlan_id, in hns_dsaf_set_mac_uc_entry() 1635 mac_entry->in_port_num, mac_entry->addr); in hns_dsaf_set_mac_uc_entry() 1663 mac_data.tbl_ucast_out_port = mac_entry->port_num; in hns_dsaf_set_mac_uc_entry() 1680 struct dsaf_drv_mac_single_dest_entry *mac_entry) in hns_dsaf_rm_mac_addr() argument 1687 if (!is_valid_ether_addr(mac_entry->addr)) { in hns_dsaf_rm_mac_addr() [all …]
|
| H A 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);
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/falcon/ |
| H A D | ethtool.c | 793 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in ef4_ethtool_get_class_rule() local 871 ether_addr_copy(mac_entry->h_dest, spec.loc_mac); in ef4_ethtool_get_class_rule() 879 ether_addr_copy(mac_entry->h_source, spec.rem_mac); in ef4_ethtool_get_class_rule() 883 mac_entry->h_proto = spec.ether_type; in ef4_ethtool_get_class_rule() 1029 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in ef4_ethtool_set_class_rule() local 1185 ether_addr_copy(spec.loc_mac, mac_entry->h_dest); in ef4_ethtool_set_class_rule() 1191 ether_addr_copy(spec.rem_mac, mac_entry->h_source); in ef4_ethtool_set_class_rule() 1197 spec.ether_type = mac_entry->h_proto; in ef4_ethtool_set_class_rule()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | ethtool_common.c | 655 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_get_class_rule() local 733 ether_addr_copy(mac_entry->h_dest, spec.loc_mac); in efx_ethtool_get_class_rule() 741 ether_addr_copy(mac_entry->h_source, spec.rem_mac); in efx_ethtool_get_class_rule() 745 mac_entry->h_proto = spec.ether_type; in efx_ethtool_get_class_rule() 928 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_set_class_rule() local 1092 ether_addr_copy(spec.loc_mac, mac_entry->h_dest); in efx_ethtool_set_class_rule() 1098 ether_addr_copy(spec.rem_mac, mac_entry->h_source); in efx_ethtool_set_class_rule() 1104 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | tunnel_conf.c | 1275 struct nfp_tun_offloaded_mac *mac_entry; in nfp_flower_xmit_pre_tun_flow() local 1294 mac_entry = nfp_tunnel_lookup_offloaded_macs(app, in nfp_flower_xmit_pre_tun_flow() 1296 if (!mac_entry) in nfp_flower_xmit_pre_tun_flow() 1304 mac_entry->index |= NFP_TUN_PRE_TUN_IPV6_BIT; in nfp_flower_xmit_pre_tun_flow() 1306 mac_entry->index &= ~NFP_TUN_PRE_TUN_IPV6_BIT; in nfp_flower_xmit_pre_tun_flow() 1308 payload.port_idx = cpu_to_be16(mac_entry->index); in nfp_flower_xmit_pre_tun_flow()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/prism54/ |
| H A D | islpci_dev.h | 37 struct mac_entry { struct
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/hostap/ |
| H A D | hostap_ap.h | 138 struct mac_entry { struct
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_wlfc.c | 2256 rc = _dhd_wlfc_pretx_pktprocess(ctx, commit_info->mac_entry, &commit_info->p, in _dhd_wlfc_handle_packet_commit() 2260 _dhd_wlfc_check_send_order(ctx, commit_info->mac_entry, commit_info->p); in _dhd_wlfc_handle_packet_commit() 2274 if (gen != commit_info->mac_entry->generation) { in _dhd_wlfc_handle_packet_commit() 2276 if (!commit_info->mac_entry->suppressed) { in _dhd_wlfc_handle_packet_commit() 2277 commit_info->mac_entry->suppressed = TRUE; in _dhd_wlfc_handle_packet_commit() 2279 commit_info->mac_entry->suppr_transit_count++; in _dhd_wlfc_handle_packet_commit() 2282 commit_info->mac_entry->suppr_transit_count); in _dhd_wlfc_handle_packet_commit() 2285 commit_info->mac_entry->transit_count++; in _dhd_wlfc_handle_packet_commit() 2286 commit_info->mac_entry->onbus_pkts_count++; in _dhd_wlfc_handle_packet_commit() 3550 commit_info.mac_entry = NULL; in dhd_wlfc_transfer_packets() [all …]
|
| H A D | dhd_wlfc.h | 195 wlfc_mac_descriptor_t* mac_entry; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_wlfc.c | 2259 rc = _dhd_wlfc_pretx_pktprocess(ctx, commit_info->mac_entry, &commit_info->p, in _dhd_wlfc_handle_packet_commit() 2263 _dhd_wlfc_check_send_order(ctx, commit_info->mac_entry, commit_info->p); in _dhd_wlfc_handle_packet_commit() 2277 if (gen != commit_info->mac_entry->generation) { in _dhd_wlfc_handle_packet_commit() 2279 if (!commit_info->mac_entry->suppressed) { in _dhd_wlfc_handle_packet_commit() 2280 commit_info->mac_entry->suppressed = TRUE; in _dhd_wlfc_handle_packet_commit() 2282 commit_info->mac_entry->suppr_transit_count++; in _dhd_wlfc_handle_packet_commit() 2285 commit_info->mac_entry->suppr_transit_count); in _dhd_wlfc_handle_packet_commit() 2288 commit_info->mac_entry->transit_count++; in _dhd_wlfc_handle_packet_commit() 2289 commit_info->mac_entry->onbus_pkts_count++; in _dhd_wlfc_handle_packet_commit() 3553 commit_info.mac_entry = NULL; in dhd_wlfc_transfer_packets() [all …]
|
| H A D | dhd_wlfc.h | 195 wlfc_mac_descriptor_t* mac_entry; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_wlfc.c | 2044 rc = _dhd_wlfc_pretx_pktprocess(ctx, commit_info->mac_entry, &commit_info->p, in _dhd_wlfc_handle_packet_commit() 2058 if (gen != commit_info->mac_entry->generation) { in _dhd_wlfc_handle_packet_commit() 2060 if (!commit_info->mac_entry->suppressed) { in _dhd_wlfc_handle_packet_commit() 2061 commit_info->mac_entry->suppressed = TRUE; in _dhd_wlfc_handle_packet_commit() 2063 commit_info->mac_entry->suppr_transit_count++; in _dhd_wlfc_handle_packet_commit() 2065 commit_info->mac_entry->transit_count++; in _dhd_wlfc_handle_packet_commit() 2066 commit_info->mac_entry->onbus_pkts_count++; in _dhd_wlfc_handle_packet_commit() 3203 commit_info.mac_entry = NULL; in dhd_wlfc_transfer_packets() 3207 &(commit_info.mac_entry), in dhd_wlfc_transfer_packets() 3323 &(commit_info.mac_entry), in dhd_wlfc_transfer_packets()
|
| H A D | dhd_wlfc.h | 175 wlfc_mac_descriptor_t* mac_entry; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_wlfc.c | 2044 rc = _dhd_wlfc_pretx_pktprocess(ctx, commit_info->mac_entry, &commit_info->p, in _dhd_wlfc_handle_packet_commit() 2058 if (gen != commit_info->mac_entry->generation) { in _dhd_wlfc_handle_packet_commit() 2060 if (!commit_info->mac_entry->suppressed) { in _dhd_wlfc_handle_packet_commit() 2061 commit_info->mac_entry->suppressed = TRUE; in _dhd_wlfc_handle_packet_commit() 2063 commit_info->mac_entry->suppr_transit_count++; in _dhd_wlfc_handle_packet_commit() 2065 commit_info->mac_entry->transit_count++; in _dhd_wlfc_handle_packet_commit() 2066 commit_info->mac_entry->onbus_pkts_count++; in _dhd_wlfc_handle_packet_commit() 3203 commit_info.mac_entry = NULL; in dhd_wlfc_transfer_packets() 3207 &(commit_info.mac_entry), in dhd_wlfc_transfer_packets() 3323 &(commit_info.mac_entry), in dhd_wlfc_transfer_packets()
|
| H A D | dhd_wlfc.h | 175 wlfc_mac_descriptor_t* mac_entry; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_wlfc.c | 2047 rc = _dhd_wlfc_pretx_pktprocess(ctx, commit_info->mac_entry, &commit_info->p, in _dhd_wlfc_handle_packet_commit() 2061 if (gen != commit_info->mac_entry->generation) { in _dhd_wlfc_handle_packet_commit() 2063 if (!commit_info->mac_entry->suppressed) { in _dhd_wlfc_handle_packet_commit() 2064 commit_info->mac_entry->suppressed = TRUE; in _dhd_wlfc_handle_packet_commit() 2066 commit_info->mac_entry->suppr_transit_count++; in _dhd_wlfc_handle_packet_commit() 2068 commit_info->mac_entry->transit_count++; in _dhd_wlfc_handle_packet_commit() 2069 commit_info->mac_entry->onbus_pkts_count++; in _dhd_wlfc_handle_packet_commit() 3206 commit_info.mac_entry = NULL; in dhd_wlfc_transfer_packets() 3210 &(commit_info.mac_entry), in dhd_wlfc_transfer_packets() 3326 &(commit_info.mac_entry), in dhd_wlfc_transfer_packets()
|
| H A D | dhd_wlfc.h | 175 wlfc_mac_descriptor_t* mac_entry; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_wlfc.c | 2050 rc = _dhd_wlfc_pretx_pktprocess(ctx, commit_info->mac_entry, &commit_info->p, in _dhd_wlfc_handle_packet_commit() 2064 if (gen != commit_info->mac_entry->generation) { in _dhd_wlfc_handle_packet_commit() 2066 if (!commit_info->mac_entry->suppressed) { in _dhd_wlfc_handle_packet_commit() 2067 commit_info->mac_entry->suppressed = TRUE; in _dhd_wlfc_handle_packet_commit() 2069 commit_info->mac_entry->suppr_transit_count++; in _dhd_wlfc_handle_packet_commit() 2071 commit_info->mac_entry->transit_count++; in _dhd_wlfc_handle_packet_commit() 2072 commit_info->mac_entry->onbus_pkts_count++; in _dhd_wlfc_handle_packet_commit() 3207 commit_info.mac_entry = NULL; in dhd_wlfc_transfer_packets() 3211 &(commit_info.mac_entry), in dhd_wlfc_transfer_packets() 3327 &(commit_info.mac_entry), in dhd_wlfc_transfer_packets()
|
| H A D | dhd_wlfc.h | 185 wlfc_mac_descriptor_t* mac_entry; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/neterion/vxge/ |
| H A D | vxge-main.c | 1130 struct vxge_mac_addrs *mac_entry; in vxge_set_multicast() local 1197 mac_entry = (struct vxge_mac_addrs *)entry; in vxge_set_multicast() 1199 mac_address = (u8 *)&mac_entry->macaddr; in vxge_set_multicast() 1239 mac_entry = (struct vxge_mac_addrs *)entry; in vxge_set_multicast() 1241 mac_address = (u8 *)&mac_entry->macaddr; in vxge_set_multicast()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/emulex/benet/ |
| H A D | be_cmds.c | 3750 struct get_list_macaddr *mac_entry; in be_cmd_get_mac_from_list() local 3754 mac_entry = &resp->macaddr_list[i]; in be_cmd_get_mac_from_list() 3755 mac_addr_size = le16_to_cpu(mac_entry->mac_addr_size); in be_cmd_get_mac_from_list() 3761 mac_id = mac_entry->mac_addr_id.s_mac_id.mac_id; in be_cmd_get_mac_from_list()
|
| /OK3568_Linux_fs/kernel/drivers/net/dsa/mv88e6xxx/ |
| H A D | chip.c | 1747 struct ethhdr *mac_entry = &fs->h_u.ether_spec; in mv88e6xxx_policy_insert() local 1770 addr = mac_entry->h_dest; in mv88e6xxx_policy_insert() 1774 addr = mac_entry->h_source; in mv88e6xxx_policy_insert()
|