On Wed, 2013-02-20 at 14:47 -0800, Alexander Duyck wrote:

> Huh?  I'm not seeing what you are saying.  The NET_SKB_PAD is the value
> that is in the last set of parenthesis since it was:
> (NET_SKB_PAD + NET_IP_ALIGN + IGB_TS_HDR_LEN + ETH_FRAME_LEN + ETH_FCS_LEN)
>     that is the bit that became:
> (32 + 2 + 16 + 1514 + 4)
> 
> The problem is the skb_shared_info bit rounds up to 512 reducing the
> available space to 1536.  If you add up all of the other bits ignoring
> the NET_SKB_PAD value you end up with exactly 1536 meaning the only
> value for NET_SKB_PAD that would work is 0.

Oh well, for one moment I thought the SKB_DATA_ALIGN() was also using
NET_SKB_PAD, but its using SMP_CACHE_BYTES.




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to