[dpdk-dev] [PATCH] maintainers: resign from GSO lib maintenance

2018-02-27 Thread Mark Kavanagh
I will not be directly working on the DPDK project anymore. Signed-off-by: Mark Kavanagh --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index a646ca3..8fa79b7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -792,7 +792,6 @@ F: doc/guides/prog_guide

[dpdk-dev] [PATCH V3] doc: minor fixes for GSO prog_guide

2017-10-12 Thread Mark Kavanagh
n the 'three-part-output-segment' diagram. Remove same. Fixes: f6010c7 ("doc: add GSO programmer's guide") Signed-off-by: Mark Kavanagh Acked-by: John McNamara --- v3: - Move note back to original position. - Remove link to note, as it is no longer needed. - Correct note&#

[dpdk-dev] [PATCH V2] doc: minor fixes for GSO prog_guide

2017-10-12 Thread Mark Kavanagh
n the 'three-part-output-segment' diagram. Remove same. Fixes: f6010c7 ("doc: add GSO programmer's guide") Signed-off-by: Mark Kavanagh Acked-by: John McNamara --- v2: - Move note back to original position. - Remove link to note, as it is no longer needed. - Correct n

[dpdk-dev] [PATCH] doc: minor fixes for GSO prog_guide

2017-10-12 Thread Mark Kavanagh
#x27;three-part-output-segment' diagram. Remove same. Fixes: f6010c7 ("doc: add GSO programmer's guide") Signed-off-by: Mark Kavanagh --- .../generic_segmentation_offload_lib.rst | 18 ++-- doc/guides/prog_guide/img/gso-three-seg-mbuf.svg | 116 ++--

[dpdk-dev] [PATCH] net/bnxt: fix compilation

2017-10-09 Thread Mark Kavanagh
: support flow filter ops") CC: sta...@dpdk.org Signed-off-by: Mark Kavanagh --- drivers/net/bnxt/bnxt_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_filter.c b/drivers/net/bnxt/bnxt_filter.c index d470be2..9f171fd 100644 --- a/driver

[dpdk-dev] [PATCH v9 6/6] doc: add GSO programmer's guide

2017-10-05 Thread Mark Kavanagh
Add programmer's guide doc to explain the design and use of the GSO library. Signed-off-by: Mark Kavanagh Signed-off-by: Jiayu Hu --- MAINTAINERS| 6 + .../generic_segmentation_offload_lib.rst | 256 +++ .../prog_guide/img/gso-o

[dpdk-dev] [PATCH v9 2/6] gso: add TCP/IPv4 GSO support

2017-10-05 Thread Mark Kavanagh
d segments are freed, the packet is freed automatically. Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh Tested-by: Lei Yao --- doc/guides/rel_notes/release_17_11.rst | 12 +++ lib/Makefile| 2 +- lib/librte_eal/common/include/rte_log.h | 1 +

[dpdk-dev] [PATCH v9 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO

2017-10-05 Thread Mark Kavanagh
ow port gso" Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh --- app/test-pmd/cmdline.c | 179 app/test-pmd/config.c | 24 app/test-pmd/csumonly.c | 42 ++- app/test-pmd/testpm

[dpdk-dev] [PATCH v9 4/6] gso: add GRE GSO support

2017-10-05 Thread Mark Kavanagh
1. As a result, when all of its GSOed segments are freed, the packet is freed automatically. Signed-off-by: Mark Kavanagh Signed-off-by: Jiayu Hu --- doc/guides/rel_notes/release_17_11.rst | 2 ++ lib/librte_gso/gso_common.h| 5 + lib/librte_gso/gso_tunnel_tcp4.c | 14

[dpdk-dev] [PATCH v9 0/6] Support TCP/IPv4, VxLAN, and GRE GSO in DPDK

2017-10-05 Thread Mark Kavanagh
l2_len/l3_len etc. instead of parsing the packet header in rte_gso_segment(). - provide IP id macros for applications to select fixed or incremental IP ids. Jiayu Hu (3): gso: add Generic Segmentation Offload API framework gso: add TCP/IPv4 GSO support app/testpmd: enable TCP/IPv4, VxLAN an

[dpdk-dev] [PATCH v9 3/6] gso: add VxLAN GSO support

2017-10-05 Thread Mark Kavanagh
t packet, which mandates support for multi-segment mbufs in the TX functions of the NIC driver. Also, if a packet is GSOed, VxLAN GSO reduces its MBUF refcnt by 1. As a result, when all of its GSO'd segments are freed, the packet is freed automatically. Signed-off-by: Mark Kavanagh Signed-off-by

[dpdk-dev] [PATCH v9 1/6] gso: add Generic Segmentation Offload API framework

2017-10-05 Thread Mark Kavanagh
in the event of success, since segmentation in hardware is no longer required at that point. Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh --- config/common_base | 5 ++ doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 +

[dpdk-dev] [PATCH v8 6/6] doc: add GSO programmer's guide

2017-10-05 Thread Mark Kavanagh
Add programmer's guide doc to explain the design and use of the GSO library. Signed-off-by: Mark Kavanagh Signed-off-by: Jiayu Hu --- MAINTAINERS| 6 + .../generic_segmentation_offload_lib.rst | 256 +++ .../prog_guide/img/gso-o

[dpdk-dev] [PATCH v8 4/6] gso: add GRE GSO support

2017-10-05 Thread Mark Kavanagh
1. As a result, when all of its GSOed segments are freed, the packet is freed automatically. Signed-off-by: Mark Kavanagh Signed-off-by: Jiayu Hu --- doc/guides/rel_notes/release_17_11.rst | 2 ++ lib/librte_gso/gso_common.h| 5 + lib/librte_gso/gso_tunnel_tcp4.c | 14

[dpdk-dev] [PATCH v8 2/6] gso: add TCP/IPv4 GSO support

2017-10-05 Thread Mark Kavanagh
d segments are freed, the packet is freed automatically. Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh Tested-by: Lei Yao --- doc/guides/rel_notes/release_17_11.rst | 12 +++ lib/Makefile| 2 +- lib/librte_eal/common/include/rte_log.h | 1 +

[dpdk-dev] [PATCH v8 0/6] Support TCP/IPv4, VxLAN, and GRE GSO in DPDK

2017-10-05 Thread Mark Kavanagh
tion. - fix one bug in testpmd. v2: - merge data segments whose data_len is less than mss into a large data segment in gso_do_segment(). - use mbuf->packet_type/l2_len/l3_len etc. instead of parsing the packet header in rte_gso_segment(). - provide IP id macros for applications to select fixed o

[dpdk-dev] [PATCH v8 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO

2017-10-05 Thread Mark Kavanagh
ow port gso" Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh --- app/test-pmd/cmdline.c | 179 app/test-pmd/config.c | 24 app/test-pmd/csumonly.c | 42 ++- app/test-pmd/testpm

[dpdk-dev] [PATCH v8 1/6] gso: add Generic Segmentation Offload API framework

2017-10-05 Thread Mark Kavanagh
in the event of success, since segmentation in hardware is no longer required at that point. Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh --- config/common_base | 5 ++ doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 +

[dpdk-dev] [PATCH v8 3/6] gso: add VxLAN GSO support

2017-10-05 Thread Mark Kavanagh
t packet, which mandates support for multi-segment mbufs in the TX functions of the NIC driver. Also, if a packet is GSOed, VxLAN GSO reduces its MBUF refcnt by 1. As a result, when all of its GSO'd segments are freed, the packet is freed automatically. Signed-off-by: Mark Kavanagh Signed-off-by

[dpdk-dev] [PATCH v7 6/6] doc: add GSO programmer's guide

2017-10-05 Thread Mark Kavanagh
Add programmer's guide doc to explain the design and use of the GSO library. Signed-off-by: Mark Kavanagh Signed-off-by: Jiayu Hu --- MAINTAINERS| 6 + .../generic_segmentation_offload_lib.rst | 256 +++ .../prog_guide/img/gso-o

[dpdk-dev] [PATCH v7 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO

2017-10-05 Thread Mark Kavanagh
ow port gso" Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh --- app/test-pmd/cmdline.c | 179 app/test-pmd/config.c | 24 app/test-pmd/csumonly.c | 43 ++- app/test-pmd/testpm

[dpdk-dev] [PATCH v7 3/6] gso: add VxLAN GSO support

2017-10-05 Thread Mark Kavanagh
t packet, which mandates support for multi-segment mbufs in the TX functions of the NIC driver. Also, if a packet is GSOed, VxLAN GSO reduces its MBUF refcnt by 1. As a result, when all of its GSO'd segments are freed, the packet is freed automatically. Signed-off-by: Mark Kavanagh Signed-off-by

[dpdk-dev] [PATCH v7 2/6] gso: add TCP/IPv4 GSO support

2017-10-05 Thread Mark Kavanagh
d segments are freed, the packet is freed automatically. Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh Tested-by: Lei Yao --- doc/guides/rel_notes/release_17_11.rst | 12 +++ lib/Makefile| 2 +- lib/librte_eal/common/include/rte_log.h | 1 +

[dpdk-dev] [PATCH v7 1/6] gso: add Generic Segmentation Offload API framework

2017-10-05 Thread Mark Kavanagh
in the event of success, since segmentation in hardware is no longer required at that point. Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh --- config/common_base | 5 ++ doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 +

[dpdk-dev] [PATCH v7 4/6] gso: add GRE GSO support

2017-10-05 Thread Mark Kavanagh
1. As a result, when all of its GSOed segments are freed, the packet is freed automatically. Signed-off-by: Mark Kavanagh Signed-off-by: Jiayu Hu --- doc/guides/rel_notes/release_17_11.rst | 2 ++ lib/librte_gso/gso_common.h| 5 + lib/librte_gso/gso_tunnel_tcp4.c | 14

[dpdk-dev] [PATCH v7 0/6] Support TCP/IPv4, VxLAN, and GRE GSO in DPDK

2017-10-05 Thread Mark Kavanagh
is less than mss into a large data segment in gso_do_segment(). - use mbuf->packet_type/l2_len/l3_len etc. instead of parsing the packet header in rte_gso_segment(). - provide IP id macros for applications to select fixed or incremental IP ids. Jiayu Hu (3): gso: add Generic Segmentat

[dpdk-dev] [PATCH v6 6/6] doc: add GSO programmer's guide

2017-10-02 Thread Mark Kavanagh
Add programmer's guide doc to explain the design and use of the GSO library. Signed-off-by: Mark Kavanagh Signed-off-by: Jiayu Hu --- MAINTAINERS| 6 + .../generic_segmentation_offload_lib.rst | 256 +++ .../prog_guide/img/gso-o

[dpdk-dev] [PATCH v6 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO

2017-10-02 Thread Mark Kavanagh
ow port gso" Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh --- app/test-pmd/cmdline.c | 178 app/test-pmd/config.c | 24 app/test-pmd/csumonly.c | 69 ++- app/test-pmd/testpm

[dpdk-dev] [PATCH v6 3/6] gso: add VxLAN GSO support

2017-10-02 Thread Mark Kavanagh
t packet, which mandates support for multi-segment mbufs in the TX functions of the NIC driver. Also, if a packet is GSOed, VxLAN GSO reduces its MBUF refcnt by 1. As a result, when all of its GSO'd segments are freed, the packet is freed automatically. Signed-off-by: Mark Kavanagh Signed-off-by

[dpdk-dev] [PATCH v6 4/6] gso: add GRE GSO support

2017-10-02 Thread Mark Kavanagh
1. As a result, when all of its GSOed segments are freed, the packet is freed automatically. Signed-off-by: Mark Kavanagh Signed-off-by: Jiayu Hu --- doc/guides/rel_notes/release_17_11.rst | 3 +++ lib/librte_gso/gso_common.h| 5 + lib/librte_gso/gso_tunnel_tcp4.c | 14

[dpdk-dev] [PATCH v6 2/6] gso: add TCP/IPv4 GSO support

2017-10-02 Thread Mark Kavanagh
d segments are freed, the packet is freed automatically. Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh Tested-by: Lei Yao --- doc/guides/rel_notes/release_17_11.rst | 12 +++ lib/librte_eal/common/include/rte_log.h | 1 + lib/librte_gso/Makefile | 2 + li

[dpdk-dev] [PATCH v6 1/6] gso: add Generic Segmentation Offload API framework

2017-10-02 Thread Mark Kavanagh
in the event of success, since segmentation in hardware is no longer required at that point. Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh --- config/common_base | 5 ++ doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 +

[dpdk-dev] [PATCH v6 0/6] Support TCP/IPv4, VxLAN, and GRE GSO in DPDK

2017-10-02 Thread Mark Kavanagh
ee(). - refactor gso_update_pkt_headers(). - change the return value of rte_gso_segment(). - remove parameter checks in rte_gso_segment(). - use rte_net_get_ptype() in app/test-pmd/csumonly.c to fill mbuf->packet_type. - add a new GSO command in testpmd to show GSO configuration for ports. - misc: f

[dpdk-dev] [PATCH v5 2/6] gso: add TCP/IPv4 GSO support

2017-09-28 Thread Mark Kavanagh
d segments are freed, the packet is freed automatically. Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh Tested-by: Lei Yao --- doc/guides/rel_notes/release_17_11.rst | 12 +++ lib/librte_eal/common/include/rte_log.h | 1 + lib/librte_gso/Makefile | 2 + li

[dpdk-dev] [PATCH v5 6/6] doc: add GSO programmer's guide

2017-09-28 Thread Mark Kavanagh
Add programmer's guide doc to explain the design and use of the GSO library. Signed-off-by: Mark Kavanagh Signed-off-by: Jiayu Hu --- MAINTAINERS| 6 + .../generic_segmentation_offload_lib.rst | 256 +++ .../prog_guide/img/gso-o

[dpdk-dev] [PATCH v5 5/6] app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO

2017-09-28 Thread Mark Kavanagh
ow port gso" Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh --- app/test-pmd/cmdline.c | 178 app/test-pmd/config.c | 24 app/test-pmd/csumonly.c | 69 ++- app/test-pmd/testpm

[dpdk-dev] [PATCH v5 3/6] gso: add VxLAN GSO support

2017-09-28 Thread Mark Kavanagh
t packet, which mandates support for multi-segment mbufs in the TX functions of the NIC driver. Also, if a packet is GSOed, VxLAN GSO reduces its MBUF refcnt by 1. As a result, when all of its GSO'd segments are freed, the packet is freed automatically. Signed-off-by: Mark Kavanagh Signed-off-by

[dpdk-dev] [PATCH v5 4/6] gso: add GRE GSO support

2017-09-28 Thread Mark Kavanagh
1. As a result, when all of its GSOed segments are freed, the packet is freed automatically. Signed-off-by: Mark Kavanagh Signed-off-by: Jiayu Hu --- doc/guides/rel_notes/release_17_11.rst | 3 +++ lib/librte_gso/gso_common.h| 5 + lib/librte_gso/gso_tunnel_tcp4.c | 14

[dpdk-dev] [PATCH v5 2/6] gso: add TCP/IPv4 GSO support

2017-09-28 Thread Mark Kavanagh
d segments are freed, the packet is freed automatically. Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh Tested-by: Lei Yao --- doc/guides/rel_notes/release_17_11.rst | 12 +++ lib/librte_eal/common/include/rte_log.h | 1 + lib/librte_gso/Makefile | 2 + li

[dpdk-dev] [PATCH v5 1/6] gso: add Generic Segmentation Offload API framework

2017-09-28 Thread Mark Kavanagh
in the event of success, since segmentation in hardware is no longer required at that point. Signed-off-by: Jiayu Hu Signed-off-by: Mark Kavanagh --- config/common_base | 5 ++ doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf | 1 +

[dpdk-dev] [PATCH v5 0/6] Support TCP/IPv4, VxLAN and GRE GSO in DPDK

2017-09-28 Thread Mark Kavanagh
show GSO configuration for ports. - misc: fix typo and optimize function description. Jiayu Hu (3): gso: add Generic Segmentation Offload API framework gso: add TCP/IPv4 GSO support app/testpmd: enable TCP/IPv4, VxLAN and GRE GSO Mark Kavanagh (3): gso: add VxLAN GSO support gso: add GRE

[dpdk-dev] [PATCH 1/1] doc: fix errors in pdump doc

2016-10-06 Thread Mark Kavanagh
- Fix copy/paste error in description of how to capture both rx & tx traffic in a single pcap file - Replace duplicate word with what original author presumably intended, such that description now makes sense Signed-off-by: Mark Kavanagh --- doc/guides/sample_app_ug/pdump.rst | 4 ++-

[dpdk-dev] [PATCH 1/1] doc: clarify usage of testpmd mac fwd mode

2016-09-09 Thread Mark Kavanagh
Explain default testpmd behavior in mac fwd mode to remove amiguity/confusion regarding user's ability to specify Ethernet addresses. Signed-off-by: Mark Kavanagh --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/testpmd_a

[dpdk-dev] [PATCH 7/7] netdev-dpdk: add support for Jumbo Frames

2016-08-05 Thread Mark Kavanagh
r. Signed-off-by: Mark Kavanagh [diproiettod at vmware.com rebased] Signed-off-by: Daniele Di Proietto --- Previous: http://openvswitch.org/pipermail/dev/2016-July/076845.html v2->v1: - rebase to HEAD of master - fall back to previous 'good' MTU if reconfigure fails

[dpdk-dev] [PATCH 6/7] netdev: Make netdev_set_mtu() netdev parameter non-const.

2016-08-05 Thread Mark Kavanagh
From: Daniele Di Proietto Every provider silently drops the const attribute when converting the parameter to the appropriate subclass. Might as well drop the const attribute from the parameter, since this is a "set" function. Signed-off-by: Daniele Di Proietto --- v2->v1: add missing 'Signed-o

[dpdk-dev] [PATCH 5/7] tests: Add a new MTU test.

2016-08-05 Thread Mark Kavanagh
From: Daniele Di Proietto Also, netdev-dummy needs to call netdev_change_seq_changed() in set_mtu(). Signed-off-by: Daniele Di Proietto --- lib/netdev-dummy.c| 5 - tests/ofproto-dpif.at | 30 ++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH 4/7] netdev-dummy: Add dummy-internal class.

2016-08-05 Thread Mark Kavanagh
From: Daniele Di Proietto "internal" netdevs are treated specially in OVS (e.g. for MTU), but the dummy datapath remaps both "system" and "internal" devices to the same "dummy" netdev class, so there's no way to discern those in tests. This commit adds a new "dummy-internal" netdev type, which w

[dpdk-dev] [PATCH 3/7] netdev: Pass 'netdev_class' to ->run() and ->wait().

2016-08-05 Thread Mark Kavanagh
From: Daniele Di Proietto This will allow run() and wait() methods to be shared between different classes and still perform class-specific work. Signed-off-by: Daniele Di Proietto --- lib/netdev-bsd.c | 6 +++--- lib/netdev-dummy.c| 4 ++-- lib/netdev-linux.c| 6 +++--- lib/net

[dpdk-dev] [PATCH 2/7] vswitchd: Introduce 'mtu_request' column in Interface.

2016-08-05 Thread Mark Kavanagh
From: Daniele Di Proietto The 'mtu_request' column can be used to set the MTU of a specific interface. This column is useful because it will allow changing the MTU of DPDK devices (implemented in a future commit), which are not accessible outside the ovs-vswitchd process, but it can be used for

[dpdk-dev] [PATCH 1/7] ofproto: Consider datapath_type when looking for internal ports.

2016-08-05 Thread Mark Kavanagh
From: Daniele Di Proietto Interfaces with type "internal" end up having a netdev with type "tap" in the dpif-netdev datapath, so a strcmp will fail to match internal interfaces. We can translate the types with ofproto_port_open_type() before calling strcmp to fix this. This fixes a minor issue

[dpdk-dev] [PATCH V2] doc: fix vhost setup in tep-termination app guide

2016-07-21 Thread Mark Kavanagh
- Fix vhost setup flags - Add minor edits to improve readability and consistency --- v2: - revert file mode changes made erroneously in v1 Signed-off-by: Mark Kavanagh --- doc/guides/sample_app_ug/tep_termination.rst | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a

[dpdk-dev] [PATCH V2] doc: fix vhost setup in tep-termination app guide

2016-07-21 Thread Mark Kavanagh
- Fix vhost setup flags - Add minor edits to improve readability and consistency --- v2: - revert file mode changes made erroneously in v1 Signed-off-by: Mark Kavanagh --- doc/guides/sample_app_ug/tep_termination.rst | 8 1 file changed, 4 insertions(+), 4 deletions(-) mode change

[dpdk-dev] [PATCH] doc: fix vhost setup in tep-termination app guide

2016-07-19 Thread Mark Kavanagh
- Fix vhost setup flags - Add minor edits to improve readability and consistency Signed-off-by: Mark Kavanagh --- doc/guides/sample_app_ug/tep_termination.rst | 8 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 doc/guides/sample_app_ug/tep_termination.

[dpdk-dev] [PATCH] doc: fix vhost setup in tep-termination app guide

2016-07-19 Thread Mark Kavanagh
- Fix vhost setup flags - Add minor edits to improve readability and consistency Signed-off-by: Mark Kavanagh --- doc/guides/sample_app_ug/tep_termination.rst | 8 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 doc/guides/sample_app_ug/tep_termination.

[dpdk-dev] [PATCH] rte_eth_ctrl: rename rte_eth_fdir_flow.ip6_flow

2014-12-09 Thread Mark Kavanagh
mpilation error. Rename the relevant attribute in DPDK to resolve this. Signed-off-by: Mark Kavanagh --- app/test-pmd/cmdline.c | 4 ++-- lib/librte_ether/rte_eth_ctrl.h | 2 +- lib/librte_pmd_i40e/i40e_fdir.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git

[dpdk-dev] [PATCH] rte_eth_ctrl: rename rte_eth_fdir_flow.ip6_flow

2014-12-09 Thread Mark Kavanagh
at when DPDK is linked with an application that uses the afforementioned header, the macro is expanded within the DPDK struct, causing a compilation error. Regards, Mark Mark Kavanagh (1): rte_eth_ctrl: rename rte_eth_fdir_flow.ip6_flow app/test-pmd/cmdline.c | 4 ++-- lib/librte_ether