Lines Matching refs:tci
979 __be16 tci = 0;
983 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]);
990 SW_FLOW_KEY_PUT(match, eth.vlan.tci, tci, is_mask);
993 SW_FLOW_KEY_PUT(match, eth.cvlan.tci, tci, is_mask);
1002 __be16 tci = 0;
1018 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]);
1020 if (!(tci & htons(VLAN_CFI_MASK))) {
1021 if (tci) {
1040 __be16 tci = 0;
1042 bool encap_valid = !!(match->key->eth.vlan.tci &
1044 bool i_encap_valid = !!(match->key->eth.cvlan.tci &
1059 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]);
1069 if (!(tci & htons(VLAN_CFI_MASK))) {
1125 encap_valid = !!(match->key->eth.vlan.tci & htons(VLAN_CFI_MASK));
1856 /* Always match on tci. */
1857 SW_FLOW_KEY_PUT(match, eth.vlan.tci, htons(0xffff), true);
1858 SW_FLOW_KEY_PUT(match, eth.cvlan.tci, htons(0xffff), true);
1978 nla_put_be16(skb, OVS_KEY_ATTR_VLAN, vh->tci))
2068 if (swkey->eth.vlan.tci || eth_type_vlan(swkey->eth.type)) {
2072 if (!swkey->eth.vlan.tci)
2075 if (swkey->eth.cvlan.tci || eth_type_vlan(swkey->eth.type)) {
2080 if (!swkey->eth.cvlan.tci)
3514 key->eth.vlan.tci, mpls_label_count, log,