DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] PTP IXGBEVF
@ 2018-07-06 16:34 Nishant Verma
  2018-07-06 17:33 ` Paul Emmerich
  0 siblings, 1 reply; 2+ messages in thread
From: Nishant Verma @ 2018-07-06 16:34 UTC (permalink / raw)
  To: users

Hi All,

My IXGBEVF info is as follows:
filename:
/lib/modules/3.10.0-514.el7.x86_64/kernel/drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko
version:        4.3.5
license:        GPL
description:    Intel(R) 10 Gigabit Virtual Function Network Driver
author:         Intel Corporation, <linux.nics@intel.com>
rhelversion:    7.3

But the PTP Hardware clock is not enabled on vf's created by SR-IOV.

Is there any way to enable that?

Below is the properties of the physical and virtual network interface.

*PHYSICAL*:ethtool -T eno2
Time stamping parameters for eno2:
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: 1
Hardware Transmit Timestamp Modes:
    off                   (HWTSTAMP_TX_OFF)
    on                    (HWTSTAMP_TX_ON)
Hardware Receive Filter Modes:
    none                  (HWTSTAMP_FILTER_NONE)
    all                   (HWTSTAMP_FILTER_ALL)
    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)
​
​

* VIRTUAL*:

ethtool -T enp2s16f1
Time stamping parameters for enp2s16f1:
Capabilities:
    software-transmit     (SOF_TIMESTAMPING_TX_SOFTWARE)
    software-receive      (SOF_TIMESTAMPING_RX_SOFTWARE)
    software-system-clock (SOF_TIMESTAMPING_SOFTWARE)
PTP Hardware Clock: none
Hardware Transmit Timestamp Modes: none
Hardware Receive Filter Modes: none


​

-- 
Rgds,
Nishant

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] PTP IXGBEVF
  2018-07-06 16:34 [dpdk-users] PTP IXGBEVF Nishant Verma
@ 2018-07-06 17:33 ` Paul Emmerich
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Emmerich @ 2018-07-06 17:33 UTC (permalink / raw)
  To: Nishant Verma; +Cc: users

The hardware doesn't support PTP on VFs.

Paul

> Am 06.07.2018 um 18:34 schrieb Nishant Verma <vnish11@gmail.com>:
> 
> Hi All,
> 
> My IXGBEVF info is as follows:
> filename:
> /lib/modules/3.10.0-514.el7.x86_64/kernel/drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko
> version:        4.3.5
> license:        GPL
> description:    Intel(R) 10 Gigabit Virtual Function Network Driver
> author:         Intel Corporation, <linux.nics@intel.com>
> rhelversion:    7.3
> 
> But the PTP Hardware clock is not enabled on vf's created by SR-IOV.
> 
> Is there any way to enable that?
> 
> Below is the properties of the physical and virtual network interface.
> 
> *PHYSICAL*:ethtool -T eno2
> Time stamping parameters for eno2:
> 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: 1
> Hardware Transmit Timestamp Modes:
>    off                   (HWTSTAMP_TX_OFF)
>    on                    (HWTSTAMP_TX_ON)
> Hardware Receive Filter Modes:
>    none                  (HWTSTAMP_FILTER_NONE)
>    all                   (HWTSTAMP_FILTER_ALL)
>    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)
> ​
> ​
> 
> * VIRTUAL*:
> 
> ethtool -T enp2s16f1
> Time stamping parameters for enp2s16f1:
> Capabilities:
>    software-transmit     (SOF_TIMESTAMPING_TX_SOFTWARE)
>    software-receive      (SOF_TIMESTAMPING_RX_SOFTWARE)
>    software-system-clock (SOF_TIMESTAMPING_SOFTWARE)
> PTP Hardware Clock: none
> Hardware Transmit Timestamp Modes: none
> Hardware Receive Filter Modes: none
> 
> 
> ​
> 
> -- 
> Rgds,
> Nishant

-- 
Chair of Network Architectures and Services
Department of Informatics
Technical University of Munich
Boltzmannstr. 3
85748 Garching bei München, Germany 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-06 17:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-06 16:34 [dpdk-users] PTP IXGBEVF Nishant Verma
2018-07-06 17:33 ` Paul Emmerich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).