Lines Matching defs:encap
110 netdev_info(bp->dev, "only IPv4 tunnel-encap is supported\n");
890 struct hwrm_cfa_encap_data_vxlan *encap;
898 encap = (struct hwrm_cfa_encap_data_vxlan *)&req->encap_data;
900 ether_addr_copy(encap->dst_mac_addr, l2_info->dmac);
901 ether_addr_copy(encap->src_mac_addr, l2_info->smac);
903 encap->num_vlan_tags = l2_info->num_vlans;
904 encap->ovlan_tci = l2_info->inner_vlan_tci;
905 encap->ovlan_tpid = l2_info->inner_vlan_tpid;
908 encap_ipv4 = (struct hwrm_vxlan_ipv4_hdr *)encap->l3;
917 encap->dst_port = encap_key->tp_dst;
918 encap->vni = tunnel_id_to_key32(encap_key->tun_id);
1118 /* Get (or add) either encap or decap tunnel node from/to the supplied
1397 /* Lookup the tunnel encap table and check if there's an encap_handle
1411 /* Check if there's another flow using the same tunnel encap.
1430 /* Allocate a new tunnel encap record */
1481 /* release references to any tunnel encap/decap nodes */
1574 /* If the flow involves tunnel encap/decap, get tunnel_handle */