diff options
author | Scott Peterson <scott.d.peterson@intel.com> | 2017-02-09 23:40:25 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-02-11 20:39:01 -0800 |
commit | e72e56597ba15ce70f4fc1eb2ceeaa8da0d4ab5e (patch) | |
tree | 30b6641891fec8050bc983821fda036bbabb4b0d /include/soc/imx | |
parent | 7987dcd7b95111a5acbf5abdbf155eedacd3546b (diff) |
i40e/i40evf: Moves skb from i40e_rx_buffer to i40e_ring
This patch reduces the size of struct i40e_rx_buffer by one pointer,
and makes the i40e driver a little more consistent with the igb driver
in terms of packets that span buffers.
We do this by moving the skb field from struct i40e_rx_buffer to
struct i40e_ring. We pass the skb we already have (or NULL if we
don't) to i40e_fetch_rx_buffer(), which skips the skb allocation if we
already have one for this packet.
Change-ID: I4ad48a531844494ba0c5d8e1a62209a057f661b0
Signed-off-by: Scott Peterson <scott.d.peterson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/soc/imx')
0 files changed, 0 insertions, 0 deletions