commit | 39d4a96fd7d2926e46151adbd18b810aeeea8ec0 | [log] [tgz] |
---|---|---|
author | Shreyas Bhatewara <sbhatewara@vmware.com> | Fri Jan 14 14:59:41 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Jan 15 21:21:12 2011 -0800 |
tree | 555913c044588534f3fcca62e2e3aea023e8e974 | |
parent | 54da3d00f6e781f69cb8726757d190704b702a8e [diff] |
vmxnet3: Provide required number of bytes in first SG buffer This is a performance enhancement fix. vmxnet3 device performs better when provided with at least 54 bytes (ethernet 14 + IP 20+ TCP 20) in the first SG buffer. For UDP packets driver provides lesser than that in first sg. This change fixes the same. Also avoid the redundant pskb_may_pull() call. Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com> Signed-off-by: David S. Miller <davem@davemloft.net>