/drivers/net/ethernet/chelsio/cxgb4/ |
D | smt.c | 58 eth_zero_addr(s->smtab[i].src_mac); in t4_init_smt() 79 if (memcmp(e->src_mac, smac, ETH_ALEN) == 0) in find_or_alloc_smte() 164 memcpy(req->src_mac1, e->src_mac, ETH_ALEN); in write_smt_entry() 170 memcpy(req->src_mac0, s->smtab[e->idx - 1].src_mac, in write_smt_entry() 174 memcpy(req->src_mac0, e->src_mac, ETH_ALEN); in write_smt_entry() 180 memcpy(req->src_mac1, s->smtab[e->idx + 1].src_mac, in write_smt_entry() 195 memcpy(req->src_mac0, s->smtab[e->idx].src_mac, ETH_ALEN); in write_smt_entry() 223 memcpy(e->src_mac, smac, ETH_ALEN); in t4_smt_alloc_switching()
|
D | smt.h | 61 u8 src_mac[ETH_ALEN]; member
|
/drivers/net/ethernet/mediatek/ |
D | mtk_ppe.c | 160 int type, int l4proto, u8 pse_port, u8 *src_mac, in mtk_foe_entry_prepare() argument 199 ether_addr_copy(entry->bridge.src_mac, src_mac); in mtk_foe_entry_prepare() 213 l2->src_mac_hi = get_unaligned_be32(src_mac); in mtk_foe_entry_prepare() 214 l2->src_mac_lo = get_unaligned_be16(src_mac + 4); in mtk_foe_entry_prepare() 673 ether_addr_copy(key.src_mac, eh->h_source); in __mtk_ppe_check_skb()
|
D | mtk_ppe.h | 112 u8 src_mac[ETH_ALEN]; member 333 int type, int l4proto, u8 pse_port, u8 *src_mac,
|
/drivers/infiniband/hw/bnxt_re/ |
D | qplib_sp.c | 344 req.src_mac[0] = cpu_to_be16(((u16 *)smac)[0]); in bnxt_qplib_add_sgid() 345 req.src_mac[1] = cpu_to_be16(((u16 *)smac)[1]); in bnxt_qplib_add_sgid() 346 req.src_mac[2] = cpu_to_be16(((u16 *)smac)[2]); in bnxt_qplib_add_sgid() 396 req.src_mac[0] = cpu_to_be16(((u16 *)smac)[0]); in bnxt_qplib_update_sgid() 397 req.src_mac[1] = cpu_to_be16(((u16 *)smac)[1]); in bnxt_qplib_update_sgid() 398 req.src_mac[2] = cpu_to_be16(((u16 *)smac)[2]); in bnxt_qplib_update_sgid()
|
D | roce_hsi.h | 652 __le16 src_mac[3]; member 1309 __le16 src_mac[3]; member 1608 __be16 src_mac[3]; member 1658 __be16 src_mac[3]; member 2334 __le16 src_mac[3]; member 2660 __le16 src_mac[3]; member
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_fcoe.c | 932 con->src_mac_addr_hi = (conn_info->src_mac[5] << 8) | in qed_fcoe_offload_conn() 933 conn_info->src_mac[4]; in qed_fcoe_offload_conn() 934 con->src_mac_addr_mid = (conn_info->src_mac[3] << 8) | in qed_fcoe_offload_conn() 935 conn_info->src_mac[2]; in qed_fcoe_offload_conn() 936 con->src_mac_addr_lo = (conn_info->src_mac[1] << 8) | in qed_fcoe_offload_conn() 937 conn_info->src_mac[0]; in qed_fcoe_offload_conn()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_vfr.c | 448 static void bnxt_vf_rep_eth_addr_gen(u8 *src_mac, u16 vf_idx, u8 *mac) in bnxt_vf_rep_eth_addr_gen() argument 452 ether_addr_copy(mac, src_mac); in bnxt_vf_rep_eth_addr_gen() 454 addr = jhash(src_mac, ETH_ALEN, 0) + vf_idx; in bnxt_vf_rep_eth_addr_gen()
|
/drivers/net/ethernet/intel/ice/ |
D | ice_tc_lib.h | 65 u8 src_mac[ETH_ALEN]; member
|
D | ice_fdir.h | 151 u8 src_mac[ETH_ALEN]; /* src MAC address */ member
|
D | ice_tc_lib.c | 384 l2_key->src_mac); in ice_tc_fill_rules() 386 l2_mask->src_mac); in ice_tc_fill_rules() 1286 ether_addr_copy(headers->l2_key.src_mac, in ice_parse_cls_flower() 1288 ether_addr_copy(headers->l2_mask.src_mac, in ice_parse_cls_flower()
|
D | ice_fdir.c | 968 input->ext_data.src_mac); in ice_fdir_get_gen_prgm_pkt()
|
/drivers/scsi/qedi/ |
D | qedi_iscsi.h | 72 u8 src_mac[ETH_ALEN]; member
|
D | qedi_iscsi.c | 515 ether_addr_copy(conn_info->src.mac, qedi_ep->src_mac); in qedi_iscsi_offload_conn() 1316 ether_addr_copy(&qedi_ep->src_mac[0], &qedi->mac[0]); in qedi_set_path()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 3585 if (mask.src_mac[0] & data.src_mac[0]) { in i40e_validate_cloud_filter() 3586 if (is_broadcast_ether_addr(data.src_mac) || in i40e_validate_cloud_filter() 3587 is_zero_ether_addr(data.src_mac)) { in i40e_validate_cloud_filter() 3589 vf->vf_id, data.src_mac); in i40e_validate_cloud_filter() 3738 cfilter.src_mac[i] = mask.src_mac[i] & tcf.src_mac[i]; in i40e_vc_del_cloud_filter() 3797 if (!ether_addr_equal(cf->src_mac, cfilter.src_mac)) in i40e_vc_del_cloud_filter() 3874 cfilter->src_mac[i] = mask.src_mac[i] & tcf.src_mac[i]; in i40e_vc_add_cloud_filter()
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_defs_cna.h | 181 u8 src_mac[ETH_ALEN]; member
|
/drivers/net/ethernet/via/ |
D | via-velocity.h | 1198 u8 src_mac[ETH_ALEN]; member 1213 u8 src_mac[6]; member
|
/drivers/net/ethernet/freescale/enetc/ |
D | enetc_qos.c | 360 u8 src_mac[6]; member 532 ether_addr_copy(si_data->smac, sid->src_mac); in enetc_streamid_hw_set() 1136 ether_addr_copy(filter->sid.src_mac, match.key->src); in enetc_psfp_parse_clsflower()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | cpl5_cmd.h | 230 u8 src_mac[6]; member
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | mcg.c | 850 memcpy(rule_hw->eth.src_mac, spec->eth.src_mac, ETH_ALEN); in parse_trans_rule()
|
/drivers/net/ethernet/rocker/ |
D | rocker_ofdpa.c | 1197 u32 index, const u8 *src_mac, const u8 *dst_mac, in ofdpa_group_l3_unicast() argument 1207 if (src_mac) in ofdpa_group_l3_unicast() 1208 ether_addr_copy(entry->l3_unicast.eth_src, src_mac); in ofdpa_group_l3_unicast()
|
/drivers/net/vxlan/ |
D | vxlan_core.c | 1489 union vxlan_addr *src_ip, const u8 *src_mac, in vxlan_snoop() argument 1502 f = vxlan_find_mac(vxlan, src_mac, vni); in vxlan_snoop() 1521 src_mac, &rdst->remote_ip.sa, &src_ip->sa); in vxlan_snoop() 1527 u32 hash_index = fdb_head_index(vxlan, src_mac, vni); in vxlan_snoop() 1534 vxlan_fdb_update(vxlan, src_mac, src_ip, in vxlan_snoop()
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.h | 696 u8 src_mac[ETH_ALEN]; member
|
/drivers/s390/net/ |
D | qeth_core.h | 242 u8 src_mac[6]; member
|
/drivers/net/ethernet/intel/iavf/ |
D | iavf_virtchnl.c | 1580 &f->data.tcp_spec.src_mac, in iavf_print_cloud_filter() 1590 &f->data.tcp_spec.src_mac, in iavf_print_cloud_filter()
|