Home
last modified time | relevance | path

Searched refs:acl_m (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch-flower.c17 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()
42 acl_m->l3_protocol = match.mask->ip_proto; in dpaa2_switch_flower_parse_key()
65 acl_m->l2_vlan_id = match.mask->vlan_id; in dpaa2_switch_flower_parse_key()
66 acl_m->l2_tpid = be16_to_cpu(match.mask->vlan_tpid); in dpaa2_switch_flower_parse_key()
67 acl_m->l2_pcp_dei = match.mask->vlan_priority << 1 | in dpaa2_switch_flower_parse_key()
77 acl_m->l3_source_ip = be32_to_cpu(match.mask->src); in dpaa2_switch_flower_parse_key()
78 acl_m->l3_dest_ip = be32_to_cpu(match.mask->dst); in dpaa2_switch_flower_parse_key()
87 acl_m->l4_source_port = be16_to_cpu(match.mask->src); in dpaa2_switch_flower_parse_key()
88 acl_m->l4_dest_port = be16_to_cpu(match.mask->dst); in dpaa2_switch_flower_parse_key()
[all …]