remove unnecessary null checksFunctions like free, rte_free, and rte_mempool_freealready handle NULL pointer so the checks here are not necessary.Remove redundant NULL pointer checks before free
remove unnecessary null checksFunctions like free, rte_free, and rte_mempool_freealready handle NULL pointer so the checks here are not necessary.Remove redundant NULL pointer checks before free functionsfound by nullfree.cocciSigned-off-by: Stephen Hemminger <[email protected]>
show more ...
fix spelling in comments and stringsThe tool comes from https://github.com/jsorefSigned-off-by: Josh Soref <[email protected]>Signed-off-by: Thomas Monjalon <[email protected]>
bbdev: add device info for data endiannessAdded device information to capture explicitly the assumptionof the input/output data byte endianness being processed.Signed-off-by: Nicolas Chautru <ni
bbdev: add device info for data endiannessAdded device information to capture explicitly the assumptionof the input/output data byte endianness being processed.Signed-off-by: Nicolas Chautru <[email protected]>Signed-off-by: Nipun Gupta <[email protected]>Acked-by: Akhil Goyal <[email protected]>
version: 21.11-rc0Start a new release cycle with empty release notes.The ABI version becomes 22.0.The map files are updated to the new ABI major number (22).The ABI exceptions are dropped and C
version: 21.11-rc0Start a new release cycle with empty release notes.The ABI version becomes 22.0.The map files are updated to the new ABI major number (22).The ABI exceptions are dropped and CI ABI checks are disabled becausecompatibility is not preserved.Signed-off-by: Thomas Monjalon <[email protected]>Acked-by: Ferruh Yigit <[email protected]>Acked-by: David Marchand <[email protected]>
log: register with standardized namesLet's try to enforce the convention where most drivers use a pmd. logtypewith their class reflected in it, and libraries use a lib. logtype.Introduce two new
log: register with standardized namesLet's try to enforce the convention where most drivers use a pmd. logtypewith their class reflected in it, and libraries use a lib. logtype.Introduce two new macros:- RTE_LOG_REGISTER_DEFAULT can be used when a single logtype is used in a component. It is associated to the default name provided by the build system,- RTE_LOG_REGISTER_SUFFIX can be used when multiple logtypes are used, and then the passed name is appended to the default name,RTE_LOG_REGISTER is left untouched for existing external usersand for components that do not comply with the convention.There is a new Meson variable log_prefix to adapt the default namefor baseband (pmd.bb.), bus (no pmd.) and mempool (no pmd.) classes.Note: achieved with below commands + reverted change on net/bonding +edits on crypto/virtio, compress/mlx5, regex/mlx5$ git grep -l RTE_LOG_REGISTER drivers/ | while read file; do pattern=${file##drivers/}; class=${pattern%%/*}; pattern=${pattern#$class/}; drv=${pattern%%/*}; case "$class" in baseband) pattern=pmd.bb.$drv;; bus) pattern=bus.$drv;; mempool) pattern=mempool.$drv;; *) pattern=pmd.$class.$drv;; esac sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern',/RTE_LOG_REGISTER_DEFAULT(\1,/' $file; sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern'\.\(.*\),/RTE_LOG_REGISTER_SUFFIX(\1, \2,/' $file; done$ git grep -l RTE_LOG_REGISTER lib/ | while read file; do pattern=${file##lib/}; pattern=lib.${pattern%%/*}; sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern',/RTE_LOG_REGISTER_DEFAULT(\1,/' $file; sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern'\.\(.*\),/RTE_LOG_REGISTER_SUFFIX(\1, \2,/' $file; doneSigned-off-by: David Marchand <[email protected]>Signed-off-by: Thomas Monjalon <[email protected]>Acked-by: Bruce Richardson <[email protected]>
build: remove library name from version map file nameSince each version map file is contained in the subdirectory of the libraryit refers to, there is no need to include the library name in the fi
build: remove library name from version map file nameSince each version map file is contained in the subdirectory of the libraryit refers to, there is no need to include the library name in the filename.This makes things simpler in case of library renaming.Signed-off-by: Bruce Richardson <[email protected]>Acked-by: Luca Boccassi <[email protected]>Acked-by: Andrew Rybchenko <[email protected]>Acked-by: Rosen Xu <[email protected]>
build: remove makefilesA decision was made [1] to no longer support Make in DPDK, this patchremoves all Makefiles that do not make use of pkg-config, along withthe mk directory previously used by
build: remove makefilesA decision was made [1] to no longer support Make in DPDK, this patchremoves all Makefiles that do not make use of pkg-config, along withthe mk directory previously used by make.[1] https://mails.dpdk.org/archives/dev/2020-April/162839.htmlSigned-off-by: Ciara Power <[email protected]>Reviewed-by: Ruifeng Wang <[email protected]>Signed-off-by: Thomas Monjalon <[email protected]>
version: 20.11-rc0Start a new release cycle with empty release notes.The ABI version becomes 21.0.The ABI major is back to normal, having only one number (21 vs 20.0).The map files are updated
version: 20.11-rc0Start a new release cycle with empty release notes.The ABI version becomes 21.0.The ABI major is back to normal, having only one number (21 vs 20.0).The map files are updated to the new ABI major number (21).The ABI exceptions are dropped.Travis ABI check is disabled because compatibility is not preserved.Signed-off-by: Thomas Monjalon <[email protected]>Acked-by: Ray Kinsella <[email protected]>
log: introduce logtype register macroIntroduce the RTE_LOG_REGISTER macro to avoid the code duplicationin the logtype registration process.It is a wrapper macro for declaring the logtype, regist
log: introduce logtype register macroIntroduce the RTE_LOG_REGISTER macro to avoid the code duplicationin the logtype registration process.It is a wrapper macro for declaring the logtype, registering it andsetting its level in the constructor context.Signed-off-by: Jerin Jacob <[email protected]>Acked-by: Adam Dybkowski <[email protected]>Acked-by: Sachin Saxena <[email protected]>Acked-by: Akhil Goyal <[email protected]>
build: disable experimental API check internallyRemove setting ALLOW_EXPERIMENTAL_API individually for each Makefile andmeson.build. Instead, enable ALLOW_EXPERIMENTAL_API flag across app, liband
build: disable experimental API check internallyRemove setting ALLOW_EXPERIMENTAL_API individually for each Makefile andmeson.build. Instead, enable ALLOW_EXPERIMENTAL_API flag across app, liband drivers.This changes reduces the clutter across the project while stillmaintaining the functionality of ALLOW_EXPERIMENTAL_API i.e. warningexternal applications about experimental API usage.Signed-off-by: Pavan Nikhilesh <[email protected]>Acked-by: Hemant Agrawal <[email protected]>Signed-off-by: David Marchand <[email protected]>
build: align symbols with global ABI versionMerge all versions in linker version script files to DPDK_20.0.This commit was generated by running the following command::~/DPDK$ buildtools/update-
build: align symbols with global ABI versionMerge all versions in linker version script files to DPDK_20.0.This commit was generated by running the following command::~/DPDK$ buildtools/update-abi.sh 20.0Signed-off-by: Pawel Modrak <[email protected]>Signed-off-by: Anatoly Burakov <[email protected]>Acked-by: Bruce Richardson <[email protected]>Acked-by: Thomas Monjalon <[email protected]>
build: remove individual library versionsSince the library versioning for both stable and experimental ABI's isnow managed globally, the LIBABIVER and version variables no longerserve any useful
build: remove individual library versionsSince the library versioning for both stable and experimental ABI's isnow managed globally, the LIBABIVER and version variables no longerserve any useful purpose, and can be removed.The replacement in Makefiles was done using the following regex: ^(#.*\n)?LIBABIVER\s*:=\s*\d+\n(\s*\n)?(LIBABIVER := numbers, optionally preceded by a comment and optionallysucceeded by an empty line)The replacement for meson files was done using the following regex: ^(#.*\n)?version\s*=\s*\d+\n(\s*\n)?(version = numbers, optionally preceded by a comment and optionallysucceeded by an empty line)[David]: those variables are manually removed for the files:- drivers/common/qat/Makefile- lib/librte_eal/meson.build[David]: the LIBABIVER is restored for the external ethtool examplelibrary.Signed-off-by: Anatoly Burakov <[email protected]>Signed-off-by: David Marchand <[email protected]>Acked-by: Thomas Monjalon <[email protected]>
drivers/baseband: remove override of driver namesNow that all driver names follow a consistent pattern, remove the overrideof the name in each driver which adds the prefix. Instead we can just add
drivers/baseband: remove override of driver namesNow that all driver names follow a consistent pattern, remove the overrideof the name in each driver which adds the prefix. Instead we can just addthe prefix at a higher level.Signed-off-by: Bruce Richardson <[email protected]>
baseband/null: add in meson buildSigned-off-by: Luca Boccassi <[email protected]>
remove useless constructor headersA constructor is usually declared with RTE_INIT* macros.As it is a static function, no need to declare before its definition.The macro is used directly in the fu
remove useless constructor headersA constructor is usually declared with RTE_INIT* macros.As it is a static function, no need to declare before its definition.The macro is used directly in the function definition.Signed-off-by: Thomas Monjalon <[email protected]>
bbdev: change names of baseband devicesChange baseband device name: - from turbo_sw to baseband_turbo_sw - from bbdev_null to baseband_nullTo keep backwards compatibility the old names are still
bbdev: change names of baseband devicesChange baseband device name: - from turbo_sw to baseband_turbo_sw - from bbdev_null to baseband_nullTo keep backwards compatibility the old names are still validSigned-off-by: Kamil Chalupnik <[email protected]>Acked-by: Amr Mokhtar <[email protected]>
bbdev: split queue groupsSplitting Queue Groups into UL/DL Groups in Turbo SoftwareDriver. They are independent for Decode/Encode.Release note updated accordingly.Signed-off-by: Kamil Chalupnik
bbdev: split queue groupsSplitting Queue Groups into UL/DL Groups in Turbo SoftwareDriver. They are independent for Decode/Encode.Release note updated accordingly.Signed-off-by: Kamil Chalupnik <[email protected]>Acked-by: Amr Mokhtar <[email protected]>
drivers: rename bbdev directory to basebandThe drivers directory contains some sub-directoriesfor each kind of device (or bus, mem): net, crypto, event, rawThey are not suffixed with "dev" becau
drivers: rename bbdev directory to basebandThe drivers directory contains some sub-directoriesfor each kind of device (or bus, mem): net, crypto, event, rawThey are not suffixed with "dev" because it is obvious.For consistency, the sub-directory drivers/bbdev/is renamed to drivers/baseband/.Signed-off-by: Thomas Monjalon <[email protected]>Acked-by: Amr Mokhtar <[email protected]>