IB/rxe: don't clear the tx queue on every transfer
authorVijay Immanuel <vijayi@attalasystems.com>
Tue, 19 Jun 2018 01:48:56 +0000 (18:48 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 29 Jun 2018 18:26:13 +0000 (12:26 -0600)
commit24c937b39dfb102860e086f47ab9a58a0f6b0deb
tree65397415da54fb189b2b874e1b74f2b62b6ce80a
parent92ebb6a0a13a698f88fb3ba58c01844f190d2af5
IB/rxe: don't clear the tx queue on every transfer

Do not call sk_dst_set() on every packet transfer because
that calls sk_tx_queue_clear(), which clears the tx queue.
A QP must stay on the same tx queue to maintain packet order.

Signed-off-by: Vijay Immanuel <vijayi@attalasystems.com>
Acked-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rxe/rxe_net.c