]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4af09912dd18dfe898b39059133f7139e409d497
tree47a21b0c1f8acfe50d9b2b8ef06ccaa619c733f7
parent9be5c0d98bae90ea2220cf945aa08b464ef9c0e9
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