Lines Matching refs:acl_h
17 struct dpsw_acl_fields *acl_h, *acl_m; in dpaa2_switch_flower_parse_key() local
33 acl_h = &acl_key->match; in dpaa2_switch_flower_parse_key()
40 acl_h->l3_protocol = match.key->ip_proto; in dpaa2_switch_flower_parse_key()
41 acl_h->l2_ether_type = be16_to_cpu(match.key->n_proto); in dpaa2_switch_flower_parse_key()
50 ether_addr_copy(acl_h->l2_dest_mac, &match.key->dst[0]); in dpaa2_switch_flower_parse_key()
51 ether_addr_copy(acl_h->l2_source_mac, &match.key->src[0]); in dpaa2_switch_flower_parse_key()
60 acl_h->l2_vlan_id = match.key->vlan_id; in dpaa2_switch_flower_parse_key()
61 acl_h->l2_tpid = be16_to_cpu(match.key->vlan_tpid); in dpaa2_switch_flower_parse_key()
62 acl_h->l2_pcp_dei = match.key->vlan_priority << 1 | in dpaa2_switch_flower_parse_key()
75 acl_h->l3_source_ip = be32_to_cpu(match.key->src); in dpaa2_switch_flower_parse_key()
76 acl_h->l3_dest_ip = be32_to_cpu(match.key->dst); in dpaa2_switch_flower_parse_key()
85 acl_h->l4_source_port = be16_to_cpu(match.key->src); in dpaa2_switch_flower_parse_key()
86 acl_h->l4_dest_port = be16_to_cpu(match.key->dst); in dpaa2_switch_flower_parse_key()
107 acl_h->l3_dscp = match.key->tos >> 2; in dpaa2_switch_flower_parse_key()