* [dpdk-dev] [PATCH 0/3] leftover INIT_DEBUG stuff
@ 2018-10-12 23:42 Stephen Hemminger
2018-10-12 23:42 ` [dpdk-dev] [PATCH 1/3] doc: remove INIT_DEBUG from ena Stephen Hemminger
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Stephen Hemminger @ 2018-10-12 23:42 UTC (permalink / raw)
To: dev; +Cc: Stephen Hemminger
Was looking around and found some leftover references to
old INIT_DEBUG configurations.
Stephen Hemminger (3):
doc: remove INIT_DEBUG from ena
doc: liquidio remove documentation for old config options
qede: remove #ifdef for INIT_DEBUG
doc/guides/nics/ena.rst | 4 ----
doc/guides/nics/liquidio.rst | 8 --------
drivers/net/qede/qede_ethdev.c | 9 +--------
3 files changed, 1 insertion(+), 20 deletions(-)
--
2.19.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [dpdk-dev] [PATCH 1/3] doc: remove INIT_DEBUG from ena
2018-10-12 23:42 [dpdk-dev] [PATCH 0/3] leftover INIT_DEBUG stuff Stephen Hemminger
@ 2018-10-12 23:42 ` Stephen Hemminger
2018-10-12 23:42 ` [dpdk-dev] [PATCH 2/3] doc: liquidio remove documentation for old config options Stephen Hemminger
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Stephen Hemminger @ 2018-10-12 23:42 UTC (permalink / raw)
To: dev; +Cc: Stephen Hemminger
The ena driver has used dynamic log type to enable init debugging since 18.05
but the documentation still has leftover mention of the config option.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
doc/guides/nics/ena.rst | 4 ----
1 file changed, 4 deletions(-)
diff --git a/doc/guides/nics/ena.rst b/doc/guides/nics/ena.rst
index 695960d4c9f8..34c48575bf71 100644
--- a/doc/guides/nics/ena.rst
+++ b/doc/guides/nics/ena.rst
@@ -113,10 +113,6 @@ Configuration information
* **CONFIG_RTE_LIBRTE_ENA_PMD** (default y): Enables or disables inclusion
of the ENA PMD driver in the DPDK compilation.
-
- * **CONFIG_RTE_LIBRTE_ENA_DEBUG_INIT** (default y): Enables or disables debug
- logging of device initialization within the ENA PMD driver.
-
* **CONFIG_RTE_LIBRTE_ENA_DEBUG_RX** (default n): Enables or disables debug
logging of RX logic within the ENA PMD driver.
--
2.19.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [dpdk-dev] [PATCH 2/3] doc: liquidio remove documentation for old config options
2018-10-12 23:42 [dpdk-dev] [PATCH 0/3] leftover INIT_DEBUG stuff Stephen Hemminger
2018-10-12 23:42 ` [dpdk-dev] [PATCH 1/3] doc: remove INIT_DEBUG from ena Stephen Hemminger
@ 2018-10-12 23:42 ` Stephen Hemminger
2018-10-12 23:42 ` [dpdk-dev] [PATCH 3/3] qede: remove #ifdef for INIT_DEBUG Stephen Hemminger
2018-10-15 10:10 ` [dpdk-dev] [PATCH 0/3] leftover INIT_DEBUG stuff Ferruh Yigit
3 siblings, 0 replies; 6+ messages in thread
From: Stephen Hemminger @ 2018-10-12 23:42 UTC (permalink / raw)
To: dev; +Cc: Stephen Hemminger
The config options for init and debug driver were replaced by
dynamic log levels.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
doc/guides/nics/liquidio.rst | 8 --------
1 file changed, 8 deletions(-)
diff --git a/doc/guides/nics/liquidio.rst b/doc/guides/nics/liquidio.rst
index 87b42cdc4835..e2a38004d0d6 100644
--- a/doc/guides/nics/liquidio.rst
+++ b/doc/guides/nics/liquidio.rst
@@ -30,14 +30,6 @@ Please note that enabling debugging options may affect system performance.
Toggle compilation of LiquidIO PMD.
-- ``CONFIG_RTE_LIBRTE_LIO_DEBUG_DRIVER`` (default ``n``)
-
- Toggle display of generic debugging messages.
-
-- ``CONFIG_RTE_LIBRTE_LIO_DEBUG_INIT`` (default ``n``)
-
- Toggle display of initialization related messages.
-
- ``CONFIG_RTE_LIBRTE_LIO_DEBUG_RX`` (default ``n``)
Toggle display of receive fast path run-time messages.
--
2.19.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [dpdk-dev] [PATCH 3/3] qede: remove #ifdef for INIT_DEBUG
2018-10-12 23:42 [dpdk-dev] [PATCH 0/3] leftover INIT_DEBUG stuff Stephen Hemminger
2018-10-12 23:42 ` [dpdk-dev] [PATCH 1/3] doc: remove INIT_DEBUG from ena Stephen Hemminger
2018-10-12 23:42 ` [dpdk-dev] [PATCH 2/3] doc: liquidio remove documentation for old config options Stephen Hemminger
@ 2018-10-12 23:42 ` Stephen Hemminger
2018-10-15 10:10 ` [dpdk-dev] [PATCH 0/3] leftover INIT_DEBUG stuff Ferruh Yigit
3 siblings, 0 replies; 6+ messages in thread
From: Stephen Hemminger @ 2018-10-12 23:42 UTC (permalink / raw)
To: dev; +Cc: Stephen Hemminger
Now that logging of initialization is controlled by dynamic debug
level, remove the #ifdef for RTE_LIBRTE_QEDE_DEBUG_INIT since that
config option does not exist in common_base and is not documented.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
drivers/net/qede/qede_ethdev.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/drivers/net/qede/qede_ethdev.c b/drivers/net/qede/qede_ethdev.c
index 18d244a9367c..5745832b98a3 100644
--- a/drivers/net/qede/qede_ethdev.c
+++ b/drivers/net/qede/qede_ethdev.c
@@ -1380,14 +1380,11 @@ qede_link_update(struct rte_eth_dev *eth_dev, __rte_unused int wait_to_complete)
static void qede_promiscuous_enable(struct rte_eth_dev *eth_dev)
{
-#ifdef RTE_LIBRTE_QEDE_DEBUG_INIT
struct qede_dev *qdev = eth_dev->data->dev_private;
struct ecore_dev *edev = &qdev->edev;
+ enum qed_filter_rx_mode_type type = QED_FILTER_RX_MODE_TYPE_PROMISC;
PMD_INIT_FUNC_TRACE(edev);
-#endif
-
- enum qed_filter_rx_mode_type type = QED_FILTER_RX_MODE_TYPE_PROMISC;
if (rte_eth_allmulticast_get(eth_dev->data->port_id) == 1)
type |= QED_FILTER_RX_MODE_TYPE_MULTI_PROMISC;
@@ -1397,12 +1394,10 @@ static void qede_promiscuous_enable(struct rte_eth_dev *eth_dev)
static void qede_promiscuous_disable(struct rte_eth_dev *eth_dev)
{
-#ifdef RTE_LIBRTE_QEDE_DEBUG_INIT
struct qede_dev *qdev = eth_dev->data->dev_private;
struct ecore_dev *edev = &qdev->edev;
PMD_INIT_FUNC_TRACE(edev);
-#endif
if (rte_eth_allmulticast_get(eth_dev->data->port_id) == 1)
qed_configure_filter_rx_mode(eth_dev,
@@ -2648,12 +2643,10 @@ static int qede_eth_dev_init(struct rte_eth_dev *eth_dev)
static int qede_dev_common_uninit(struct rte_eth_dev *eth_dev)
{
-#ifdef RTE_LIBRTE_QEDE_DEBUG_INIT
struct qede_dev *qdev = eth_dev->data->dev_private;
struct ecore_dev *edev = &qdev->edev;
PMD_INIT_FUNC_TRACE(edev);
-#endif
/* only uninitialize in the primary process */
if (rte_eal_process_type() != RTE_PROC_PRIMARY)
--
2.19.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH 0/3] leftover INIT_DEBUG stuff
2018-10-12 23:42 [dpdk-dev] [PATCH 0/3] leftover INIT_DEBUG stuff Stephen Hemminger
` (2 preceding siblings ...)
2018-10-12 23:42 ` [dpdk-dev] [PATCH 3/3] qede: remove #ifdef for INIT_DEBUG Stephen Hemminger
@ 2018-10-15 10:10 ` Ferruh Yigit
2018-10-15 10:13 ` Ferruh Yigit
3 siblings, 1 reply; 6+ messages in thread
From: Ferruh Yigit @ 2018-10-15 10:10 UTC (permalink / raw)
To: Stephen Hemminger, dev
On 10/13/2018 12:42 AM, Stephen Hemminger wrote:
> Was looking around and found some leftover references to
> old INIT_DEBUG configurations.
>
> Stephen Hemminger (3):
> doc: remove INIT_DEBUG from ena
> doc: liquidio remove documentation for old config options
> qede: remove #ifdef for INIT_DEBUG
For series,
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-dev] [PATCH 0/3] leftover INIT_DEBUG stuff
2018-10-15 10:10 ` [dpdk-dev] [PATCH 0/3] leftover INIT_DEBUG stuff Ferruh Yigit
@ 2018-10-15 10:13 ` Ferruh Yigit
0 siblings, 0 replies; 6+ messages in thread
From: Ferruh Yigit @ 2018-10-15 10:13 UTC (permalink / raw)
To: Stephen Hemminger, dev
On 10/15/2018 11:10 AM, Ferruh Yigit wrote:
> On 10/13/2018 12:42 AM, Stephen Hemminger wrote:
>> Was looking around and found some leftover references to
>> old INIT_DEBUG configurations.
>>
>> Stephen Hemminger (3):
>> doc: remove INIT_DEBUG from ena
>> doc: liquidio remove documentation for old config options
>> qede: remove #ifdef for INIT_DEBUG
>
> For series,
> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Series applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-10-15 10:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-12 23:42 [dpdk-dev] [PATCH 0/3] leftover INIT_DEBUG stuff Stephen Hemminger
2018-10-12 23:42 ` [dpdk-dev] [PATCH 1/3] doc: remove INIT_DEBUG from ena Stephen Hemminger
2018-10-12 23:42 ` [dpdk-dev] [PATCH 2/3] doc: liquidio remove documentation for old config options Stephen Hemminger
2018-10-12 23:42 ` [dpdk-dev] [PATCH 3/3] qede: remove #ifdef for INIT_DEBUG Stephen Hemminger
2018-10-15 10:10 ` [dpdk-dev] [PATCH 0/3] leftover INIT_DEBUG stuff Ferruh Yigit
2018-10-15 10:13 ` Ferruh Yigit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).