linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH] RDMA/siw: Experimental e2e negotiation of GSO usage.
@ 2020-04-14 14:48 Bernard Metzler
       [not found] ` <20200415105135.GA8246@chelsio.com>
  0 siblings, 1 reply; 18+ messages in thread
From: Bernard Metzler @ 2020-04-14 14:48 UTC (permalink / raw)
  To: dledford, jgg, linux-rdma, krishna2; +Cc: Bernard Metzler

Disabling GS0 usage lets siw create FPDUs fitting MTU size.
Enabling GSO usage lets siw form larger FPDUs fitting up to one
current GSO frame. As a software only iWarp implementation, for
large messages, siw bandwidth performance severly suffers from not
using GSO, reducing available single stream bandwidth on fast links
by more than 50%, while increasing CPU load.

Experimental GSO usage handshake is implemented by using one spare
bit of the MPA header, which is used to signal GSO framing at
initiator side and GSO framing acceptance at responder side.
Typical iWarp hardware implementations will not set or interpret
that header bit. Against such peer, siw will adhere to forming
FPDUs fitting with MTU size. This assures interoperability with
peer iWarp implementations unable to process FPDUs larger than
MTU size.

Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
---
 drivers/infiniband/sw/siw/siw_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/sw/siw/siw_main.c b/drivers/infiniband/sw/siw/siw_main.c
index 5cd40fb9e20c..a2dbdbcacf72 100644
--- a/drivers/infiniband/sw/siw/siw_main.c
+++ b/drivers/infiniband/sw/siw/siw_main.c
@@ -36,7 +36,7 @@ const bool zcopy_tx = true;
  * large packets. try_gso = true lets siw try to use local GSO,
  * if peer agrees.  Not using GSO severly limits siw maximum tx bandwidth.
  */
-const bool try_gso;
+const bool try_gso = true;
 
 /* Attach siw also with loopback devices */
 const bool loopback_enabled = true;
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-05-31  7:04 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-14 14:48 [RFC PATCH] RDMA/siw: Experimental e2e negotiation of GSO usage Bernard Metzler
     [not found] ` <20200415105135.GA8246@chelsio.com>
2020-04-15 11:59   ` Bernard Metzler
2020-04-15 12:52     ` Krishnamraju Eraparaju
2020-04-28 20:00     ` Krishnamraju Eraparaju
2020-05-05 11:19       ` Bernard Metzler
2020-05-07 11:06         ` Krishnamraju Eraparaju
2020-05-11 15:28           ` Bernard Metzler
2020-05-13  3:49             ` Krishnamraju Eraparaju
2020-05-13 11:25               ` Bernard Metzler
2020-05-14 11:17                 ` Krishnamraju Eraparaju
2020-05-14 13:07                   ` Bernard Metzler
2020-05-15 13:50                     ` Krishnamraju Eraparaju
2020-05-15 13:58                       ` Krishnamraju Eraparaju
2020-05-26 13:57                         ` Bernard Metzler
2020-05-27 16:07                           ` Krishnamraju Eraparaju
2020-05-31  7:03                             ` Michal Kalderon
2020-05-29 15:20                           ` Saleem, Shiraz
2020-05-29 15:48                             ` Bernard Metzler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).