From: Govindarajulu Varadarajan <_govind@gmx.com>
To: Ben Hutchings <ben@decadent.org.uk>
Cc: Govindarajulu Varadarajan <_govind@gmx.com>,
davem@davemloft.net, netdev@vger.kernel.org, ssujith@cisco.com,
benve@cisco.com
Subject: Re: [PATCH net-next 2/3] ethtool: add rx_copybreak support
Date: Wed, 23 Jul 2014 00:05:55 +0530 (IST) [thread overview]
Message-ID: <alpine.LNX.2.03.1407230004150.15542@ws.cisco> (raw)
In-Reply-To: <1406051145.7427.2.camel@deadeye.wl.decadent.org.uk>
On Tue, 22 Jul 2014, Ben Hutchings wrote:
> On Tue, 2014-07-22 at 23:01 +0530, Govindarajulu Varadarajan wrote:
>> This patch adds rx_copybreak support to ethtool.h header file.
>> This is used to show/set rx_copybreak using ethtool.
>>
>> Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
>> ---
>> include/uapi/linux/ethtool.h | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h
>> index e3c7a71..d2912ad 100644
>> --- a/include/uapi/linux/ethtool.h
>> +++ b/include/uapi/linux/ethtool.h
>> @@ -433,10 +433,12 @@ struct ethtool_ringparam {
>> __u32 rx_mini_max_pending;
>> __u32 rx_jumbo_max_pending;
>> __u32 tx_max_pending;
>> + __u32 rx_max_copybreak_pending;
>> __u32 rx_pending;
>> __u32 rx_mini_pending;
>> __u32 rx_jumbo_pending;
>> __u32 tx_pending;
>> + __u32 rx_copybreak_pending;
>> };
>>
>> /**
>
> No, you can't rearrange UAPI structures like this.
>
So I will move these 2 variables to the end of the struct?
Also in ethtool-copy.h in ethtool.
Thanks
next prev parent reply other threads:[~2014-07-22 18:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-22 17:31 [PATCH net-next 0/3] enic: Add support for rx_copybreak Govindarajulu Varadarajan
2014-07-22 17:31 ` [PATCH net-next 1/3] enic: implement rx_copybreak Govindarajulu Varadarajan
2014-07-22 17:31 ` [PATCH net-next 2/3] ethtool: add rx_copybreak support Govindarajulu Varadarajan
2014-07-22 17:45 ` Ben Hutchings
2014-07-22 18:35 ` Govindarajulu Varadarajan [this message]
2014-07-22 18:50 ` Ben Hutchings
2014-07-22 19:12 ` Govindarajulu Varadarajan
2014-07-26 10:49 ` Govindarajulu Varadarajan
2014-07-27 0:19 ` Ben Hutchings
2014-07-22 17:31 ` [PATCH net-next 3/3] enic: add ethtool support for set/get rx_copybreak Govindarajulu Varadarajan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.03.1407230004150.15542@ws.cisco \
--to=_govind@gmx.com \
--cc=ben@decadent.org.uk \
--cc=benve@cisco.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=ssujith@cisco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).