Searched refs:smac (Results 1 - 25 of 75) sorted by last modified time

123

/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.c291 MLXSW_ITEM_BUF(emad, eth_hdr, smac, 0x06, 6);
H A Dreg.h10033 const char *smac,
10037 mlxsw_reg_mpat_eth_rspan_smac_memcpy_to(payload, smac);
10046 const char *smac,
10050 mlxsw_reg_mpat_eth_rspan_smac_memcpy_to(payload, smac);
10032 mlxsw_reg_mpat_eth_rspan_l3_ipv4_pack(char *payload, u8 ttl, const char *smac, u32 sip, u32 dip) argument
10045 mlxsw_reg_mpat_eth_rspan_l3_ipv6_pack(char *payload, u8 ttl, const char *smac, struct in6_addr sip, struct in6_addr dip) argument
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.h1530 unsigned char smac[6]; member in struct:flow_msg
H A Drvu_npc_fs.c18 [NPC_SMAC] = "smac",
910 u64 smac_mask = ether_addr_to_u64(mask->smac);
912 u64 smac_val = ether_addr_to_u64(pkt->smac);
962 NPC_WRITE_FLOW(NPC_SMAC, smac, smac_val, 0, smac_mask, 0);
H A Drvu_debugfs.c2816 seq_printf(s, "%pM ", rule->packet.smac);
2817 seq_printf(s, "mask %pM\n", rule->mask.smac);
/linux-master/include/rdma/
H A Dib_verbs.h1035 u8 smac[ETH_ALEN]; member in struct:ib_wc
/linux-master/drivers/infiniband/hw/irdma/
H A Dverbs.c3700 ether_addr_copy(entry->smac, cq_poll_info->ud_smac);
H A Dutils.c1479 ether_addr_copy(ah_info->mac_addr, buf->smac);
1640 ether_addr_copy(buf->smac, info->smac);
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.h668 u8 smac[4]; member in struct:hns_roce_v2_cqe
H A Dhns_roce_hw_v2.c4488 const u8 *smac; local
4544 smac = (const u8 *)hr_dev->dev_addr[port];
4546 /* when dmac equals smac or loop_idc is 1, it should loopback */
4547 if (ether_addr_equal_unaligned(dmac, smac) ||
/linux-master/tools/include/uapi/linux/
H A Dbpf.h3366 * or ipv6_dst based on family, smac is set to mac address of
3387 * and *params*->smac will not be set as output. A common
3394 * case, *params*->dmac and *params*->smac are not set either.
7198 __u8 smac[6]; /* ETH_ALEN */ member in struct:bpf_fib_lookup
/linux-master/net/dsa/
H A Dtag_sja1105.c127 u64 smac = ether_addr_to_u64(hdr->h_source); local
130 if (smac != SJA1105_META_SMAC)
/linux-master/net/core/
H A Dfilter.c5960 memcpy(params->smac, dev->dev_addr, ETH_ALEN);
6099 memcpy(params->smac, dev->dev_addr, ETH_ALEN);
/linux-master/include/uapi/linux/
H A Dbpf.h3366 * or ipv6_dst based on family, smac is set to mac address of
3387 * and *params*->smac will not be set as output. A common
3394 * case, *params*->dmac and *params*->smac are not set either.
7198 __u8 smac[6]; /* ETH_ALEN */ member in struct:bpf_fib_lookup
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c280 dst = attrs->smac;
284 src = attrs->smac;
594 ether_addr_copy(attrs->smac, data->addr);
H A Dipsec.h105 u8 smac[ETH_ALEN]; member in union:mlx5_accel_esp_xfrm_attrs::__anon694
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c1454 memcpy(qp->smac, sb->src_mac, 6);
2693 memcpy(cqe->smac, hwcqe->src_mac, ETH_ALEN);
2798 memcpy(cqe->smac, qp->smac, 6);
H A Dib_verbs.c1147 ether_addr_copy(qp->qplib_qp.smac, rdev->netdev->dev_addr);
1367 ether_addr_copy(qplqp->smac, rdev->netdev->dev_addr);
2039 &qp->qplib_qp.smac[0]);
2306 ether_addr_copy(qp->qp1_hdr.eth.smac_h, qp->qplib_qp.smac);
3586 memcpy(wc->smac, orig_cqe->smac, ETH_ALEN);
3626 memcpy(wc->smac, cqe->smac, ETH_ALEN);
3731 memcpy(wc->smac, cqe->smac, ETH_ALE
[all...]
H A Dqplib_sp.c289 struct bnxt_qplib_gid *gid, const u8 *smac,
351 req.src_mac[0] = cpu_to_be16(((u16 *)smac)[0]);
352 req.src_mac[1] = cpu_to_be16(((u16 *)smac)[1]);
353 req.src_mac[2] = cpu_to_be16(((u16 *)smac)[2]);
380 const u8 *smac)
406 req.src_mac[0] = cpu_to_be16(((u16 *)smac)[0]);
407 req.src_mac[1] = cpu_to_be16(((u16 *)smac)[1]);
408 req.src_mac[2] = cpu_to_be16(((u16 *)smac)[2]);
288 bnxt_qplib_add_sgid(struct bnxt_qplib_sgid_tbl *sgid_tbl, struct bnxt_qplib_gid *gid, const u8 *smac, u16 vlan_id, bool update, u32 *index) argument
378 bnxt_qplib_update_sgid(struct bnxt_qplib_sgid_tbl *sgid_tbl, struct bnxt_qplib_gid *gid, u16 gid_idx, const u8 *smac) argument
H A Dqplib_fp.h298 u8 smac[6]; member in struct:bnxt_qplib_qp
398 u8 smac[6]; member in struct:bnxt_qplib_cqe
/linux-master/tools/testing/selftests/net/
H A Dtest_bridge_backup_port.sh248 local smac=00:aa:bb:cc:dd:ee
255 run_cmd "tc -n $sw1 filter replace dev swp1 egress pref 1 handle 101 proto ip flower src_mac $smac dst_mac $dmac action pass"
258 run_cmd "tc -n $sw1 filter replace dev vx0 egress pref 1 handle 101 proto ip flower src_mac $smac dst_mac $dmac action pass"
265 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t ip -p 100 -q -c 1"
275 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t ip -p 100 -q -c 1"
292 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t ip -p 100 -q -c 1"
302 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t ip -p 100 -q -c 1"
312 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t ip -p 100 -q -c 1"
324 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac -b $dmac -A 198.51.100.1 -B 198.51.100.2 -t ip -p 100 -q -c 1"
334 run_cmd "ip netns exec $sw1 mausezahn br0.10 -a $smac
[all...]
H A Dtest_vxlan_nolocalbypass.sh120 local smac=00:01:02:03:04:05
126 run_cmd "tc -n $ns1 filter add dev vx1 ingress pref 1 handle 101 proto all flower src_mac $smac dst_mac $dmac action pass"
134 run_cmd "ip netns exec $ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q"
144 run_cmd "ip netns exec $ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q"
154 run_cmd "ip netns exec $ns1 mausezahn vx0 -a $smac -b $dmac -c 1 -p 100 -q"
H A Dgro.c89 static char *smac = "aa:00:00:00:00:02"; variable
1115 { "smac", required_argument, NULL, 'S' },
1148 smac = optarg;
1177 read_MAC(src_mac, smac);
/linux-master/tools/testing/selftests/net/forwarding/
H A Dtc_flower_l2_miss.sh301 local smac=00:01:02:03:04:05
306 flower l2_miss 1 dst_mac $dmac src_mac $smac \
309 flower l2_miss 0 dst_mac $dmac src_mac $smac \
312 $MZ $h1 -a $smac -b $dmac -c 1 -p 100 -q
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hsi.h8011 __be16 smac[3]; member in struct:hwrm_cfa_flow_alloc_input

Completed in 725 milliseconds

123