mlx4: get rid of frag_prefix_size
authorEric Dumazet <edumazet@google.com>
Wed, 8 Mar 2017 16:17:08 +0000 (08:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Mar 2017 17:54:46 +0000 (09:54 -0800)
commitaaca121dd6cfedc9afb9d0ee23ded9d84e217e20
treed2a7aaff4887c83427e6fa13affb21ce674bfac9
parent159ddfd2ca30a2361324111ef64fdedf43e7dc32
mlx4: get rid of frag_prefix_size

Using per frag storage for frag_prefix_size is really silly.

mlx4_en_complete_rx_desc() has all needed info already.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_rx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h