Home
last modified time | relevance | path

Searched refs:loc_mac (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/sfc/falcon/
Dfilter.h136 u8 loc_mac[ETH_ALEN]; member
243 ether_addr_copy(spec->loc_mac, addr); in ef4_filter_set_eth_local()
265 spec->loc_mac[0] = 1; in ef4_filter_set_mc_def()
Dfarch.c2037 spec->data[1] = (gen_spec->loc_mac[2] << 24 | in ef4_farch_filter_from_gen_spec()
2038 gen_spec->loc_mac[3] << 16 | in ef4_farch_filter_from_gen_spec()
2039 gen_spec->loc_mac[4] << 8 | in ef4_farch_filter_from_gen_spec()
2040 gen_spec->loc_mac[5]); in ef4_farch_filter_from_gen_spec()
2041 spec->data[2] = (gen_spec->loc_mac[0] << 8 | in ef4_farch_filter_from_gen_spec()
2042 gen_spec->loc_mac[1]); in ef4_farch_filter_from_gen_spec()
2046 spec->type = (is_multicast_ether_addr(gen_spec->loc_mac) ? in ef4_farch_filter_from_gen_spec()
2128 gen_spec->loc_mac[0] = spec->data[2] >> 8; in ef4_farch_filter_to_gen_spec()
2129 gen_spec->loc_mac[1] = spec->data[2]; in ef4_farch_filter_to_gen_spec()
2130 gen_spec->loc_mac[2] = spec->data[1] >> 24; in ef4_farch_filter_to_gen_spec()
[all …]
Dethtool.c871 ether_addr_copy(mac_entry->h_dest, spec.loc_mac); in ef4_ethtool_get_class_rule()
1185 ether_addr_copy(spec.loc_mac, mac_entry->h_dest); in ef4_ethtool_set_class_rule()
Drx.c954 is_multicast_ether_addr(spec->loc_mac)) in ef4_filter_is_mc_recipient()
/Linux-v5.10/drivers/net/ethernet/sfc/
Dfilter.h162 u8 loc_mac[ETH_ALEN]; member
269 ether_addr_copy(spec->loc_mac, addr); in efx_filter_set_eth_local()
291 spec->loc_mac[0] = 1; in efx_filter_set_mc_def()
Dfarch.c2103 spec->data[1] = (gen_spec->loc_mac[2] << 24 | in efx_farch_filter_from_gen_spec()
2104 gen_spec->loc_mac[3] << 16 | in efx_farch_filter_from_gen_spec()
2105 gen_spec->loc_mac[4] << 8 | in efx_farch_filter_from_gen_spec()
2106 gen_spec->loc_mac[5]); in efx_farch_filter_from_gen_spec()
2107 spec->data[2] = (gen_spec->loc_mac[0] << 8 | in efx_farch_filter_from_gen_spec()
2108 gen_spec->loc_mac[1]); in efx_farch_filter_from_gen_spec()
2112 spec->type = (is_multicast_ether_addr(gen_spec->loc_mac) ? in efx_farch_filter_from_gen_spec()
2194 gen_spec->loc_mac[0] = spec->data[2] >> 8; in efx_farch_filter_to_gen_spec()
2195 gen_spec->loc_mac[1] = spec->data[2]; in efx_farch_filter_to_gen_spec()
2196 gen_spec->loc_mac[2] = spec->data[1] >> 24; in efx_farch_filter_to_gen_spec()
[all …]
Dmcdi_filters.c66 !is_multicast_ether_addr(spec->loc_mac)) in efx_mcdi_filter_is_exclusive()
175 is_multicast_ether_addr(spec->loc_mac) ? in efx_mcdi_filter_push_prep_set_match_fields()
182 COPY_FIELD(LOC_MAC, loc_mac, DST_MAC); in efx_mcdi_filter_push_prep_set_match_fields()
314 is_multicast_ether_addr(spec->loc_mac) ? in efx_mcdi_filter_mcdi_flags_from_spec()
Dethtool_common.c739 ether_addr_copy(mac_entry->h_dest, spec.loc_mac); in efx_ethtool_get_class_rule()
1098 ether_addr_copy(spec.loc_mac, mac_entry->h_dest); in efx_ethtool_set_class_rule()
Drx_common.c643 is_multicast_ether_addr(spec->loc_mac)) in efx_filter_is_mc_recipient()
/Linux-v5.10/drivers/infiniband/hw/i40iw/
Di40iw_cm.h290 u8 loc_mac[ETH_ALEN]; member
320 u8 loc_mac[ETH_ALEN]; member
Di40iw_cm.c435 ether_addr_copy(ethh->h_source, cm_node->loc_mac); in i40iw_form_cm_frame()
465 ether_addr_copy(ethh->h_source, cm_node->loc_mac); in i40iw_form_cm_frame()
2201 ether_addr_copy(cm_node->loc_mac, netdev->dev_addr); in i40iw_make_cm_node()