From patchwork Wed Feb 20 14:05:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 10822161 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8EB1017FB for ; Wed, 20 Feb 2019 14:05:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 774472E352 for ; Wed, 20 Feb 2019 14:05:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7597B2E370; Wed, 20 Feb 2019 14:05:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 242142E360 for ; Wed, 20 Feb 2019 14:05:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726516AbfBTOFo (ORCPT ); Wed, 20 Feb 2019 09:05:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:48076 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726013AbfBTOFn (ORCPT ); Wed, 20 Feb 2019 09:05:43 -0500 Received: from localhost.localdomain.com (nat-pool-mxp-t.redhat.com [149.6.153.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2023C2146E; Wed, 20 Feb 2019 14:05:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550671543; bh=suw/whWI9R0j1ALdC7aGC+oRXPRXScxWcUIY++sWP20=; h=From:To:Cc:Subject:Date:From; b=2ONXHO9d6RDVY1W6/aIn/CMIzKRKDKxN1xPGevvxU2VfcgGxkWbVgBrxxLxm0PdEM rlXZMg9B3rQpMo73jQS1ZTPOl2H3uxZ1NkVH8UfD5uoILtgljDPKM5GgV8iIR8aJa5 LzB54wX1qLoRJ6H9Hd1uZRzHOOqiBRZi6YIyHSjk= From: lorenzo@kernel.org To: nbd@nbd.name Cc: linux-wireless@vger.kernel.org, sgruszka@redhat.com, lorenzo.bianconi@redhat.com Subject: [RFC 0/3] simplify usb layer buffer allocation Date: Wed, 20 Feb 2019 15:05:32 +0100 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Lorenzo Bianconi Simplify usb rx buffer allocation. Simplify mt76u_tx_build_sg routine Lorenzo Bianconi (3): mt76: usb: introduce mt76u_fill_bulk_urb routine mt76: usb: simplify rx buffer allocation mt76: usb: simplify mt76u_tx_build_sg routine drivers/net/wireless/mediatek/mt76/mt76.h | 2 - drivers/net/wireless/mediatek/mt76/usb.c | 134 +++++++++------------- 2 files changed, 55 insertions(+), 81 deletions(-)