From: Alexander Duyck <alexander.h.duyck@intel.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>,
netdev <netdev@vger.kernel.org>,
"Wyborny, Carolyn" <carolyn.wyborny@intel.com>
Subject: Re: [PATCH] igb: reduce Rx header size
Date: Thu, 02 Aug 2012 08:43:10 -0700 [thread overview]
Message-ID: <501AA00E.3010400@intel.com> (raw)
In-Reply-To: <1343920538.9299.200.camel@edumazet-glaptop>
On 08/02/2012 08:15 AM, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@google.com>
>
> Reduce skb truesize by 256 bytes.
>
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> Cc: Alexander Duyck <alexander.h.duyck@intel.com>
> ---
> Tested on my machine without any problem
>
> drivers/net/ethernet/intel/igb/igb.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/ethernet/intel/igb/igb.h b/drivers/net/ethernet/intel/igb/igb.h
> index 9e572dd..0c9f62c 100644
> --- a/drivers/net/ethernet/intel/igb/igb.h
> +++ b/drivers/net/ethernet/intel/igb/igb.h
> @@ -131,9 +131,9 @@ struct vf_data_storage {
> #define MAXIMUM_ETHERNET_VLAN_SIZE 1522
>
> /* Supported Rx Buffer Sizes */
> -#define IGB_RXBUFFER_512 512
> +#define IGB_RXBUFFER_256 256
> #define IGB_RXBUFFER_16384 16384
> -#define IGB_RX_HDR_LEN IGB_RXBUFFER_512
> +#define IGB_RX_HDR_LEN IGB_RXBUFFER_256
>
> /* How many Tx Descriptors do we need to call netif_wake_queue ? */
> #define IGB_TX_QUEUE_WAKE 16
>
>
Would there be any problems with us running this through Jeff's tree for
testing prior to applying this? I'm just wanting to do some testing
internally for any performance regressions due to this change.
Thanks,
Alex
next prev parent reply other threads:[~2012-08-02 15:43 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-21 23:08 [net-next 00/13][pull request] Intel Wired LAN Driver Updates Jeff Kirsher
2012-07-21 23:08 ` [net-next 01/13] ixgbe: Drop probe_vf and merge functionality into ixgbe_enable_sriov Jeff Kirsher
2012-07-21 23:08 ` [net-next 02/13] ixgbe: Change how we check for pre-existing and assigned VFs Jeff Kirsher
2012-07-21 23:08 ` [net-next 03/13] ixgbevf: Add lock around mailbox ops to prevent simultaneous access Jeff Kirsher
2012-07-21 23:08 ` [net-next 04/13] ixgbevf: Add support for PCI error handling Jeff Kirsher
2012-07-21 23:08 ` [net-next 05/13] ixgbe: Fix handling of FDIR_HASH flag Jeff Kirsher
2012-07-21 23:08 ` [net-next 06/13] ixgbevf: Fix namespace issue with ixgbe_write_eitr Jeff Kirsher
2012-07-21 23:08 ` [net-next 07/13] ixgbe: Reduce Rx header size to what is actually used Jeff Kirsher
2012-08-02 15:15 ` [PATCH] igb: reduce Rx header size Eric Dumazet
2012-08-02 15:43 ` Alexander Duyck [this message]
2012-08-02 15:52 ` Eric Dumazet
2012-08-02 20:28 ` Jeff Kirsher
2012-07-21 23:08 ` [net-next 08/13] ixgbe: Use num_tcs.pg_tcs as upper limit for TC when checking based on UP Jeff Kirsher
2012-07-21 23:08 ` [net-next 09/13] ixgbe: fix RAR entry counting for generic and fdb_add() Jeff Kirsher
2012-07-21 23:08 ` [net-next 10/13] ixgbe: remove extra unused queues in DCB + FCoE case Jeff Kirsher
2012-07-21 23:09 ` [net-next 11/13] ixgbe: add support for new 82599 device Jeff Kirsher
2012-07-21 23:09 ` [net-next 12/13] ixgbe: Use 1TC DCB instead of disabling DCB for MSI and legacy interrupts Jeff Kirsher
2012-07-21 23:09 ` [net-next 13/13] igb: reset PHY in the link_up process to recover PHY setting after power down Jeff Kirsher
2012-07-22 19:24 ` [net-next 00/13][pull request] Intel Wired LAN Driver Updates David Miller
2012-07-22 19:37 ` David Miller
2012-07-22 21:39 ` Jeff Kirsher
2012-07-22 21:53 ` David Miller
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=501AA00E.3010400@intel.com \
--to=alexander.h.duyck@intel.com \
--cc=carolyn.wyborny@intel.com \
--cc=eric.dumazet@gmail.com \
--cc=jeffrey.t.kirsher@intel.com \
--cc=netdev@vger.kernel.org \
/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).