Tags: shimingyah/dpdk
Tags
eal: remove another use of 'register' keyword The 'register' keyword does nothing, and has been removed in C++17. Remove it for compatibility. Signed-off-by: Avi Kivity <[email protected]>
eal: remove use of 'register' keyword The 'register' keyword does nothing, and has been removed in C++17. Remove it for compatibility. Signed-off-by: Avi Kivity <[email protected]> Message-Id: <[email protected]>
mk: passing ROOTDIRS-y one more target To fix scylladb/scylladb#2595, we need ROOTDIRS-y for rte.sdkbuild.mk, too. Signed-off-by: Takuya ASADA <[email protected]> Message-Id: <[email protected]> (cherry picked from commit 10a8b45)
net: i40e: add VLAN tag size to RXMAX HW requires it regardless the presence of the VLAN tag in the received frame. Otherwise Rx frames are being filtered out on the MTU-4 boundary. Signed-off-by: Vlad Zolotarov <[email protected]> Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Takuya ASADA <[email protected]>
eal/linux: fix build with glibc 2.25 glibc 2.25 is warning about if applications depend on sys/types.h for makedev macro, it expects to be included from <sys/sysmacros.h> Found this error while testing with GCC 6.3.1 on archlinux. lib/librte_eal/linuxapp/eal/eal_pci_uio.c: In function ‘pci_mknod_uio_dev’: lib/librte_eal/linuxapp/eal/eal_pci_uio.c:134:13: error: In the GNU C Library, "makedev" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "makedev", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after including <sys/types.h>. [-Werror] dev = makedev(major, minor); ^~~~~~~~~~~~~~~~~ Signed-off-by: Jerin Jacob <[email protected]> (cherry picked from commit 9256eed)
mk: passing ROOTDIRS-y one more target To fix scylladb/scylladb#2595, we need ROOTDIRS-y for rte.sdkbuild.mk, too. Signed-off-by: Takuya ASADA <[email protected]> Message-Id: <[email protected]>
mk: passing ROOTDIRS-y via program argument for rte.sdkdepdirs.mk Passing ROOTDIRS-y via environment variable fails when build directory is under /build/scylla-server-2.0~rc0-xxx for some reason, so building DPDK fails: scylladb/scylladb#2595 To prevent this, pass the parameter in different way. See scylladb/scylladb#2595 Signed-off-by: Takuya ASADA <[email protected]> Message-Id: <[email protected]>
net: i40e: add VLAN tag size to RXMAX HW requires it regardless the presence of the VLAN tag in the received frame. Otherwise Rx frames are being filtered out on the MTU-4 boundary. Signed-off-by: Vlad Zolotarov <[email protected]> Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Takuya ASADA <[email protected]>
net: i40e: add VLAN tag size to RXMAX HW requires it regardless the presence of the VLAN tag in the received frame. Otherwise Rx frames are being filtered out on the MTU-4 boundary. Signed-off-by: Vlad Zolotarov <[email protected]> Signed-off-by: Avi Kivity <[email protected]> Signed-off-by: Takuya ASADA <[email protected]>
mk: prevent triggers newly added warnings on gcc-6.1, to make dpdk co… …mpilable on newer distributions Some of codes on this version of dpdk cannot compile on gcc-6.1 because of newly added warnings, so just skip them until we upgrade to newer version of dpdk. This makes able to compile Seastar on Fedora 24. Signed-off-by: Takuya ASADA <[email protected]> Message-Id: <[email protected]> Signed-off-by: Avi Kivity <[email protected]>
PreviousNext