Merged.
Maxim.
On 07/14/17 13:59, Github ODP bot wrote:
> V2:
>
> Simplify mbuf_pool_create() arguments (Krishna)
> Fix bug in dpdk_send() (Krishna)
> Add Travis test (Maxim)
> Destroy dpdk memory pool using a callback in odp_pool_destroy(). Fixes a bug
> detected by Travis.
>
> This patch set adds an experimental zero-copy mode for DPDK pktio. Zero-copy
> operation is enabled with a new '--enable-dpdk-zero-copy' configure flag.
> This feature has been put behind an extra configure flag as it doesn't
> entirely adhere to the DPDK API and may behave unexpectedly with untested DPDK
> NIC drivers. The patch has been tested with pcap, ixgbe, and i40e drivers.
> The patch is based on the DPDK external memory pool concept with the following
> exception. Instead of using the standard DPDK API functions, which use a given
> memory block to populate the external memory pool, this patch maps individual
> ODP buffers directly to rte_mbufs. The rte_mbuf header is stored in extra
> space
> added to the end of odp_packet_hdr_t struct.
> The ODP packet default headroom is modified to be the same as in DPDK to
> enable
> interoperability between ODP and DPDK packets (matching packet size).
> Some performance numbers compared to the standard DPDK pktio:
> odp_l2fwd throughput (Mpps) with 64B packets:
>
> 2 x 40Gbps NICs
>
> Cores Standard Zero-copy
> 1 11.4 20.1
> 2 21.4 43.5
> 4 42.8 71.0 (Already limited by NIC capacity)
> 6 63.5 68.0
> 8 66.6 66.3
>
> ----------------github------------------------
> /** Email created from pull request 78 (matiaselo:dev/dpdk_ext_mempool_v2)
> ** https://github.com/Linaro/odp/pull/78
> ** Patch: https://github.com/Linaro/odp/pull/78.patch
> ** Base sha: 490f4bf22129638899ce71c99a8847e8ba849692
> ** Merge commit sha: 1c79cd17efc7b9547426620c0f001d12a7ebca76
> **/
> ----------------/github------------------------
>
> ----------------checkpatch.pl------------------------
> total: 0 errors, 0 warnings, 0 checks, 54 lines checked
>
>
> to_send-p-000.patch has no obvious style problems and is ready for submission.
> total: 0 errors, 0 warnings, 0 checks, 12 lines checked
>
>
> to_send-p-001.patch has no obvious style problems and is ready for submission.
> total: 0 errors, 0 warnings, 0 checks, 90 lines checked
>
>
> to_send-p-002.patch has no obvious style problems and is ready for submission.
> total: 0 errors, 0 warnings, 0 checks, 9 lines checked
>
>
> to_send-p-003.patch has no obvious style problems and is ready for submission.
> total: 0 errors, 0 warnings, 0 checks, 8 lines checked
>
>
> to_send-p-004.patch has no obvious style problems and is ready for submission.
> total: 0 errors, 0 warnings, 0 checks, 13 lines checked
>
>
> to_send-p-005.patch has no obvious style problems and is ready for submission.
> CHECK: Avoid CamelCase: <PRIu16>
> #459: FILE: platform/linux-generic/pktio/dpdk.c:321:
> + "%d/%" PRIu16 " allocated\n", num, mbuf_num);
>
> total: 0 errors, 0 warnings, 1 checks, 915 lines checked
>
>
> to_send-p-006.patch has style problems, please review.
>
> If any of these errors are false positives, please report
> them to the maintainer, see CHECKPATCH in MAINTAINERS.
> total: 0 errors, 0 warnings, 0 checks, 7 lines checked
>
>
> to_send-p-007.patch has no obvious style problems and is ready for submission.
> ----------------/checkpatch.pl------------------------
>