]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sdp: cleanup skb allocations
authorAmir Vadai <amirv@mellanox.co.il>
Wed, 9 Jun 2010 09:40:23 +0000 (12:40 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:05:00 +0000 (05:05 -0700)
commit134f0a83cd2c531af3bf88984947ded35a5b90c9
treec5867b341d3b4942e77346f4899dbe7611b166c7
parentc89220dc23bc75b8db125356e9de107f6de88116
sdp: cleanup skb allocations

- Bad sizing of inline data on send sockets had implications on the
  performance.
- All sent data is placed on the skb itself (unless accumulated by nagle)
- Do not count sdp header twice when allocating skb
  added some likely/unlikely

Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp.h
drivers/infiniband/ulp/sdp/sdp_bcopy.c
drivers/infiniband/ulp/sdp/sdp_main.c
drivers/infiniband/ulp/sdp/sdp_rx.c