Commit 52de4502 authored by Leonardo Lai's avatar Leonardo Lai

update DPDK to 20.05

parent 9fac978e
......@@ -38,7 +38,7 @@ The list of hardware officially supported by DPDK is available [here](https://co
## Install Dependencies
UDPDK requires:
- DPDK 19.11
- DPDK 20.05
- inih (any)
They are already included in this repository as submodules, so pull them:
......@@ -56,9 +56,9 @@ cd dpdk/usertools
```
From the menu, do the following:
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)
4. Bind the NIC to igb driver, specifying its PCI address
4. Bind the NIC to vfio driver, specifying its PCI address
### inih
......
......@@ -17,7 +17,7 @@ endif
SRCS= main.c
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
CFLAGS += $(WERROR_FLAGS) -O3
......@@ -28,4 +28,4 @@ all:
.PHONY: clean
clean:
rm -f *.o ${TARGET}
\ No newline at end of file
rm -f *.o ${TARGET}
......@@ -17,7 +17,7 @@ endif
SRCS= main.c
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
CFLAGS += $(WERROR_FLAGS) -O3
......@@ -28,4 +28,4 @@ all:
.PHONY: clean
clean:
rm -f *.o ${TARGET}
\ No newline at end of file
rm -f *.o ${TARGET}
Subproject commit 7001c8fdb27357c67147c0a13cb3826e48c0f2bf
Subproject commit e2a234488854fdeee267a2aa582aa082fce01d6e
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment