]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
sdp: Do not nagle BZCopy packets
authorAmir Vadai <amirv@mellanox.co.il>
Mon, 18 May 2009 11:45:18 +0000 (14:45 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:04:29 +0000 (05:04 -0700)
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp_bcopy.c

index 3465035cd0c8730c5a4aa773eb2d21c7669159af..b0603272d15f1ba1fc420d417c9571ade84cadef 100644 (file)
@@ -106,6 +106,7 @@ static inline void update_send_head(struct sock *sk, struct sk_buff *skb)
 static inline int sdp_nagle_off(struct sdp_sock *ssk, struct sk_buff *skb)
 {
        int send_now =
+               BZCOPY_STATE(skb) ||
                 (ssk->nonagle & TCP_NAGLE_OFF) ||
                !ssk->nagle_last_unacked ||
                skb->next != (struct sk_buff *)&ssk->isk.sk.sk_write_queue ||