3 Replies Latest reply on Mar 11, 2015 2:54 AM by wb_Intel

    Regarding Hard time stamping in Intel NIC

    rk-amudhan

      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 i40e (Driver: Intel(R) Ethernet Connection XL710 Network Driver - version 1.0.11-k) Intel 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 i40e_ptp_gettime).

       

      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: 2

      Hardware Transmit Timestamp Modes:

      off                   (HWTSTAMP_TX_OFF)

      on                    (HWTSTAMP_TX_ON)

      Hardware Receive Filter Modes:

      none                  (HWTSTAMP_FILTER_NONE)

      ptpv1-l4-sync         (HWTSTAMP_FILTER_PTP_V1_L4_SYNC)

      ptpv1-l4-delay-req    (HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ)

      ptpv2-l4-event        (HWTSTAMP_FILTER_PTP_V2_L4_EVENT)

      ptpv2-l4-sync         (HWTSTAMP_FILTER_PTP_V2_L4_SYNC)

      ptpv2-l4-delay-req    (HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ)

      ptpv2-l2-event        (HWTSTAMP_FILTER_PTP_V2_L2_EVENT)

      ptpv2-l2-sync         (HWTSTAMP_FILTER_PTP_V2_L2_SYNC)

      ptpv2-l2-delay-req    (HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ)

      ptpv2-event           (HWTSTAMP_FILTER_PTP_V2_EVENT)

      ptpv2-sync            (HWTSTAMP_FILTER_PTP_V2_SYNC)

      ptpv2-delay-req       (HWTSTAMP_FILTER_PTP_V2_DELAY_REQ)

       

      I like to know whether there is any other Intel 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.