From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sowmini Varadhan Subject: Re: [PATCH V2 net-next 4/7] rds: support for zcopy completion notification Date: Thu, 15 Feb 2018 07:03:31 -0500 Message-ID: <20180215120331.GE24652@oracle.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Network Development , David Miller , rds-devel@oss.oracle.com, Santosh Shilimkar To: Willem de Bruijn Return-path: Received: from userp2130.oracle.com ([156.151.31.86]:55436 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967843AbeBOMDj (ORCPT ); Thu, 15 Feb 2018 07:03:39 -0500 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On (02/14/18 19:41), Willem de Bruijn wrote: > > One more thing: this code notifies that the operation succeeded, but > the data was copied in the process. It does not have to be set otherwise. I see. this one was a bit confusing for me (hence the copy/paste) - maybe because the TCP/UDP/PACKET case is a bit different from RDS, and sendmsg may find that it has to switch from zcopy to bcopy after the sendmsg() itself has returned, but this cannot happen for RDS (thus I should never set this code?). Is it ok if I fix this in the next round or do you think this warrants a V3? --Sowmini