Quantcast
Channel: Mellanox Interconnect Community: Message List
Viewing all articles
Browse latest Browse all 6226

Getting hardware timestamping from the NIC.

$
0
0

Hi,

 

I am Kuralamudhan Ramakrishnan working in NetApp, Munich. I am currently working in a project to get hardware time stamping between source and destination server using Linux time stamping options. I am using mlx4_en(Driver: Mellanox ConnectX HCA Ethernet driver v2.2-1 (Feb 2014)) Mellanox Network Interface Controller. The linux 3.18 support bytestream time stamping, that is Transmit Hardware Timestamping and it doesn't support the Receive Hardware Time stamping for TCP socket. I like to know the vendor specific API's which could support the Hardware timestamping for the TCP packets(like in mlx4_en_process_rx_cq(), where timestamp is filled by mlx4_en_fill_hwtstamps).

 

My NIC support the following time stamp capabilities.

Capabilities:

  hardware-transmit     (SOF_TIMESTAMPING_TX_HARDWARE)

  software-transmit     (SOF_TIMESTAMPING_TX_SOFTWARE)

  hardware-receive      (SOF_TIMESTAMPING_RX_HARDWARE)

  software-receive      (SOF_TIMESTAMPING_RX_SOFTWARE)

  software-system-clock (SOF_TIMESTAMPING_SOFTWARE)

  hardware-raw-clock    (SOF_TIMESTAMPING_RAW_HARDWARE)

PTP Hardware Clock: 3

Hardware Transmit Timestamp Modes:

  off                   (HWTSTAMP_TX_OFF)

  on                    (HWTSTAMP_TX_ON)

Hardware Receive Filter Modes:

  none                  (HWTSTAMP_FILTER_NONE)

  all                   (HWTSTAMP_FILTER_ALL)

I like to know whether there is any other Mellanox NIC which have the capability for SOF_TIMESTAMPING_TX_ACK, I require this time stamping to calculate the precise RTT measurement between source and destination.


Viewing all articles
Browse latest Browse all 6226

Latest Images

Trending Articles



Latest Images