Lines Matching refs:eth
846 memcpy(rule_hw->eth.dst_mac, spec->eth.dst_mac, ETH_ALEN); in parse_trans_rule()
847 memcpy(rule_hw->eth.dst_mac_msk, spec->eth.dst_mac_msk, in parse_trans_rule()
849 memcpy(rule_hw->eth.src_mac, spec->eth.src_mac, ETH_ALEN); in parse_trans_rule()
850 memcpy(rule_hw->eth.src_mac_msk, spec->eth.src_mac_msk, in parse_trans_rule()
852 if (spec->eth.ether_type_enable) { in parse_trans_rule()
853 rule_hw->eth.ether_type_enable = 1; in parse_trans_rule()
854 rule_hw->eth.ether_type = spec->eth.ether_type; in parse_trans_rule()
856 rule_hw->eth.vlan_tag = spec->eth.vlan_id; in parse_trans_rule()
857 rule_hw->eth.vlan_tag_msk = spec->eth.vlan_id_msk; in parse_trans_rule()
916 "dmac = %pM ", &cur->eth.dst_mac); in mlx4_err_rule()
917 if (cur->eth.ether_type) in mlx4_err_rule()
920 be16_to_cpu(cur->eth.ether_type)); in mlx4_err_rule()
921 if (cur->eth.vlan_id) in mlx4_err_rule()
924 be16_to_cpu(cur->eth.vlan_id)); in mlx4_err_rule()
1065 memcpy(spec_eth_outer.eth.dst_mac, addr, ETH_ALEN); in mlx4_tunnel_steer_add()
1066 memcpy(spec_eth_outer.eth.dst_mac_msk, &mac_mask, ETH_ALEN); in mlx4_tunnel_steer_add()
1383 memcpy(spec.eth.dst_mac, &gid[10], ETH_ALEN); in mlx4_trans_to_dmfs_attach()
1384 memcpy(spec.eth.dst_mac_msk, &mac_mask, ETH_ALEN); in mlx4_trans_to_dmfs_attach()