[ovs-dev] [PATCH V9 04/31] tc: Add tc flower functions

Flavio Leitner fbl at sysclose.org
Wed May 31 20:15:37 UTC 2017


On Tue, May 30, 2017 at 05:50:53PM -0700, Joe Stringer wrote:
> On 28 May 2017 at 04:59, Roi Dayan <roid at mellanox.com> wrote:
> > +static void
> > +nl_parse_tcf(const struct tcf_t *tm, struct tc_flower *flower)
> > +{
> > +    unsigned long long int lastuse = tm->lastuse * 10;
> 
> Where does the 10 come from? What does it mean? Should we have a #define for it?

If it's a conversion then maybe a macro is better.

-- 
Flavio



More information about the dev mailing list