ver changes
v3 - fix includes by removing ifdef for other type besides Linux
Fix the copyright notice in the Makefile
v2 - merge all of the patches into one patch
Fix a typo on naming the tap device
Update the maintainers list
Signed-off-by: Keith Wiles
---
MAINTAIN
def for other type besides Linux
Fix the copyright notice in the Makefile
v2 - merge all of the patches into one patch
Fix a typo on naming the tap device
Update the maintainers list
Signed-off-by: Keith Wiles
---
MAINTAINERS | 5 +
config/common_b
ice in the Makefile
v2 - merge all of the patches into one patch
Fix a typo on naming the tap device
Update the maintainers list
Signed-off-by: Keith Wiles
---
MAINTAINERS | 5 +
config/common_base | 9 +
config/common_linuxapp |
on naming the tap device
Update the maintainers list
Signed-off-by: Keith Wiles
---
MAINTAINERS | 5 +
config/common_base | 5 +
config/common_linuxapp | 1 +
doc/guides/nics/tap.rst | 138 ++
drivers
the tap device.
Update the maintainers list
Signed-off-by: Keith Wiles
---
MAINTAINERS | 5 +
config/common_base | 5 +
config/common_linuxapp | 1 +
doc/guides/nics/tap.rst | 138 ++
drivers/net
changes
v3 - fix includes by removing ifdef for other type besides Linux.
Fix the copyright notice in the Makefile
v2 - merge all of the patches into one patch.
Fix a typo on naming the tap device.
Update the maintainers list
Signed-off-by: Keith Wiles
---
MAINTAINERS
into one patch.
Fix a typo on naming the tap device.
Update the maintainers list
Signed-off-by: Keith Wiles
---
MAINTAINERS | 5 +
config/common_linuxapp | 2 +
doc/guides/nics/tap.rst | 84 +++
drivers/net/Makefile
Signed-off-by: Keith Wiles
---
config/common_linuxapp | 3 +++
drivers/net/Makefile | 1 +
mk/rte.app.mk | 1 +
3 files changed, 5 insertions(+)
diff --git a/config/common_linuxapp b/config/common_linuxapp
index 2483dfa..704c01c 100644
--- a/config/common_linuxapp
+++ b/config
Signed-off-by: Keith Wiles
---
doc/guides/nics/tap.rst | 84 +
1 file changed, 84 insertions(+)
create mode 100644 doc/guides/nics/tap.rst
diff --git a/doc/guides/nics/tap.rst b/doc/guides/nics/tap.rst
new file mode 100644
index 000..072def8
The rte_eth_tap.c PMD creates a device using TUN/TAP interfaces
on the local host. The PMD allows for DPDK and the host to
communicate using a raw device interface on the host and in
the DPDK application. The device created is a Tap device with
a L2 packet header.
Signed-off-by: Keith Wiles
is not linked directly to dpdk libraries, which
in this case causes a missing symbol in the linking phase.
Fixes: ba7468997ea6 ("spinlock: add HTM lock elision for x86")
Originally submitted by Damjan Marion
Signed-off-by: Keith Wiles
---
lib/librte_eal/bsdapp/eal/Makefile
Latest clang compiler 3.8.0 on latest update of Ubuntu
creates a few more warnings on -Warray-bounds and extra
() around 'if' expressions.
Signed-off-by: Keith Wiles
---
app/test-pmd/Makefile| 3 +++
app/test/Makefile| 3 +++
drivers/net/bonding/Makefile
Signed-off-by: Keith Wiles
---
drivers/net/e1000/Makefile | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/e1000/Makefile b/drivers/net/e1000/Makefile
index 5b801f5..1305163 100644
--- a/drivers/net/e1000/Makefile
+++ b/drivers/net/e1000/Makefile
@@ -48,7 +48,7
Latest clang compiler 3.8.0 on latest update of Ubuntu
creates a few more warnings on -Warray-bounds and extra
() around 'if' expressions.
Signed-off-by: Keith Wiles
---
app/test-pmd/Makefile| 3 +++
app/test/Makefile| 3 +++
drivers/net/bonding/Makefile
Signed-off-by: Keith Wiles
---
drivers/net/e1000/Makefile | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/e1000/Makefile b/drivers/net/e1000/Makefile
index 5b801f5..1305163 100644
--- a/drivers/net/e1000/Makefile
+++ b/drivers/net/e1000/Makefile
@@ -48,7 +48,7
Move the next pointer to the first cacheline of the rte_mbuf structure
and move the offload values to the second cacheline to give better
performance to applications using chained mbufs.
Enabled by a configuration option CONFIG_RTE_MBUF_CHAIN_FRIENDLY default
is set to No.
Signed-off-by: Keith
to not set.
Signed-off-by: Keith Wiles
---
config/common_base | 2 ++
drivers/net/ixgbe/ixgbe_ethdev.c | 6 +
drivers/net/ixgbe/ixgbe_rxtx_vec.c | 52 +++---
3 files changed, 57 insertions(+), 3 deletions(-)
diff --git a/config/common_base b
Move the next pointer to the first cacheline of the rte_mbuf structure
and move the offload values to the second cacheline to give better
performance to applications using chained mbufs.
Enabled by a configuration option CONFIG_RTE_MBUF_CHAIN_FRIENDLY default
is set to No.
Signed-off-by: Keith
:
Display the information in a human readable format.
Signed-off-by: Keith Wiles
---
tools/sys_info.py | 551 ++
1 file changed, 551 insertions(+)
create mode 100755 tools/sys_info.py
diff --git a/tools/sys_info.py b/tools/sys_info.py
new file
The new compiler option -Og causes a few warning on variables
being used before being set warnings. The new option allows better
debugging then -O0 without losing a lot of performance. This option
does not include -g debug symbol option.
Signed-off-by: Keith Wiles
---
lib/librte_eal/linuxapp
. Then in those OS
specific files add the delta configuration lines.
Signed-off-by: Keith Wiles
---
config/common_base | 519 +
config/common_bsdapp | 436 +
config/common_linuxapp | 460
Signed-off-by: Keith Wiles
---
config/defconfig_x86_64-native-bsdapp-clang | 1 +
config/defconfig_x86_64-native-bsdapp-gcc | 1 +
2 files changed, 2 insertions(+)
diff --git a/config/defconfig_x86_64-native-bsdapp-clang
b/config/defconfig_x86_64-native-bsdapp-clang
index d2baf2c..8b870b3
. Then in those OS
specific files add the delta configuration lines.
Signed-off-by: Keith Wiles
---
v2 - split out ARCH_64 missing defines into new patch.
Turned off linux specific items in common_base and enable them
in common_linux file.
config/common_base | 524
--lcore-map
Signed-off-by: Keith Wiles
---
doc/guides/testpmd_app_ug/run_app.rst | 16 +++
lib/librte_eal/common/eal_common_options.c | 31 --
lib/librte_eal/common/eal_options.h| 16 +++
3 files changed, 45 insertions(+), 18
. Then in those OS
specific files add the delta configuration lines.
Signed-off-by: Keith Wiles
---
config/common_base | 498
config/common_bsdapp| 436 +---
config/common_linuxapp | 491
Deprecation notice for 16.04 for changes to occur in
release 16.07 for rte_mempool memory reduction.
Signed-off-by: Keith Wiles
---
doc/guides/rel_notes/deprecation.rst | 10 ++
1 file changed, 10 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/rel_notes
. Saves about 1.5M of
memory used by the rte_mempool structure.
Allocating small mempools which do not require cache can consume
larges amounts of memory if you have a number of these mempools.
Change to be effective in release 16.07.
Signed-off-by: Keith Wiles
---
* Patch v4 remove RTE_NEXT_ABI
. Saves about 1.5M of
memory used by the rte_mempool structure.
Allocating small mempools which do not require cache can consume
larges amounts of memory if you have a number of these mempools.
Signed-off-by: Keith Wiles
---
* Patch v3 fix up the ifdefs to correct some problems in removing ifdef
Makefile.XXX in
that subtree.
The main reason I needed this feature was to integrate a autotool
open source projects with DPDK and keep the original Makefiles.
Signed-off-by: Keith Wiles
---
mk/internal/rte.extvars.mk | 2 +-
mk/rte.bsdmodule.mk| 6 +++---
mk/rte.extsubdir.mk| 2
to be dynamic depending on if the
mempool being created needs cache support. Saves about 1.5M of
memory used by the rte_mempool structure.
Allocating small mempools which do not require cache can consume
larges amounts of memory if you have a number of these mempools.
Signed-off-by: Keith Wiles
---
app
running l3fwd and the test_mempool execution passed.
Allocating small mempools which do not require cache can consume
larges amounts of memory if you have a number of these mempools.
Signed-off-by: Keith Wiles
---
app/test/test_mempool.c | 4 +--
lib/librte_mempool/rte_mempool.c | 56
The output for the core list included an extra linefeed making
the number of lines displayed much larger then required.
Signed-off-by: Keith Wiles
---
tools/cpu_layout.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/cpu_layout.py b/tools/cpu_layout.py
index 20a409d
When log level is set to 7 (INFO) these messages are still displayed
and should be set to DEBUG.
Signed-off-by: Keith Wiles
---
lib/librte_eal/common/eal_common_memory.c | 2 +-
lib/librte_eal/common/eal_common_timer.c | 2 +-
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 2 +-
3 files
the benefit of seeing the enum name in the debugger
instead of a number.
The rte_logs was set after options parsing, defaulting to
RTE_LOG_LEVEL, and it is now initialized at RTE_LOG_LEVEL
without behavioral change.
Signed-off-by: Keith Wiles
---
config/common_bsdapp| 6
the messages from the rte_eal_cpu_init() routine.
Signed-off-by: Keith Wiles
---
lib/librte_eal/bsdapp/eal/eal.c | 42 ++-
lib/librte_eal/linuxapp/eal/eal.c | 42 ++-
2 files changed, 74 insertions(+), 10 deletions(-)
diff --git
Config files used RTE_LOG_LEVEL=8 to set log level to DEBUG. Using
a the RTE_LOG_ is easier to maintain.
Converted the RTE_LOG_ defines into a enum of values with
the same names for to reduct maintaining the values and allow
debuggers to print the name of the value.
Signed-off-by: Keith
the messages from the rte_eal_cpu_init() routine.
Signed-off-by: Keith Wiles
---
lib/librte_eal/bsdapp/eal/eal.c | 43 ++-
lib/librte_eal/linuxapp/eal/eal.c | 43 ++-
2 files changed, 76 insertions(+), 10 deletions(-)
diff --git
Signed-off-by: Keith Wiles
---
lib/librte_eal/bsdapp/eal/eal.c | 20
lib/librte_eal/common/include/rte_eal.h | 32
2 files changed, 52 insertions(+)
diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c
index
Signed-off-by: Keith Wiles
---
doc/build-sdk-quick.txt | 1 +
doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++
doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +-
mk/rte.app.mk| 2 +-
4 files changed, 5 insertions(+), 2
Simplify the ifdefs in rte.app.mk to make the code more
readable and maintainable by introducing a internal
_LDLIBS-y variable to build up the LDLIBS variable.
The new internal variable _LDLIBS-y should not be
used outside of the rte.app.mk file.
Signed-off-by: Keith Wiles
---
mk/rte.app.mk
Signed-off-by: Keith Wiles
---
doc/build-sdk-quick.txt | 1 +
doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++
doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +-
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/doc/build-sdk-quick.txt b/doc
Simplify the ifdefs in rte.app.mk to make the code more
readable and maintainable by introducing a internal
_LDLIBS-y variable to build up the LDLIBS variable.
The new internal variable _LDLIBS-y should not be
used outside of the rte.app.mk file.
Signed-off-by: Keith Wiles
---
mk/rte.app.mk
Signed-off-by: Keith Wiles
---
doc/build-sdk-quick.txt | 1 +
doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++
doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +-
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/doc/build-sdk-quick.txt b/doc
Simplify the ifdefs in rte.app.mk to make the code more
readable and maintainable by moving LDLIBS variable to
use the same style as LDLIBS-y being used in the rest
of the code. The new internal variable _LDLIBS should
not be used outside of the rte.app.mk file.
Signed-off-by: Keith Wiles
Signed-off-by: Keith Wiles
---
doc/build-sdk-quick.txt | 1 +
doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++
doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +-
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/doc/build-sdk-quick.txt b/doc
LDLIBS directly. The new internal variable _LDLIBS
should not be used outside of the rte.app.mk file.
Signed-off-by: Keith Wiles
---
mk/rte.app.mk | 242 +++---
1 file changed, 60 insertions(+), 182 deletions(-)
diff --git a/mk/rte.app.mk b/mk
NO_AUTOLIBS is not required as it was not used or defined in the config files.
Signed-off-by: Keith Wiles
---
mk/rte.app.mk | 5 -
1 file changed, 5 deletions(-)
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index b8030d2..b63e346 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -54,11 +54,8
Removed the LDLIBS-y reference as it is not required.
Signed-off-by: Keith Wiles
---
doc/build-sdk-quick.txt | 1 +
doc/guides/prog_guide/build_app.rst | 2 +-
doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++
doc/guides/prog_guide
internal variable _LDLIBS
should not be used outside of the rte.app.mk file. The makefiles
can still use LDLIBS, but I would suggest using EXTRA_LDLIBS instead.
Signed-off-by: Keith Wiles
---
examples/dpdk_qat/Makefile | 4 +-
examples/vm_power_manager/Makefile | 2 +-
mk/rte.app.mk
Signed-off-by: Keith Wiles
---
doc/build-sdk-quick.txt | 1 +
doc/guides/prog_guide/build_app.rst | 2 +-
doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++
doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +-
4 files changed, 5 insertions(+), 2
internal variable _LDLIBS
should not be used outside of the rte.app.mk file. The makefiles
can still use LDLIBS, but I would suggest using EXTRA_LDLIBS instead.
Signed-off-by: Keith Wiles
---
examples/dpdk_qat/Makefile | 4 +-
examples/vm_power_manager/Makefile | 2 +-
mk/rte.app.mk
Signed-off-by: Keith Wiles
---
doc/build-sdk-quick.txt | 1 +
doc/guides/prog_guide/build_app.rst | 2 +-
doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++
doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +-
4 files changed, 5 insertions(+), 2
-off-by: Keith Wiles
---
examples/dpdk_qat/Makefile | 4 +-
examples/vm_power_manager/Makefile | 2 +-
mk/rte.app.mk | 254 ++---
mk/rte.hostapp.mk | 4 +-
mk/rte.shared.mk | 12 +-
5 files
Signed-off-by: Keith Wiles
---
doc/build-sdk-quick.txt | 1 +
doc/guides/prog_guide/build_app.rst | 2 +-
doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++
doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +-
4 files changed, 5 insertions(+), 2
-off-by: Keith Wiles
---
examples/dpdk_qat/Makefile | 4 +-
examples/vm_power_manager/Makefile | 2 +-
mk/rte.app.mk | 254 ++---
mk/rte.hostapp.mk | 4 +-
mk/rte.shared.mk | 12 +-
5 files
Signed-off-by: Keith Wiles
---
doc/build-sdk-quick.txt | 1 +
doc/guides/prog_guide/dev_kit_build_system.rst | 2 ++
doc/guides/prog_guide/dev_kit_root_make_help.rst | 2 +-
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/doc/build-sdk-quick.txt b/doc
-off-by: Keith Wiles
---
examples/dpdk_qat/Makefile | 4 +-
examples/vm_power_manager/Makefile | 2 +-
mk/rte.app.mk | 254 ++---
mk/rte.hostapp.mk | 4 +-
mk/rte.shared.mk | 12 +-
5 files
-off-by: Keith Wiles
---
examples/dpdk_qat/Makefile | 4 +-
examples/vm_power_manager/Makefile | 2 +-
mk/rte.app.mk | 254 ++---
mk/rte.hostapp.mk | 4 +-
mk/rte.shared.mk | 12 +-
5 files
Trying to simplify the ifdefs in rte.app.mk to make the code
more readable and maintainable by moving LDLIBS variable to use
the same style as LDLIBS-y being used in the rest of the code.
Signed-off-by: Keith Wiles
---
mk/rte.app.mk | 253
Signed-off-by: Keith Wiles
---
lib/librte_pmd_af_packet/rte_eth_af_packet.c | 38 +--
lib/librte_pmd_bond/rte_eth_bond_8023ad.c| 18 +-
lib/librte_pmd_bond/rte_eth_bond_alb.c | 10 +-
lib/librte_pmd_bond/rte_eth_bond_api.c | 142 +-
lib/librte_pmd_bond
Signed-off-by: Keith Wiles
---
app/test-pmd/config.c | 6 +-
app/test-pmd/testpmd.h| 4 +-
app/test/test_kni.c | 12 ++--
app/test/test_link_bonding.c | 24
app/test/virtual_pmd.c| 106
Signed-off-by: Keith Wiles
---
lib/librte_ether/rte_ethdev.c | 944 +-
lib/librte_ether/rte_ethdev.h | 340 ---
2 files changed, 466 insertions(+), 818 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
Add the eal_common_device.c and rte_common_device.h and include the
build support changes.
Signed-off-by: Keith Wiles
---
lib/librte_eal/bsdapp/eal/Makefile| 1 +
lib/librte_eal/common/Makefile| 1 +
lib/librte_eal/common/eal_common_device.c | 185
like API similar to Linux Kernel crypto
API and I want to review that code first.
Regards,
++Keith
Keith Wiles (4):
Adding the common device files for multiple device support
Add the ethdev changes for multiple device support
Add the test file changes for common device support
Update PMD
and
rte_common_dev.h, which is not done here as to not effect those files.
Signed-off-by: Keith Wiles
---
lib/librte_ether/rte_ethdev.c | 290 +-
lib/librte_ether/rte_ethdev.h | 225 ++--
2 files changed, 126 insertions(+), 389
Signed-off-by: Keith Wiles
---
lib/librte_eal/bsdapp/eal/Makefile | 1 +
lib/librte_eal/common/Makefile | 1 +
lib/librte_eal/common/include/rte_log.h | 1 +
lib/librte_eal/linuxapp/eal/Makefile| 1 +
4 files changed, 4 insertions(+)
diff --git a/lib/librte_eal/bsdapp/eal
Move a number of device specific define, structures and functions
into a generic device base set of files for all device not just Ethernet.
Signed-off-by: Keith Wiles
---
lib/librte_eal/common/eal_common_device.c | 185 +++
lib/librte_eal/common/include/rte_common_device.h | 617
Rename the RTE_ETH_PCI, VIRTUAL, ... to be RTE_DEV_PCI, ... names.
Signed-off-by: Keith Wiles
---
app/test/test_link_bonding.c | 10 +-
app/test/virtual_pmd.c | 4 ++--
examples/link_status_interrupt/main.c| 6 +++---
lib
first.
Regards,
++Keith
Keith Wiles (4):
Rename of device types to be generic device names.
Add the new common device header and C file.
Update files to build new device generic common files and headers.
Update the rte_ethdev.[ch] files for the new device generic changes.
app/test
Move the rte.extvars.mk to an internal directory and
update rte.vars.mk to find the file in the new location.
Signed-off-by: Keith Wiles
---
mk/internal/rte.extvars.mk | 81 ++
mk/rte.extvars.mk | 81
the rte.extXYZ.mk
makefile fragments.
Signed-off-by: Keith Wiles
---
mk/rte.extvars.mk | 36 ++--
1 file changed, 34 insertions(+), 2 deletions(-)
diff --git a/mk/rte.extvars.mk b/mk/rte.extvars.mk
index 3e5a990..e6c6401 100644
--- a/mk/rte.extvars.mk
+++ b/mk/rte.extvars.mk
Signed-off-by: Keith Wiles
---
lib/librte_ether/rte_ethdev.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
index bb94ccb..6fd89d7 100644
--- a/lib/librte_ether/rte_ethdev.c
+++ b/lib/librte_ether
Signed-off-by: Keith Wiles
---
lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 13 -
1 file changed, 13 deletions(-)
diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
b/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
index ad903d4..ea6f13d 100644
--- a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
+++ b/lib
Signed-off-by: Keith Wiles
---
mk/rte.extvars.mk | 4
1 file changed, 4 insertions(+)
diff --git a/mk/rte.extvars.mk b/mk/rte.extvars.mk
index 3e5a990..83a5721 100644
--- a/mk/rte.extvars.mk
+++ b/mk/rte.extvars.mk
@@ -66,6 +66,10 @@ endif
RTE_OUTPUT ?= $(RTE_SRCDIR)/build
export
;
Signer-off-by: Keith Wiles
---
lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c
b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c
index 8559ef6..de5ae09 100644
--- a/lib/librte_pmd_ixgbe
> On Nov 24, 2014, at 11:04 AM, Neil Horman wrote:
>
> On Mon, Nov 24, 2014 at 10:12:33AM -0600, Roger Keith Wiles wrote:
>> Burn, it is not like we are going to add a huge number of new options in the
>> future and run out of letters.
>>
> No, but what about the
Burn, it is not like we are going to add a huge number of new options in the
future and run out of letters.
> On Nov 24, 2014, at 8:52 AM, Venkatesan, Venky intel.com> wrote:
>
>
> On 11/24/2014 5:28 AM, Bruce Richardson wrote:
>> On Mon, Nov 24, 2014 at 02:19:16PM +0100, Thomas Monjalon
for the external parser function should return
CMDLINE_PARSE_NOMATCH
if not able to match the command requested or zero is handled.
Prototype of external routine:
int (*cmdline_external_parser_t)(struct cmdline * cl, const char * buy);
Signed-off-by: Keith Wiles
---
lib/librte_cmdline/cmdline.h
Signed-off-by: Keith Wiles
---
mk/rte.shared.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mk/rte.shared.mk b/mk/rte.shared.mk
index 42feee7..e64d471 100644
--- a/mk/rte.shared.mk
+++ b/mk/rte.shared.mk
@@ -114,7 +114,7 @@ $(SHARED): $(OBJS-y) $(LDLIBS_FILES) $(DEP_
Remove n_orig variable as it is not required.
Signed-off-by: Keith Wiles
---
lib/librte_mempool/rte_mempool.h | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h
index 95f19f9..c602cbc 100644
--- a/lib
-by: Keith Wiles
---
lib/librte_mbuf/rte_mbuf.h | 55 ++
1 file changed, 55 insertions(+)
diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h
index 1c6e115..337611b 100644
--- a/lib/librte_mbuf/rte_mbuf.h
+++ b/lib/librte_mbuf/rte_mbuf.h
.
Fixed up the comments to state the correct return values.
Signed-off-by: Keith Wiles
---
lib/librte_mbuf/rte_mbuf.h | 55 ++
1 file changed, 55 insertions(+)
diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h
index 1c6e115..337611b
directives.
Signed-off-by: Keith Wiles
---
lib/librte_mempool/rte_mempool.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h
index 95f19f9..163de86 100644
--- a/lib/librte_mempool/rte_mempool.h
+++ b/lib
Minor helper routines to mirror the mempool routines and remove the code
from applications. The ixgbe_rxtx_vec.c routine could be changed to use
the ret_pktmbuf_alloc_bulk() routine inplace of rte_mempool_get_bulk().
Signed-off-by: Keith Wiles
---
lib/librte_mbuf/rte_mbuf.h | 77
in the case where teh debug routine is not defined.
Signed-off-by: Keith Wiles
---
lib/librte_mempool/rte_mempool.h | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/lib/librte_mempool/rte_mempool.h b/lib/librte_mempool/rte_mempool.h
index 597cf4f..154fdd4 100644
--- a/lib
When enabling RTE_LIBRTE_MEMPOOL_DEBUG and compiling with clang
compiler an error occurs, because ifdefed code now includes GCC pragmas.
Signed-off-by: Keith Wiles
---
lib/librte_mempool/rte_mempool.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/librte_mempool
When enabling RTE_LIBRTE_MEMPOOL_DEBUG and compiling with clang
compiler an error occurs, because ifdefed code now includes GCC pragmas.
Signed-off-by: Keith Wiles
---
lib/librte_mempool/rte_mempool.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/librte_mempool
87 matches
Mail list logo