config: remove useless lines for DPAA2
PATCH 1/1 config: remove useless lines for DPAA2
Some comments are not relevant in a config which only overrides the default config.
The option CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER is already disabled by default so it can be removed from this file.
--- config/defconfig_arm64-dpaa2-linuxapp-gcc | 7 ------- 1 file changed, 7 deletions(-)
config/defconfig_arm64-dpaa2-linuxapp-gcc +0 -7
@@ -9,9 +9,6 @@ CONFIG_RTE_MACHINE="dpaa2" CONFIG_RTE_ARCH_ARM_TUNE="cortex-a72" -# -# Compile Environment Abstraction Layer -# CONFIG_RTE_MAX_LCORE=16 CONFIG_RTE_MAX_NUMA_NODES=1 CONFIG_RTE_CACHE_LINE_SIZE=64
@@ -22,8 +19,4 @@ CONFIG_RTE_PKTMBUF_HEADROOM=128 CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n CONFIG_RTE_LIBRTE_VHOST_NUMA=n -# -# Compile Support Libraries for DPAA2 -# CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA=n -CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER=n
Signature · 1 line
2.16.2
Quoted 26 lines · Thomas Monjalon
Some comments are not relevant in a config which only overrides the default config.
The option
CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVERis already disabled by default so it can be removed from this file.Signed-off-by Thomas Monjalon <[email protected]>--- config/defconfig_arm64-dpaa2-linuxapp-gcc | 7 ------- 1 file changed, 7 deletions(-)config/defconfig_arm64-dpaa2-linuxapp-gcc +0
-3@@ -9,9 +9,6 @@ CONFIG_RTE_MACHINE="dpaa2" CONFIG_RTE_ARCH_ARM_TUNE="cortex-a72" -# -# Compile Environment Abstraction Layer -# CONFIG_RTE_MAX_LCORE=16 CONFIG_RTE_MAX_NUMA_NODES=1 CONFIG_RTE_CACHE_LINE_SIZE=64
config/defconfig_arm64-dpaa2-linuxapp-gcc CONFIG_RTE_PKTMBUF_HEADROOM=128 · line 29
Quoted 8 lines
config/defconfig_arm64-dpaa2-linuxapp-gcc +0
-4@@ -22,8 +19,4 @@ CONFIG_RTE_PKTMBUF_HEADROOM=128 CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n CONFIG_RTE_LIBRTE_VHOST_NUMA=n -# -# Compile Support Libraries for DPAA2 -# CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA=n -CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVER=n
I think DEBUG_DRIVER should exist in local config so that a developer can easily toggle it without modifying the common_base, which should serves as repository rather than toggle.
I do see the problem that having an option in common_base and then having it again in local config without overriding (=n) - is non-intuitive.
But, I still feel it is easier to control changes in local config - (make T=<local config>) is easily visible.
03/04/2018 08:55, Shreyansh Jain:
Quoted 7 lines · Thomas Monjalon
Quoted 6 lines
Some comments are not relevant in a config which only overrides the default config.
The option
CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVERis already disabled by default so it can be removed from this file.
Quoted 8 lines
Quoted 4 lines
Signed-off-by Thomas Monjalon <[email protected]>--- config/defconfig_arm64-dpaa2-linuxapp-gcc | 7 ------- 1 file changed, 7 deletions(-)I think
DEBUG_DRIVERshould exist in local config so that a developer can easily toggle it without modifying thecommon_base, which should serves as repository rather than toggle.
No, the file to be modified is .config in the build directory, not the default config.
Quoted 5 lines
I do see the problem that having an option in
common_baseand then having it again in local config without overriding (=n) - is non-intuitive.But, I still feel it is easier to control changes in local config - (make T=<local config>) is easily visible.
It is not a local config file.
The local config is .config.
Shreyansh Jain
Acked-byQuoted 13 lines · Thomas Monjalon
03/04/2018 08:55, Shreyansh Jain:
Quoted 12 lines · Thomas Monjalon
Quoted 10 lines
Some comments are not relevant in a config which only overrides the default config.
The option
CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVERis already disabled by default so it can be removed from this file.Signed-off-by Thomas Monjalon <[email protected]>--- config/defconfig_arm64-dpaa2-linuxapp-gcc | 7 ------- 1 file changed, 7 deletions(-)
Quoted 6 lines
Quoted 3 lines
I think
DEBUG_DRIVERshould exist in local config so that a developer can easily toggle it without modifying thecommon_base, which should serves as repository rather than toggle.No, the file to be modified is .config in the build directory, not the default config.
In my environment I prefer changing the platform config rather than local .config as that way I can track changes through git.
Quoted 9 lines
Quoted 6 lines
I do see the problem that having an option in
common_baseand then having it again in local config without overriding (=n) - is non-intuitive.But, I still feel it is easier to control changes in local config - (make T=<local config>) is easily visible.
It is not a local config file.
The local config is .config.
Sorry, allow me to rephrase my previous wordings:
s/local config/platform config/
Anyways, this is just my personal preference - not a big inconvenience. Thanks for the patch.
Thomas Monjalon
Applied03/04/2018 11:43, Shreyansh Jain:
Quoted 34 lines · Thomas Monjalon
Quoted 13 lines
03/04/2018 08:55, Shreyansh Jain:
Quoted 12 lines · Thomas Monjalon
Quoted 10 lines
Some comments are not relevant in a config which only overrides the default config.
The option
CONFIG_RTE_LIBRTE_DPAA2_DEBUG_DRIVERis already disabled by default so it can be removed from this file.Signed-off-by Thomas Monjalon <[email protected]>--- config/defconfig_arm64-dpaa2-linuxapp-gcc | 7 ------- 1 file changed, 7 deletions(-)Quoted 6 lines
Quoted 3 lines
I think
DEBUG_DRIVERshould exist in local config so that a developer can easily toggle it without modifying thecommon_base, which should serves as repository rather than toggle.No, the file to be modified is .config in the build directory, not the default config.
In my environment I prefer changing the platform config rather than local .config as that way I can track changes through git.
Quoted 9 lines
Quoted 6 lines
I do see the problem that having an option in
common_baseand then having it again in local config without overriding (=n) - is non-intuitive.But, I still feel it is easier to control changes in local config - (make T=<local config>) is easily visible.
It is not a local config file.
The local config is .config.
Quoted 8 lines
Sorry, allow me to rephrase my previous wordings:
s/local config/platform config/
Anyways, this is just my personal preference - not a big inconvenience. Thanks for the patch.
Acked-by Shreyansh Jain <[email protected]>
Applied