[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+sq2CfsvmTAvwHuyd9-6WLbPHB1JNpm5JXEPQemxs7=uL9LZQ@mail.gmail.com>
Date: Wed, 9 Dec 2015 17:54:16 +0530
From: Sunil Kovvuri <sunil.kovvuri@...il.com>
To: Pavel Fedin <p.fedin@...sung.com>
Cc: Linux Netdev List <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
LAKML <linux-arm-kernel@...ts.infradead.org>,
Sunil Goutham <Sunil.Goutham@...iumnetworks.com>,
Sunil Goutham <sgoutham@...ium.com>
Subject: Re: [PATCH 1/2] net: thunderx: HW TSO support for pass-2 hardware
>> + bool tns_mode:1;
>> + bool sqs_mode:1;
>These little refactors are creeping in your code without even being
mentioned in the commit message, this is not good practice.
Okay, will include these in the commit message.
>IMHO. Additionally, may be turn these two flags into something like:
>enum nicvf_mode {
> NICVF_BYPASS,
> NICVF_TNS,
> NICVF_SQS
>};
>? Anyway, these modes are mutually exclusive.
VF driver always assumed to be in BYPASS mode.
Will submit a seperate cleanup patch to get rid of 'tns_mode' boolean.
Thanks,
Sunil.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists