diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2016-09-21 12:19:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-22 02:51:40 -0400 |
commit | e4b85508072b32682ba84df32cac5cf6a4f6178e (patch) | |
tree | 8fadcf552730390a4e1f2afd4e2bfbd9dfb8a911 /Documentation | |
parent | 21c59685dd176dd6b2c4fc5e18dc65730cfd546a (diff) |
net/mlx5e: Slightly reduce hardware LRO size
Before this patch LRO size was 64K, now with build_skb requires
extra room, headroom + sizeof(skb_shared_info) added to the data
buffer will make wqe size or page_frag_size slightly larger than
64K which will demand order 5 page instead of order 4 in 4K page systems.
We take those extra bytes from hardware LRO data size in order to not
increase the required page order for when hardware LRO is enabled.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions