[dpdk-dev] [PATCH] doc: fix a typo in sample apps guide.

2017-06-17 Thread Rami Rosen
This patch fixes a trivial typo in the sample apps guide. commit 35b09d76f89e ("doc: use corelist instead of coremask") replaced the usage of coremask (-c) with corelist (-l). As a result of this patch, we have ./build/ipv4_multicast -l 0-3 -n 3 -- -p 0x3 -q 1 in the sample app guide, while the e

[dpdk-dev] [PATCH] ethdev: fix a typo in rth_ethdev.h.

2017-06-17 Thread Rami Rosen
This patch fixes a trivial typo in rte_ethdev.h; it should be "RX multicast OFF" and not "RX multicast OF". Signed-off-by: Rami Rosen --- lib/librte_ether/rte_ethdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.

[dpdk-dev] [PATCH v3 1/2] mbuf: introduce new Tx offload flag for MPLS-in-UDP

2017-06-17 Thread Rasesh Mody
From: Harish Patil Some PMDs need to know the tunnel type in order to handle advance TX features. This patch adds a new TX offload flag for MPLS-in-UDP packets. Signed-off-by: Harish Patil --- lib/librte_mbuf/rte_mbuf.c |3 +++ lib/librte_mbuf/rte_mbuf.h |2 ++ 2 files changed, 5 inser

[dpdk-dev] [PATCH v3 2/2] net/qede: add Tx offloads for MPLS-in-UDP packets

2017-06-17 Thread Rasesh Mody
From: Harish Patil Add support for inner/outer L3/L4 TX csum offload for MPLS-in-UDP packets. The driver checks for PKT_TX_TUNNEL_MPLSINUDP in Tx ol_flags and updates TX BD elements with appropriate offsets/length of tunnel headers. The pseudo csum calculation is removed from qede_xmit_prep_pkts(