Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
U
udpdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ywj
udpdk
Commits
52de4502
Commit
52de4502
authored
Nov 05, 2020
by
Leonardo Lai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update DPDK to 20.05
parent
9fac978e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
README.md
README.md
+3
-3
apps/pingpong/Makefile
apps/pingpong/Makefile
+2
-2
apps/pktgen/Makefile
apps/pktgen/Makefile
+2
-2
dpdk
dpdk
+1
-1
No files found.
README.md
View file @
52de4502
...
@@ -38,7 +38,7 @@ The list of hardware officially supported by DPDK is available [here](https://co
...
@@ -38,7 +38,7 @@ The list of hardware officially supported by DPDK is available [here](https://co
## Install Dependencies
## Install Dependencies
UDPDK requires:
UDPDK requires:
-
DPDK
19.11
-
DPDK
20.05
-
inih (any)
-
inih (any)
They are already included in this repository as submodules, so pull them:
They are already included in this repository as submodules, so pull them:
...
@@ -56,9 +56,9 @@ cd dpdk/usertools
...
@@ -56,9 +56,9 @@ cd dpdk/usertools
```
```
From the menu, do the following:
From the menu, do the following:
1.
Compile for your specific arch, usually
`x86_64-native-linuxapp-gcc`
1.
Compile for your specific arch, usually
`x86_64-native-linuxapp-gcc`
2.
Load the
`
igb
`
module
2.
Load the
`
vfio
`
module
3.
Configure hugepages (e.g. 1024M for each NUMA node)
3.
Configure hugepages (e.g. 1024M for each NUMA node)
4.
Bind the NIC to
igb
driver, specifying its PCI address
4.
Bind the NIC to
vfio
driver, specifying its PCI address
### inih
### inih
...
...
apps/pingpong/Makefile
View file @
52de4502
...
@@ -17,7 +17,7 @@ endif
...
@@ -17,7 +17,7 @@ endif
SRCS
=
main.c
SRCS
=
main.c
LIBS
+=
-L
${UDPDK_PATH}
/udpdk
-Wl
,--whole-archive,-ludpdk,--no-whole-archive
LIBS
+=
-L
${UDPDK_PATH}
/udpdk
-Wl
,--whole-archive,-ludpdk,--no-whole-archive
LIBS
+=
-Wl
,--whole-archive,-ldpdk,--no-whole-archive
LIBS
+=
-
L
${RTE_SDK}
/
${RTE_TARGET}
/lib
-
Wl
,--whole-archive,-ldpdk,--no-whole-archive
LIBS
+=
-Wl
,--no-whole-archive
-lrt
-lm
-ldl
-lcrypto
-pthread
-lnuma
LIBS
+=
-Wl
,--no-whole-archive
-lrt
-lm
-ldl
-lcrypto
-pthread
-lnuma
CFLAGS
+=
$(WERROR_FLAGS)
-O3
CFLAGS
+=
$(WERROR_FLAGS)
-O3
...
@@ -28,4 +28,4 @@ all:
...
@@ -28,4 +28,4 @@ all:
.PHONY
:
clean
.PHONY
:
clean
clean
:
clean
:
rm
-f
*
.o
${TARGET}
rm
-f
*
.o
${TARGET}
\ No newline at end of file
apps/pktgen/Makefile
View file @
52de4502
...
@@ -17,7 +17,7 @@ endif
...
@@ -17,7 +17,7 @@ endif
SRCS
=
main.c
SRCS
=
main.c
LIBS
+=
-L
${UDPDK_PATH}
/udpdk
-Wl
,--whole-archive,-ludpdk,--no-whole-archive
LIBS
+=
-L
${UDPDK_PATH}
/udpdk
-Wl
,--whole-archive,-ludpdk,--no-whole-archive
LIBS
+=
-Wl
,--whole-archive,-ldpdk,--no-whole-archive
LIBS
+=
-
L
${RTE_SDK}
/
${RTE_TARGET}
/lib
-
Wl
,--whole-archive,-ldpdk,--no-whole-archive
LIBS
+=
-Wl
,--no-whole-archive
-lrt
-lm
-ldl
-lcrypto
-pthread
-lnuma
LIBS
+=
-Wl
,--no-whole-archive
-lrt
-lm
-ldl
-lcrypto
-pthread
-lnuma
CFLAGS
+=
$(WERROR_FLAGS)
-O3
CFLAGS
+=
$(WERROR_FLAGS)
-O3
...
@@ -28,4 +28,4 @@ all:
...
@@ -28,4 +28,4 @@ all:
.PHONY
:
clean
.PHONY
:
clean
clean
:
clean
:
rm
-f
*
.o
${TARGET}
rm
-f
*
.o
${TARGET}
\ No newline at end of file
dpdk
@
e2a23448
Subproject commit
7001c8fdb27357c67147c0a13cb3826e48c0f2bf
Subproject commit
e2a234488854fdeee267a2aa582aa082fce01d6e
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment