Hi

I'm running RHEL 7.3 on an HP Gen8 with Mellanox ConnectX-3 (MT27500)

The Arista switch is configured in boundary mode with E2E delay mechanisim.

I tried running many combinations of "ptp4l" , at no point do I ever see
PTP "offset from master" messages.

I then installed and ran "ptpd2"  version 2.3.1-2 and immediately I get log
updates showing "offset from master"

I found this post:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1531132





What is the diference between "ptpd2" and "ptp4l" ?

Are there any known issues with ptp4l and ConnectX-3 cards ?



Any advice would be much appreciated, thanks!

Bruce




[root@appl1-ny4 run]# *ethtool -T ens1*

Time stamping parameters for ens1:

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

Hardware Transmit Timestamp Modes:

                off                   (HWTSTAMP_TX_OFF)

                on                    (HWTSTAMP_TX_ON)

Hardware Receive Filter Modes:

                none                  (HWTSTAMP_FILTER_NONE)

                all                   (HWTSTAMP_FILTER_ALL)

[root@appl1-ny4 run]#






[root@appl1-ny4 run]# *ethtool -i ens1*

driver: mlx4_en

version: 2.2-1 (Feb 2014)

firmware-version: 2.40.7000

expansion-rom-version:

bus-info: 0000:27:00.0

supports-statistics: yes

supports-test: yes

supports-eeprom-access: no

supports-register-dump: no

supports-priv-flags: yes

[root@appl1-ny4 run]#

[root@appl1-ny4 run]#







[root@appl1-ny4 run]# *modinfo mlx4_en*

filename:       /lib/modules/3.10.0-514.21.2.el7.x86_64/kernel/drivers/net/
ethernet/mellanox/mlx4/mlx4_en.ko

version:        2.2-1 (Feb 2014)

license:        Dual BSD/GPL

description:    Mellanox ConnectX HCA Ethernet driver

author:         Liran Liss, Yevgeny Petrilin

rhelversion:    7.3

srcversion:     6A8A1706BC25A0CE35CE690

depends:        mlx4_core,ptp,devlink

intree:         Y

vermagic:       3.10.0-514.21.2.el7.x86_64 SMP mod_unload modversions

signer:         Red Hat Enterprise Linux kernel signing key

sig_key:        60:A7:F2:7E:7D:64:7C:0C:7A:78:99:36:DD:A6:95:14:42:A3:89:54

sig_hashalgo:   sha256

parm:           udp_rss:Enable RSS for incoming UDP traffic or disabled (0)
(uint)

parm:           pfctx:Priority based Flow Control policy on TX[7:0]. Per
priority bit mask (uint)

parm:           pfcrx:Priority based Flow Control policy on RX[7:0]. Per
priority bit mask (uint)

parm:           inline_thold:Threshold for using inline data (range:
17-104, default: 104) (uint)

[root@appl1-ny4 run]#

[root@appl1-ny4 run]#









Here I start ptp4l .... but I never see any "offset from master" updates,
just this endless loop (left it for an hour)




[root@appl1-ny4 ~]# *ptp4l -H -E -s -i ens1 -m*

ptp4l[735.495]: selected /dev/ptp5 as PTP clock

ptp4l[735.495]: driver changed our HWTSTAMP options

ptp4l[735.495]: tx_type   1 not 1

ptp4l[735.495]: rx_filter 1 not 12

ptp4l[735.495]: port 1: INITIALIZING to LISTENING on INITIALIZE

ptp4l[735.495]: port 0: INITIALIZING to LISTENING on INITIALIZE

ptp4l[741.600]: driver changed our HWTSTAMP options

ptp4l[741.600]: tx_type   1 not 1

ptp4l[741.600]: rx_filter 1 not 12

ptp4l[741.600]: selected best master clock f45214.fffe.835a21

ptp4l[748.277]: driver changed our HWTSTAMP options

ptp4l[748.277]: tx_type   1 not 1

ptp4l[748.277]: rx_filter 1 not 12

ptp4l[748.277]: selected best master clock f45214.fffe.835a21

ptp4l[755.603]: driver changed our HWTSTAMP options

ptp4l[755.603]: tx_type   1 not 1

ptp4l[755.603]: rx_filter 1 not 12

ptp4l[755.603]: selected best master clock f45214.fffe.835a21

ptp4l[762.822]: driver changed our HWTSTAMP options

ptp4l[762.822]: tx_type   1 not 1

ptp4l[762.822]: rx_filter 1 not 12

ptp4l[762.822]: selected best master clock f45214.fffe.835a21

ptp4l[770.068]: driver changed our HWTSTAMP options

ptp4l[770.068]: tx_type   1 not 1

ptp4l[770.068]: rx_filter 1 not 12

ptp4l[770.068]: selected best master clock f45214.fffe.835a21

ptp4l[776.257]: driver changed our HWTSTAMP options
ptp4l[776.257]: tx_type   1 not 1
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to