Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_fs.c317 struct npc_key_field *vlan_tag1; in npc_handle_multi_layer_fields() local
339 vlan_tag1 = &key_fields[NPC_VLAN_TAG1]; in npc_handle_multi_layer_fields()
384 if (!vlan_tag1->nr_kws && !vlan_tag2->nr_kws) in npc_handle_multi_layer_fields()
388 if (vlan_tag1->nr_kws && !vlan_tag2->nr_kws) in npc_handle_multi_layer_fields()
389 key_fields[NPC_OUTER_VID] = *vlan_tag1; in npc_handle_multi_layer_fields()
390 if (!vlan_tag1->nr_kws && vlan_tag2->nr_kws) in npc_handle_multi_layer_fields()
394 if (vlan_tag1->nr_kws && vlan_tag2->nr_kws) { in npc_handle_multi_layer_fields()
396 if (vlan_tag1->kw_mask[i] != vlan_tag2->kw_mask[i]) in npc_handle_multi_layer_fields()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h705 u16 vlan_tag1; member
Dhclge_main.c441 offsetof(struct hclge_fd_rule, tuples.vlan_tag1),
442 offsetof(struct hclge_fd_rule, tuples_mask.vlan_tag1) },
6431 rule->tuples.vlan_tag1 = be16_to_cpu(fs->h_ext.vlan_tci); in hclge_fd_get_tuple()
6432 rule->tuples_mask.vlan_tag1 = be16_to_cpu(fs->m_ext.vlan_tci); in hclge_fd_get_tuple()
6873 fs->h_ext.vlan_tci = cpu_to_be16(rule->tuples.vlan_tag1); in hclge_fd_get_ext_info()
6876 0 : cpu_to_be16(rule->tuples_mask.vlan_tag1); in hclge_fd_get_ext_info()
7252 rule->tuples.vlan_tag1 = match.key->vlan_id | in hclge_get_cls_key_vlan()
7254 rule->tuples_mask.vlan_tag1 = match.mask->vlan_id | in hclge_get_cls_key_vlan()