From a292c8c35794531d27a068310a76d067f2ccf56a Mon Sep 17 00:00:00 2001 From: Todd Foggoa Date: Wed, 6 Apr 2016 09:57:01 -0400 Subject: Fix DPDK patch files so git am works smoothly Change-Id: Ic2a6e6f1ceea81f2e34f3db370682569327b44ad Signed-off-by: Todd Foggoa --- .../0011-enic-improve-Rx-performance.patch | 25 ++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) (limited to 'dpdk/dpdk-2.2.0_patches/0011-enic-improve-Rx-performance.patch') diff --git a/dpdk/dpdk-2.2.0_patches/0011-enic-improve-Rx-performance.patch b/dpdk/dpdk-2.2.0_patches/0011-enic-improve-Rx-performance.patch index 98824c57..2aa4840d 100644 --- a/dpdk/dpdk-2.2.0_patches/0011-enic-improve-Rx-performance.patch +++ b/dpdk/dpdk-2.2.0_patches/0011-enic-improve-Rx-performance.patch @@ -1,9 +1,8 @@ -commit 947d860c821f4248dcf2fc01e98671524973eeea -Author: John Daley -Date: Fri Mar 4 13:09:00 2016 -0800 +From 057358356e7d05f07ab2df37c12b1cce37a3cca9 Mon Sep 17 00:00:00 2001 +From: John Daley +Date: Fri, 4 Mar 2016 13:09:00 -0800 +Subject: [PATCH 11/22] enic: improve Rx performance - enic: improve Rx performance - This is a wholesale replacement of the Enic PMD receive path in order to improve performance and code clarity. The changes are: - Simplify and reduce code path length of receive function. @@ -13,8 +12,19 @@ Date: Fri Mar 4 13:09:00 2016 -0800 - Remove the unneeded container structure around the RQ mbuf ring - Prefetch next Mbuf and descriptors while processing the current one - Use a lookup table for converting CQ flags to mbuf flags. - + Signed-off-by: John Daley +--- + drivers/net/enic/Makefile | 1 + + drivers/net/enic/base/vnic_rq.c | 99 ++--------- + drivers/net/enic/base/vnic_rq.h | 147 +--------------- + drivers/net/enic/enic.h | 16 +- + drivers/net/enic/enic_ethdev.c | 27 ++- + drivers/net/enic/enic_main.c | 321 ++++++++++------------------------ + drivers/net/enic/enic_res.h | 16 +- + drivers/net/enic/enic_rx.c | 370 ++++++++++++++++++++++++++++++++++++++++ + 8 files changed, 511 insertions(+), 486 deletions(-) + create mode 100644 drivers/net/enic/enic_rx.c diff --git a/drivers/net/enic/Makefile b/drivers/net/enic/Makefile index f0ee093..f316274 100644 @@ -1334,3 +1344,6 @@ index 0000000..945a60f + + return nb_rx; +} +-- +1.9.1 + -- cgit 1.2.3-korg