Re: [Linuxptp-devel] [PATCH] Return 1 from port_is_ieee8021as if asCapable true

2023-03-06 Thread Richard Cochran
On Tue, Mar 07, 2023 at 12:54:55AM +0100, Andrew Zaborowski wrote: > It seems that port_is_ieee8021as(p) returning zero if p->as_capable == > ALWAYS_CAPABLE was originally intended for skipping checks in > port_capable but this is quite unclear. Maybe you should ask your Intel colleague what he

[Linuxptp-devel] [PATCH] Return 1 from port_is_ieee8021as if asCapable true

2023-03-06 Thread Andrew Zaborowski
It seems that port_is_ieee8021as(p) returning zero if p->as_capable == ALWAYS_CAPABLE was originally intended for skipping checks in port_capable but this is quite unclear. There are only three callers left in the current code and this quirk doesn't seem to make them any more compliant with