Lines Matching refs:ext_params
1481 struct dpsw_prep_acl_entry *ext_params; in dpsw_acl_prepare_entry_cfg() local
1484 ext_params = (struct dpsw_prep_acl_entry *)entry_cfg_buf; in dpsw_acl_prepare_entry_cfg()
1487 ext_params->match_l2_dest_mac[i] = key->match.l2_dest_mac[5 - i]; in dpsw_acl_prepare_entry_cfg()
1488 ext_params->match_l2_source_mac[i] = key->match.l2_source_mac[5 - i]; in dpsw_acl_prepare_entry_cfg()
1489 ext_params->mask_l2_dest_mac[i] = key->mask.l2_dest_mac[5 - i]; in dpsw_acl_prepare_entry_cfg()
1490 ext_params->mask_l2_source_mac[i] = key->mask.l2_source_mac[5 - i]; in dpsw_acl_prepare_entry_cfg()
1493 ext_params->match_l2_tpid = cpu_to_le16(key->match.l2_tpid); in dpsw_acl_prepare_entry_cfg()
1494 ext_params->match_l2_vlan_id = cpu_to_le16(key->match.l2_vlan_id); in dpsw_acl_prepare_entry_cfg()
1495 ext_params->match_l3_dest_ip = cpu_to_le32(key->match.l3_dest_ip); in dpsw_acl_prepare_entry_cfg()
1496 ext_params->match_l3_source_ip = cpu_to_le32(key->match.l3_source_ip); in dpsw_acl_prepare_entry_cfg()
1497 ext_params->match_l4_dest_port = cpu_to_le16(key->match.l4_dest_port); in dpsw_acl_prepare_entry_cfg()
1498 ext_params->match_l4_source_port = cpu_to_le16(key->match.l4_source_port); in dpsw_acl_prepare_entry_cfg()
1499 ext_params->match_l2_ether_type = cpu_to_le16(key->match.l2_ether_type); in dpsw_acl_prepare_entry_cfg()
1500 ext_params->match_l2_pcp_dei = key->match.l2_pcp_dei; in dpsw_acl_prepare_entry_cfg()
1501 ext_params->match_l3_dscp = key->match.l3_dscp; in dpsw_acl_prepare_entry_cfg()
1503 ext_params->mask_l2_tpid = cpu_to_le16(key->mask.l2_tpid); in dpsw_acl_prepare_entry_cfg()
1504 ext_params->mask_l2_vlan_id = cpu_to_le16(key->mask.l2_vlan_id); in dpsw_acl_prepare_entry_cfg()
1505 ext_params->mask_l3_dest_ip = cpu_to_le32(key->mask.l3_dest_ip); in dpsw_acl_prepare_entry_cfg()
1506 ext_params->mask_l3_source_ip = cpu_to_le32(key->mask.l3_source_ip); in dpsw_acl_prepare_entry_cfg()
1507 ext_params->mask_l4_dest_port = cpu_to_le16(key->mask.l4_dest_port); in dpsw_acl_prepare_entry_cfg()
1508 ext_params->mask_l4_source_port = cpu_to_le16(key->mask.l4_source_port); in dpsw_acl_prepare_entry_cfg()
1509 ext_params->mask_l2_ether_type = cpu_to_le16(key->mask.l2_ether_type); in dpsw_acl_prepare_entry_cfg()
1510 ext_params->mask_l2_pcp_dei = key->mask.l2_pcp_dei; in dpsw_acl_prepare_entry_cfg()
1511 ext_params->mask_l3_dscp = key->mask.l3_dscp; in dpsw_acl_prepare_entry_cfg()
1512 ext_params->match_l3_protocol = key->match.l3_protocol; in dpsw_acl_prepare_entry_cfg()
1513 ext_params->mask_l3_protocol = key->mask.l3_protocol; in dpsw_acl_prepare_entry_cfg()