diff options
author | Shreyas Bhatewara <sbhatewara@vmware.com> | 2011-01-14 17:59:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-16 08:21:12 +0300 |
commit | 39d4a96fd7d2926e46151adbd18b810aeeea8ec0 (patch) | |
tree | 555913c044588534f3fcca62e2e3aea023e8e974 /drivers/infiniband | |
parent | 54da3d00f6e781f69cb8726757d190704b702a8e (diff) | |
download | linux-39d4a96fd7d2926e46151adbd18b810aeeea8ec0.tar.xz |
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>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions