" remove a tunnel filter of a port.\n\n"
"rx_vxlan_port add (udp_port) (port_id)\n"
- " Add an UDP port for VxLAN packet filter on a port\n\n"
+ " Add an UDP port for VXLAN packet filter on a port\n\n"
"rx_vxlan_port rm (udp_port) (port_id)\n"
- " Remove an UDP port for VxLAN packet filter on a port\n\n"
+ " Remove an UDP port for VXLAN packet filter on a port\n\n"
"tx_vlan set vlan_id (port_id)\n"
" Set hardware insertion of VLAN ID in packets sent"
if (!strcmp(res->tunnel_type, "vxlan"))
tunnel_filter_conf.tunnel_type = RTE_TUNNEL_TYPE_VXLAN;
else {
- printf("Only VxLAN is supported now.\n");
+ printf("Only VXLAN is supported now.\n");
return;
}
unsigned char *) + l2_len + l3_len
+ l4_len);
- printf(" - VxLAN packet: packet type =%d, "
+ printf(" - VXLAN packet: packet type =%d, "
"Destination UDP port =%d, VNI = %d",
packet_type, RTE_BE_TO_CPU_16(udp_hdr->dst_port),
rte_be_to_cpu_32(vxlan_hdr->vx_vni) >> 8);
#define ETHER_TYPE_1588 0x88F7 /**< IEEE 802.1AS 1588 Precise Time Protocol. */
#define ETHER_VXLAN_HLEN (sizeof(struct udp_hdr) + sizeof(struct vxlan_hdr))
-/**< VxLAN tunnel header length. */
+/**< VXLAN tunnel header length. */
#ifdef __cplusplus
}
#define PKT_TX_VLAN_PKT (1ULL << 55) /**< TX packet is a 802.1q VLAN packet. */
#define PKT_TX_IP_CKSUM (1ULL << 54) /**< IP cksum of TX pkt. computed by NIC. */
-#define PKT_TX_VXLAN_CKSUM (1ULL << 50) /**< TX checksum of VxLAN computed by NIC */
+#define PKT_TX_VXLAN_CKSUM (1ULL << 50) /**< TX checksum of VXLAN computed by NIC */
#define PKT_TX_IPV4_CSUM PKT_TX_IP_CKSUM /**< Alias of PKT_TX_IP_CKSUM. */
#define PKT_TX_IPV4 PKT_RX_IPV4_HDR /**< IPv4 with no IP checksum offload. */
#define PKT_TX_IPV6 PKT_RX_IPV6_HDR /**< IPv6 packet */
ret = i40e_aq_add_udp_tunnel(hw, port, I40E_AQC_TUNNEL_TYPE_VXLAN,
&filter_idx, NULL);
if (ret < 0) {
- PMD_DRV_LOG(ERR, "Failed to add VxLAN UDP port %d", port);
+ PMD_DRV_LOG(ERR, "Failed to add VXLAN UDP port %d", port);
return -1;
}
struct i40e_hw *hw = I40E_PF_TO_HW(pf);
if (!(pf->flags & I40E_FLAG_VXLAN)) {
- PMD_DRV_LOG(ERR, "VxLAN UDP port was not configured.");
+ PMD_DRV_LOG(ERR, "VXLAN UDP port was not configured.");
return -EINVAL;
}
}
if (i40e_aq_del_udp_tunnel(hw, idx, NULL) < 0) {
- PMD_DRV_LOG(ERR, "Failed to delete VxLAN UDP port %d", port);
+ PMD_DRV_LOG(ERR, "Failed to delete VXLAN UDP port %d", port);
return -1;
}
uint16_t vf_nb_qps; /* The number of queue pairs of VF */
uint16_t fdir_nb_qps; /* The number of queue pairs of Flow Director */
- /* store VxLAN UDP ports */
+ /* store VXLAN UDP ports */
uint16_t vxlan_ports[I40E_MAX_PF_UDP_OFFLOAD_PORTS];
uint16_t vxlan_bitmap; /* Vxlan bit mask */
};
return;
}
- /* VxLAN packet TX checksum offload */
+ /* VXLAN packet TX checksum offload */
if (unlikely(ol_flags & PKT_TX_VXLAN_CKSUM)) {
uint8_t l4tun_len;