Lines Matching refs:tci
967 __be16 tci = 0;
971 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]);
978 SW_FLOW_KEY_PUT(match, eth.vlan.tci, tci, is_mask);
981 SW_FLOW_KEY_PUT(match, eth.cvlan.tci, tci, is_mask);
990 __be16 tci = 0;
1006 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]);
1008 if (!(tci & htons(VLAN_CFI_MASK))) {
1009 if (tci) {
1028 __be16 tci = 0;
1030 bool encap_valid = !!(match->key->eth.vlan.tci &
1032 bool i_encap_valid = !!(match->key->eth.cvlan.tci &
1047 tci = nla_get_be16(a[OVS_KEY_ATTR_VLAN]);
1057 if (!(tci & htons(VLAN_CFI_MASK))) {
1113 encap_valid = !!(match->key->eth.vlan.tci & htons(VLAN_CFI_MASK));
1833 /* Always match on tci. */
1834 SW_FLOW_KEY_PUT(match, eth.vlan.tci, htons(0xffff), true);
1835 SW_FLOW_KEY_PUT(match, eth.cvlan.tci, htons(0xffff), true);
1955 nla_put_be16(skb, OVS_KEY_ATTR_VLAN, vh->tci))
2045 if (swkey->eth.vlan.tci || eth_type_vlan(swkey->eth.type)) {
2049 if (!swkey->eth.vlan.tci)
2052 if (swkey->eth.cvlan.tci || eth_type_vlan(swkey->eth.type)) {
2057 if (!swkey->eth.cvlan.tci)
3465 key->eth.vlan.tci, mpls_label_count, log,