mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Stefan Kerkmann <s.kerkmann@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
	 BAREBOX <barebox@lists.infradead.org>
Cc: Stefan Kerkmann <s.kerkmann@pengutronix.de>
Subject: [PATCH 3/4] net: usb: usbnet: calm noisy debug calls
Date: Thu, 07 Aug 2025 17:53:12 +0200	[thread overview]
Message-ID: <20250807-fix-rtl8152-dropped-packages-v1-3-a71d05b4d166@pengutronix.de> (raw)
In-Reply-To: <20250807-fix-rtl8152-dropped-packages-v1-0-a71d05b4d166@pengutronix.de>

These calls are in a hot path so adding #DEBUG to this file will spam
the console.

Signed-off-by: Stefan Kerkmann <s.kerkmann@pengutronix.de>
---
 drivers/net/usb/usbnet.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c
index 91ce1f00fa24471a8c4afac7358ff8665897f063..6e3ee4d552be36fe6bb052ae29f04a0650b4567d 100644
--- a/drivers/net/usb/usbnet.c
+++ b/drivers/net/usb/usbnet.c
@@ -85,7 +85,7 @@ static int usbnet_send(struct eth_device *edev, void *eth_data, int data_length)
 	struct driver_info	*info = dev->driver_info;
 	int			len, alen, ret;
 
-	dev_dbg(&edev->dev, "%s\n",__func__);
+	dev_vdbg(&edev->dev, "%s\n", __func__);
 
 	/* some devices want funky USB-level framing, for
 	 * win32 driver (usually) and/or hardware quirks
@@ -121,7 +121,7 @@ static void usbnet_recv(struct eth_device *edev)
 	struct driver_info	*info = dev->driver_info;
 	int len, ret, alen = 0;
 
-	dev_dbg(&edev->dev, "%s\n",__func__);
+	dev_vdbg(&edev->dev, "%s\n", __func__);
 
 	len = dev->rx_urb_size;
 

-- 
2.39.5




  parent reply	other threads:[~2025-08-07 15:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-07 15:53 [PATCH 0/4] net: usb: r8152: disable rx aggregation Stefan Kerkmann
2025-08-07 15:53 ` [PATCH 1/4] " Stefan Kerkmann
2025-08-07 15:53 ` [PATCH 2/4] net: usb: r8152: print the detected version Stefan Kerkmann
2025-08-07 15:53 ` Stefan Kerkmann [this message]
2025-08-07 15:53 ` [PATCH 4/4] net: usb: add debug call in the receive path Stefan Kerkmann
2025-08-08  8:52 ` [PATCH 0/4] net: usb: r8152: disable rx aggregation Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250807-fix-rtl8152-dropped-packages-v1-3-a71d05b4d166@pengutronix.de \
    --to=s.kerkmann@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox