Hi

We are using 802.1Q tag for PTP. Fine with setting VLAN ID.
How can I set PCP (priority code point in 802.1Q tag) specifically for PTP?
This is how far I got:

  *   By default, applications are using skb (Linux socket buffer) priority 0.
  *   skb priority can be statically mapped to PCP using vconfig 
set_egress_map. E.g. "vconfig set_egress_map eth0.100 0 7" maps all skb prio 0 
to PCP 7. This for eth0.100.

Is it possible to set skb prio used by ptp4l?

In practice we would like to map per application, e.g. PCP = 7 for PTP, PCP = 5 
for "application 1". Current PTP4L does not support this, so it sends with skb 
prio = 0 (the default). As a workaround we could map skb prio 0 to target PCP 
and set skb prio of all other applications values other than 0.

Regards, Chris
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to