diff options
author | Sunil Goutham <sgoutham@cavium.com> | 2018-01-15 18:44:57 +0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-16 14:31:14 -0500 |
commit | 4a8755096466d1002236ac7293eae821b6de87ba (patch) | |
tree | 8eaf366be7af579511c08ba91d1f991d155f7ec7 /drivers/net/ethernet/cavium/thunder/nic_reg.h | |
parent | 8c56df372bc1371504bf3cc29fbb3c09967cafff (diff) | |
download | talos-obmc-linux-4a8755096466d1002236ac7293eae821b6de87ba.tar.gz talos-obmc-linux-4a8755096466d1002236ac7293eae821b6de87ba.zip |
net: thunderx: add timestamping support
This adds timestamping support for both receive and transmit
paths. On the receive side no filters are supported i.e either
all pkts will get a timestamp appended infront of the packet or none.
On the transmit side HW doesn't support timestamp insertion but
only generates a separate CQE with transmitted packet's timestamp.
Also HW supports only one packet at a time for timestamping on the
transmit side.
Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@cavium.com>
Acked-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/thunder/nic_reg.h')
-rw-r--r-- | drivers/net/ethernet/cavium/thunder/nic_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cavium/thunder/nic_reg.h b/drivers/net/ethernet/cavium/thunder/nic_reg.h index 80d46337cf29..a16c48a1ebb2 100644 --- a/drivers/net/ethernet/cavium/thunder/nic_reg.h +++ b/drivers/net/ethernet/cavium/thunder/nic_reg.h @@ -99,6 +99,7 @@ #define NIC_PF_ECC3_DBE_INT_W1S (0x2708) #define NIC_PF_ECC3_DBE_ENA_W1C (0x2710) #define NIC_PF_ECC3_DBE_ENA_W1S (0x2718) +#define NIC_PF_INTFX_SEND_CFG (0x4000) #define NIC_PF_MCAM_0_191_ENA (0x100000) #define NIC_PF_MCAM_0_191_M_0_5_DATA (0x110000) #define NIC_PF_MCAM_CTRL (0x120000) |