net/hns3: fix PTP interrupt logging
authorHuisong Li <lihuisong@huawei.com>
Fri, 24 Jun 2022 08:59:47 +0000 (16:59 +0800)
committerAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Fri, 24 Jun 2022 12:27:35 +0000 (14:27 +0200)
commit17d0a4b239e4416683f6e840b011d4359fb3982d
tree13aad9a90614bcd5a16e482b6cbbcd3f027f8f41
parent35e8a46f795a151223aad71dd86d8614f26f3929
net/hns3: fix PTP interrupt logging

PMD driver will receive a PTP interrupt when receive a PTP packet.
But driver doesn't distinguish it. As a result, many unknown events
are printed when many PTP packets are received on the link. The PTP
interrupt is normal, so this patch doesn't log and ignores it.

Fixes: 38b539d96eb6 ("net/hns3: support IEEE 1588 PTP")
Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
drivers/net/hns3/hns3_ethdev.c