On Mon, Nov 30, 2020 at 10:41:47AM -0800, Jacob Keller wrote:
> On 11/28/2020 9:08 AM, Richard Cochran wrote:
> > +int pmc_agent_get_number_ports(struct pmc_agent *node)
> > +{
> > +   if (!node->dds_valid) {
> > +           return -1;
> > +   }
> > +   return node->dds.numberPorts;
> > +}
> > +
> 
> Based on your previous patches suggestions, shouldn't this be
> "pmc_agent_query_number_ports", considering that this is returning a
> cached value?

It is the other way round, query = live, get = cached.

Thanks,
Richard


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to