Lines Matching refs:acl_m
17 struct dpsw_acl_fields *acl_h, *acl_m; in dpaa2_switch_flower_parse_key() local
34 acl_m = &acl_key->mask; in dpaa2_switch_flower_parse_key()
45 acl_m->l3_protocol = match.mask->ip_proto; in dpaa2_switch_flower_parse_key()
46 acl_m->l2_ether_type = be16_to_cpu(match.mask->n_proto); in dpaa2_switch_flower_parse_key()
55 ether_addr_copy(acl_m->l2_dest_mac, &match.mask->dst[0]); in dpaa2_switch_flower_parse_key()
56 ether_addr_copy(acl_m->l2_source_mac, &match.mask->src[0]); in dpaa2_switch_flower_parse_key()
68 acl_m->l2_vlan_id = match.mask->vlan_id; in dpaa2_switch_flower_parse_key()
69 acl_m->l2_tpid = be16_to_cpu(match.mask->vlan_tpid); in dpaa2_switch_flower_parse_key()
70 acl_m->l2_pcp_dei = match.mask->vlan_priority << 1 | in dpaa2_switch_flower_parse_key()
80 acl_m->l3_source_ip = be32_to_cpu(match.mask->src); in dpaa2_switch_flower_parse_key()
81 acl_m->l3_dest_ip = be32_to_cpu(match.mask->dst); in dpaa2_switch_flower_parse_key()
90 acl_m->l4_source_port = be16_to_cpu(match.mask->src); in dpaa2_switch_flower_parse_key()
91 acl_m->l4_dest_port = be16_to_cpu(match.mask->dst); in dpaa2_switch_flower_parse_key()
111 acl_m->l3_dscp = match.mask->tos >> 2; in dpaa2_switch_flower_parse_key()