OSDN Git Service

bnxt_en: Enable packet timestamping for all RX packets
authorPavan Chebbi <pavan.chebbi@broadcom.com>
Fri, 13 May 2022 02:40:23 +0000 (22:40 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 May 2022 11:47:40 +0000 (12:47 +0100)
commit66ed81dcedc665bf8c7dfc3867d425f50eba219e
tree47a21b0c1f8acfe50d9b2b8ef06ccaa619c733f7
parent11862689e8f117e4702f55000790d7bce6859e84
bnxt_en: Enable packet timestamping for all RX packets

Add driver support to enable timestamping on all RX packets
that are received by the NIC. This capability can be requested
by the applications using SIOCSHWTSTAMP ioctl with filter type
HWTSTAMP_FILTER_ALL.

Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c