Home
last modified time | relevance | path

Searched refs:mac_entry (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_mac.c209 mac_entry = kzalloc(sizeof(*mac_entry), GFP_ATOMIC); in lan966x_mac_alloc_entry()
210 if (!mac_entry) in lan966x_mac_alloc_entry()
218 return mac_entry; in lan966x_mac_alloc_entry()
232 res = mac_entry; in lan966x_mac_find_entry()
291 if (mac_entry) { in lan966x_mac_add_entry()
297 if (!mac_entry) { in lan966x_mac_add_entry()
352 mac_entry->mac, mac_entry->vid, in lan966x_mac_lag_replace_port_entry()
392 kfree(mac_entry); in lan966x_mac_purge_entries()
481 mac_entry->mac, mac_entry->vid, in lan966x_mac_irq_process()
484 kfree(mac_entry); in lan966x_mac_irq_process()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns/
A Dhns_dsaf_mac.c282 memcpy(mac_entry.addr, addr, sizeof(mac_entry.addr)); in hns_mac_change_vf_addr()
286 &mac_entry.port_num); in hns_mac_change_vf_addr()
324 memset(&mac_entry, 0, sizeof(mac_entry)); in hns_mac_add_uc_addr()
325 memcpy(mac_entry.addr, addr, sizeof(mac_entry.addr)); in hns_mac_add_uc_addr()
344 memset(&mac_entry, 0, sizeof(mac_entry)); in hns_mac_rm_uc_addr()
345 memcpy(mac_entry.addr, addr, sizeof(mac_entry.addr)); in hns_mac_rm_uc_addr()
362 memcpy(mac_entry.addr, addr, sizeof(mac_entry.addr)); in hns_mac_set_multi()
365 mac_entry.port_num = port_num; in hns_mac_set_multi()
426 mac_entry.in_vlan_id = vlan_id; in hns_mac_port_config_bc_en()
428 mac_entry.port_num = port_num; in hns_mac_port_config_bc_en()
[all …]
A Dhns_dsaf_main.c1635 mac_entry->in_port_num, mac_entry->addr); in hns_dsaf_set_mac_uc_entry()
1695 mac_entry->in_port_num, mac_entry->addr); in hns_dsaf_rm_mac_addr()
1724 mac_entry->addr); in hns_dsaf_rm_mac_addr()
1768 mac_entry->addr); in hns_dsaf_add_mac_mc_port()
1818 mskid = mac_entry->port_num; in hns_dsaf_add_mac_mc_port()
1820 mskid = mac_entry->port_num - in hns_dsaf_add_mac_mc_port()
1927 if (!(void *)mac_entry) { in hns_dsaf_del_mac_mc_port()
1936 mac_entry->addr); in hns_dsaf_del_mac_mc_port()
1985 mskid = mac_entry->port_num; in hns_dsaf_del_mac_mc_port()
1987 mskid = mac_entry->port_num - in hns_dsaf_del_mac_mc_port()
[all …]
A Dhns_dsaf_main.h429 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/drivers/net/ethernet/sfc/siena/
A Dethtool_common.c656 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_get_class_rule() local
734 ether_addr_copy(mac_entry->h_dest, spec.loc_mac); in efx_ethtool_get_class_rule()
742 ether_addr_copy(mac_entry->h_source, spec.rem_mac); in efx_ethtool_get_class_rule()
746 mac_entry->h_proto = spec.ether_type; in efx_ethtool_get_class_rule()
917 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_set_class_rule() local
1081 ether_addr_copy(spec.loc_mac, mac_entry->h_dest); in efx_ethtool_set_class_rule()
1087 ether_addr_copy(spec.rem_mac, mac_entry->h_source); in efx_ethtool_set_class_rule()
1093 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
/linux/drivers/net/ethernet/sfc/
A Dethtool_common.c656 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_get_class_rule() local
734 ether_addr_copy(mac_entry->h_dest, spec.loc_mac); in efx_ethtool_get_class_rule()
742 ether_addr_copy(mac_entry->h_source, spec.rem_mac); in efx_ethtool_get_class_rule()
746 mac_entry->h_proto = spec.ether_type; in efx_ethtool_get_class_rule()
929 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in efx_ethtool_set_class_rule() local
1093 ether_addr_copy(spec.loc_mac, mac_entry->h_dest); in efx_ethtool_set_class_rule()
1099 ether_addr_copy(spec.rem_mac, mac_entry->h_source); in efx_ethtool_set_class_rule()
1105 spec.ether_type = mac_entry->h_proto; in efx_ethtool_set_class_rule()
/linux/drivers/net/ethernet/sfc/falcon/
A Dethtool.c803 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in ef4_ethtool_get_class_rule() local
881 ether_addr_copy(mac_entry->h_dest, spec.loc_mac); in ef4_ethtool_get_class_rule()
889 ether_addr_copy(mac_entry->h_source, spec.rem_mac); in ef4_ethtool_get_class_rule()
893 mac_entry->h_proto = spec.ether_type; in ef4_ethtool_get_class_rule()
1039 struct ethhdr *mac_entry = &rule->h_u.ether_spec; in ef4_ethtool_set_class_rule() local
1195 ether_addr_copy(spec.loc_mac, mac_entry->h_dest); in ef4_ethtool_set_class_rule()
1201 ether_addr_copy(spec.rem_mac, mac_entry->h_source); in ef4_ethtool_set_class_rule()
1207 spec.ether_type = mac_entry->h_proto; in ef4_ethtool_set_class_rule()
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dtunnel_conf.c1432 struct nfp_tun_offloaded_mac *mac_entry; in nfp_flower_xmit_pre_tun_flow() local
1451 mac_entry = nfp_tunnel_lookup_offloaded_macs(app, in nfp_flower_xmit_pre_tun_flow()
1453 if (!mac_entry) in nfp_flower_xmit_pre_tun_flow()
1461 mac_entry->index |= NFP_TUN_PRE_TUN_IPV6_BIT; in nfp_flower_xmit_pre_tun_flow()
1463 mac_entry->index &= ~NFP_TUN_PRE_TUN_IPV6_BIT; in nfp_flower_xmit_pre_tun_flow()
1465 payload.port_idx = cpu_to_be16(mac_entry->index); in nfp_flower_xmit_pre_tun_flow()
/linux/drivers/net/ethernet/emulex/benet/
A Dbe_cmds.c3751 struct get_list_macaddr *mac_entry; in be_cmd_get_mac_from_list() local
3755 mac_entry = &resp->macaddr_list[i]; in be_cmd_get_mac_from_list()
3756 mac_addr_size = le16_to_cpu(mac_entry->mac_addr_size); in be_cmd_get_mac_from_list()
3762 mac_id = mac_entry->mac_addr_id.s_mac_id.mac_id; in be_cmd_get_mac_from_list()
/linux/drivers/net/dsa/mv88e6xxx/
A Dchip.c2376 struct ethhdr *mac_entry = &fs->h_u.ether_spec; in mv88e6xxx_policy_insert() local
2399 addr = mac_entry->h_dest; in mv88e6xxx_policy_insert()
2403 addr = mac_entry->h_source; in mv88e6xxx_policy_insert()

Completed in 57 milliseconds