Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp744635rwb; Wed, 14 Dec 2022 02:08:02 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ocLSh/MNhTB1XbZHQ8PwtLZpSlhzLIo+WwiVtXW87AaGiyhR1EUin6w2ElO2U9P65eI6e X-Received: by 2002:a17:903:2451:b0:189:f7c8:f3c7 with SMTP id l17-20020a170903245100b00189f7c8f3c7mr35566315pls.28.1671012482553; Wed, 14 Dec 2022 02:08:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671012482; cv=none; d=google.com; s=arc-20160816; b=d9/9ewFsEfvfNTTF41/L28C7M6Kxs86jKqgb80F+fawEWLwCn45xrwUwj5Ik9onNpB JtWZSHoXZZ1Dai90pSmq8hYd9e4YvP7Yp6Xv1Dlm/2zwuJW5ZZ2sWPAj39IJwP84ONKh NXZ9ta2IsIuyvmyrCdQIMeTPgwEjy+7LgHOT6YbQPDMT0NC/sUDWBs+y1BmSJDh266hJ XWNTYmzXeWZh0CTqCU3nLaAm7FKZDWPgRqF0VbI0SGEuaOreoLkhh78Smjqjrc+fGT3p +l833OWwVvN8mPLkx/+VGvZ9ZLgW4lc7oBoCFZdDdhAze5esw1K+VAMXFAo371INsNRf n1Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ZeychOEoq7Zx2fAKmiJJqkfIh0+9mZMjXMwWbS//l/Q=; b=kUUFj9hyGn9RCTrMLINEUbHhhcQbYmUJm8icV4Jbae3xRzxRL9JNdqz4VyYGZi8SnA p0D3CeBxizkhxIJRnfQwffv9hRf32wvBRW+xVX0bVRCEXSIam1xrIgItW4hM+dVVvm0T KYICGwvq7ktyZGC1TvK4ZmXKMz45yX6ohVvBDfdHouCZ/ff9x3Z2l7NK6/P6hAO8W7wX lAwnEURo5ItIx7xivxKBfjprOgwvCxPRzSL25BczyZ7mkqAlqoHqeSyn92EwtfdiIEnw j0psDXkIQcWIbzcRhgPrnyJVVsxJzY1zUrCVrjYy/ZCvOpLqIfMVJexgYOz2xD6DtVVI HfQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OXFVZCyl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c12-20020a170903234c00b0017a0f71990dsi2717547plh.141.2022.12.14.02.07.53; Wed, 14 Dec 2022 02:08:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OXFVZCyl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237808AbiLNJLj (ORCPT + 70 others); Wed, 14 Dec 2022 04:11:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237872AbiLNJLd (ORCPT ); Wed, 14 Dec 2022 04:11:33 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13C161E701 for ; Wed, 14 Dec 2022 01:11:32 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id bg10so10740098wmb.1 for ; Wed, 14 Dec 2022 01:11:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZeychOEoq7Zx2fAKmiJJqkfIh0+9mZMjXMwWbS//l/Q=; b=OXFVZCylX/4bT+jsLBPms7oXz7QPabkjEgubvKA5voELoHfDi00peMTghNLCzd8eaq nP2ibgokYJBj2KWiBZjEhKQ+zdmJm+v6RlifmQdsO8suBtWGnxKbf4CZsTyvWffB4Xzk CP3ibLqZDT/ds1dpodM9ahZo2PdJUUORzc2JLPe003BODyIMy6Euf0GauL3sERFOo6Tk ocbUZXufRgpRSvXRXJdlr5yjxhhP7goz0joVE3Ti48T/ApcY1JbsyFQe1viina/MkBUX uu6xSSyMCQBH1l6fEHWCCwz0qhfylUeTZSHlVGhgvKIfvrRA8OZeVMdqZHiZgovSOzJV hByA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZeychOEoq7Zx2fAKmiJJqkfIh0+9mZMjXMwWbS//l/Q=; b=5oQZGaV3CbNB6/Byf9fCWpoBpegMD35Asl2vT2Qmmw7tiJ3+6t4z2ihYWevIOvq5f0 8es5lWZLB+sELPUVHKZrlnZQ6IGhB6fv1lHCqgHU4izhI9yC37UFRnsq72SZTx9G0h8Q eC9hmgfgVXZwgIzQEWCL/B7gp8jcjV1rd4y41gZAte2WNbIlqgoFv+iZq7JeL4PCF9jh zb+uRuLSG9jB3OYjJLd+I++9/77vQ7tsRpiOfiAYCTIHumhiQFkhIYYBbQOCvMpDih8e ompL44piLjjvs6m6UsPN3pEwBfg0UKgjBGHAFJlkJSHv2xTIjXHFcc1nqkFzdqivjFPP 5LqQ== X-Gm-Message-State: ANoB5pkuadIMySekxA7DZn2z3kJPXL4rAzBRFiPw/ZIYaO2oC4Omd2ZI r3bWMuhCzt6W/2GnqZJdD1BfI53Tsmln7MikuyOwHA== X-Received: by 2002:a05:600c:3b91:b0:3d0:3d33:a629 with SMTP id n17-20020a05600c3b9100b003d03d33a629mr73994wms.126.1671009090250; Wed, 14 Dec 2022 01:11:30 -0800 (PST) MIME-Version: 1.0 References: <20221124074725.74325-1-haozhe.chang@mediatek.com> <54c37c8f8eb7f35e4bb983b9104bd232758bae7b.camel@mediatek.com> In-Reply-To: <54c37c8f8eb7f35e4bb983b9104bd232758bae7b.camel@mediatek.com> From: Loic Poulain Date: Wed, 14 Dec 2022 10:10:54 +0100 Message-ID: Subject: Re: [PATCH v5] wwan: core: Support slicing in port TX flow of WWAN subsystem To: =?UTF-8?B?SGFvemhlIENoYW5nICjluLjmtanlk7Ip?= Cc: "stephan@gerhold.net" , "oneukum@suse.com" , "linux-kernel@vger.kernel.org" , "linux-usb@vger.kernel.org" , "linux-remoteproc@vger.kernel.org" , "linuxwwan@intel.com" , "m.chetan.kumar@intel.com" , "linux-mediatek@lists.infradead.org" , =?UTF-8?B?SHVhIFlhbmcgKOadqOWNjik=?= , "chiranjeevi.rapolu@linux.intel.com" , =?UTF-8?B?SGFpanVuIExpdSAo5YiY5rW35YabKQ==?= , "linux-arm-kernel@lists.infradead.org" , "ryazanov.s.a@gmail.com" , "kuba@kernel.org" , =?UTF-8?B?WGlheXUgWmhhbmcgKOW8oOWkj+Wuhyk=?= , "pabeni@redhat.com" , "edumazet@google.com" , "chandrashekar.devegowda@intel.com" , "johannes@sipsolutions.net" , "gregkh@linuxfoundation.org" , "shangxiaojing@huawei.com" , =?UTF-8?B?TGFtYmVydCBXYW5nICjnjovkvJ8p?= , "matthias.bgg@gmail.com" , "davem@davemloft.net" , "ricardo.martinez@linux.intel.com" , "netdev@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Thu, 2022-12-01 at 10:56 +0100, Loic Poulain wrote: > > On Thu, 24 Nov 2022 at 08:47, wrote: > > > > > > From: haozhe chang > > > > > > wwan_port_fops_write inputs the SKB parameter to the TX callback of > > > the WWAN device driver. However, the WWAN device (e.g., t7xx) may > > > have an MTU less than the size of SKB, causing the TX buffer to be > > > sliced and copied once more in the WWAN device driver. > > > > > > This patch implements the slicing in the WWAN subsystem and gives > > > the WWAN devices driver the option to slice(by frag_len) or not. By > > > doing so, the additional memory copy is reduced. > > > > > > Meanwhile, this patch gives WWAN devices driver the option to > > > reserve > > > headroom in fragments for the device-specific metadata. > > > > > > Signed-off-by: haozhe chang > > > > Reviewed-by: Loic Poulain > > I have submitted patch V6 to add a reviewer, do you have any other > suggestions about the patch? You normally don't need to resubmit a version just for adding review tags, as it is well tracked. You can see status of netdev changes from patchwork: https://patchwork.kernel.org/project/netdevbpf/list/?series=&submitter=207580&state=*&q=&archive=both&delegate= Regarding this change you should however resubmit for the net-next tree with appropriate subject since it is not a bug fix: https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html?highlight=netdev#how-do-i-indicate-which-tree-net-vs-net-next-my-patch-should-be-in Then it should be picked by netdev maintainer(s). But note that we're currently in the Linux 6.2 merge window, so merging for net-next can be delayed until the mainline merge window is closed (and net-next open): https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html?highlight=netdev#how-often-do-changes-from-these-trees-make-it-to-the-mainline-linus-tree Regards, Loic