Home
last modified time | relevance | path

Searched refs:src_mac (Results 1 – 25 of 38) sorted by relevance

12

/drivers/net/ethernet/chelsio/cxgb4/
Dsmt.c58 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()
Dsmt.h61 u8 src_mac[ETH_ALEN]; member
/drivers/net/ethernet/mediatek/
Dmtk_ppe.c160 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()
Dmtk_ppe.h112 u8 src_mac[ETH_ALEN]; member
333 int type, int l4proto, u8 pse_port, u8 *src_mac,
/drivers/infiniband/hw/bnxt_re/
Dqplib_sp.c344 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()
Droce_hsi.h652 __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/
Dqed_fcoe.c932 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/
Dbnxt_vfr.c448 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/
Dice_tc_lib.h65 u8 src_mac[ETH_ALEN]; member
Dice_fdir.h151 u8 src_mac[ETH_ALEN]; /* src MAC address */ member
Dice_tc_lib.c384 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()
Dice_fdir.c968 input->ext_data.src_mac); in ice_fdir_get_gen_prgm_pkt()
/drivers/scsi/qedi/
Dqedi_iscsi.h72 u8 src_mac[ETH_ALEN]; member
Dqedi_iscsi.c515 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/
Di40e_virtchnl_pf.c3585 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/
Dbfa_defs_cna.h181 u8 src_mac[ETH_ALEN]; member
/drivers/net/ethernet/via/
Dvia-velocity.h1198 u8 src_mac[ETH_ALEN]; member
1213 u8 src_mac[6]; member
/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c360 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/
Dcpl5_cmd.h230 u8 src_mac[6]; member
/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c850 memcpy(rule_hw->eth.src_mac, spec->eth.src_mac, ETH_ALEN); in parse_trans_rule()
/drivers/net/ethernet/rocker/
Drocker_ofdpa.c1197 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/
Dvxlan_core.c1489 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/
Dhclge_main.h696 u8 src_mac[ETH_ALEN]; member
/drivers/s390/net/
Dqeth_core.h242 u8 src_mac[6]; member
/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c1580 &f->data.tcp_spec.src_mac, in iavf_print_cloud_filter()
1590 &f->data.tcp_spec.src_mac, in iavf_print_cloud_filter()

12