Thread (5 messages) 5 messages, 3 authors, 2017-08-08

Re: [PATCH net-next] ibmvnic: Add netdev_dbg output for debugging

flat view

From: Joe Perches <joe@perches.com>
Date: 2017-08-07 15:29:59

On Mon, 2017-08-07 at 15:02 -0400, Nathan Fontenot wrote:
To ease debugging of the ibmvnic driver add a series of netdev_dbg()
statements to track driver status, especially during initialization,
removal, and resetting of the driver.
For some of the function entry logging, it seems
better to use ftrace instead.
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c
[]
quoted hunk ↗ jump to hunk
@@ -389,6 +389,8 @@ static int init_stats_token(struct ibmvnic_adapter *adapter)
 	struct device *dev = &adapter->vdev->dev;
 	dma_addr_t stok;
 
+	netdev_dbg(adapter->netdev, "Initializing stats token\n");
here and subsequent.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help