From: Miroslav Lichvar <>

When a network interface doesn't support the most specific PTP filter
(e.g. it can timestamp either all or no received packets), it is
expected that the driver will report a different filter than was
requested. Turn the warnings into debug messages to avoid confusing
the users.

Signed-off-by: Miroslav Lichvar <>
 sk.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sk.c b/sk.c
index 2c7593b..60415cf 100644
--- a/sk.c
+++ b/sk.c
@@ -64,9 +64,9 @@ static int hwts_init(int fd, const char *device, int 
rx_filter, int one_step)
        if (memcmp(&cfg, &req, sizeof(cfg))) {
-               pr_warning("driver changed our HWTSTAMP options");
-               pr_warning("tx_type   %d not %d", cfg.tx_type, req.tx_type);
-               pr_warning("rx_filter %d not %d", cfg.rx_filter, req.rx_filter);
+               pr_debug("driver changed our HWTSTAMP options");
+               pr_debug("tx_type   %d not %d", cfg.tx_type, req.tx_type);
+               pr_debug("rx_filter %d not %d", cfg.rx_filter, req.rx_filter);
                if (cfg.tx_type != req.tx_type ||
                    (cfg.rx_filter != HWTSTAMP_FILTER_ALL &&

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
Linuxptp-devel mailing list

Reply via email to