]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit15dd56d84dc33590ab4d80d8a9da23ce0f0f4ff1
tree65397415da54fb189b2b874e1b74f2b62b6ce80a
parentb160c4cd88e68976df4a8464dc488552fd0bdb93
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