[dpdk-dev] [PATCH] app/testpmd: fix mpls encap ipv4 version and ihl

2018-12-18 Thread Saleh Alsouqi
GRE encapsulation") Fixes: a1191d39cb57 ("app/testpmd: add MPLSoUDP encapsulation") Cc: sta...@dpdk.org Signed-off-by: Saleh Alsouqi --- app/test-pmd/cmdline_flow.c | 2 ++ app/test-pmd/testpmd.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/test-pmd/cmdline_fl

[dpdk-dev] [PATCH] app/testpmd: fix mpls bos bit default value

2018-11-21 Thread Saleh Alsouqi
t;app/testpmd: add MPLSoGRE encapsulation") Fixes: a1191d39cb57 ("app/testpmd: add MPLSoUDP encapsulation") cc: sta...@dpdk.org Signed-off-by: Saleh AlSouqi --- app/test-pmd/cmdline_flow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/test-pmd/cmdline_flow.c b/app/tes

[dpdk-dev] [PATCH v2] app/testpmd: fix mpls encap ipv4 version and ihl

2019-03-25 Thread Saleh Alsouqi
GRE encapsulation") Fixes: a1191d39cb57 ("app/testpmd: add MPLSoUDP encapsulation") Cc: sta...@dpdk.org Signed-off-by: Saleh Alsouqi --- v2: - Include netinet/ip.h in librte_net/rte_ip.h to use existing definitions instead of defining our own.

[dpdk-dev] [PATCH v3 0/2] define ipv4 ihl and vhl

2019-07-04 Thread Saleh Alsouqi
- Include netinet/ip.h in librte_net/rte_ip.h to use existing definitions instead of defining our own. - Move definitions from testpmd.h to librte_net/rte_ip.h Saleh AlSouqi (2): librte_net/rte_ip: define ipv4 ihl and vhl app/testpmd: fix mpls ipv4 encap fields ap

[dpdk-dev] [PATCH v3 1/2] librte_net/rte_ip: define ipv4 ihl and vhl

2019-07-04 Thread Saleh Alsouqi
te that the minimum value for a correct header is 5." [1] https://tools.ietf.org/html/rfc791 Signed-off-by: Saleh AlSouqi --- lib/librte_net/rte_ip.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/librte_net/rte_ip.h b/lib/librte_net/rte_ip.h index e69b863..26b089e 100644

[dpdk-dev] [PATCH v3 2/2] app/testpmd: fix mpls ipv4 encap fields

2019-07-04 Thread Saleh Alsouqi
pp/testpmd: add MPLSoUDP encapsulation") Cc: sta...@dpdk.org Signed-off-by: Saleh AlSouqi --- app/test-pmd/cmdline_flow.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index e644efa..4e5fa7a 100644 --- a/app/test-pmd/cmdline_f