Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2306582ybh; Mon, 9 Mar 2020 03:17:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsEJOOBd9G2zRMq+tkbHsf/RYmxs6pI+b/hNSovX6VzhPa+R5HBQANG1LyNLvQmTBFOCGdz X-Received: by 2002:a9d:75d1:: with SMTP id c17mr12883551otl.22.1583749062860; Mon, 09 Mar 2020 03:17:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583749062; cv=none; d=google.com; s=arc-20160816; b=mGDIuXSC0qXf4U6Z1/+V59+asvkTCImd2zLs7S5Zwyqzb8pmnV+oKAS+QhIkdZ/7pp SuyNAUYBQMeqS/nw9u/Hbk9fsAm7lmKegKixvkDjKYPxFIsp6wCvNh2NCqdHj7SjDVRH QrpTEtNaFYGrHsPhzsNZBf5zy7YexCIoAzPeIMzEFiSaj2iLrzMBCp9f8UoHr/C1WqmA Tu04rPbzjy7HgX6zkcr6R1HV4fFeOwhEit/H9V343qPTqRd650hc/VKtR3dy7YnxCU11 iJhoxhoJmXw682+Rxgo/0wZBEewAY+8cSp8q6e0M6cbM6j4CbqsClkeDUHXl8le4oIMX tRmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=XAEzUEk00uKYzMI/VTiKgUPpyR/N23cqtseOtnPtXlQ=; b=HnfjXuwP4J3kyS+ssWasXhdstmSQ9L1NUu2kSA9K6oIQO2Ykz6PHtIoB68ijc58MsF +2kobzE5F3/Saonu0HjX6vezR5rDb8H+34rWn3sdV2CBGFh6oRq1VymmhzqR3s2WRHGH s3KDrPLEUVQHvyhIpqXlVm3NXDDDvrURRG+TdFxz145Mqvv/n5IHbhghhrolrfuRS6lC 8h13u8F/MDYQ7sMfXH6bmfXjponR87yuEmc45Ogkv5J3UkdUt/zICBSt+M9mwU4pqQ4c f1JTWa508NQAAjOVXCf7+tc/BA45Lru71tecE6qLRY2+S2fpGGisNjT0bJyTqZqzilaA vb0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t26si5630753otc.205.2020.03.09.03.17.30; Mon, 09 Mar 2020 03:17:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726478AbgCIKRL (ORCPT + 99 others); Mon, 9 Mar 2020 06:17:11 -0400 Received: from mx2.suse.de ([195.135.220.15]:37902 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725796AbgCIKRK (ORCPT ); Mon, 9 Mar 2020 06:17:10 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 067AFAAC7; Mon, 9 Mar 2020 10:17:07 +0000 (UTC) Message-ID: <1583749022.17100.5.camel@suse.com> Subject: Re: [PATCH] cdc_ncm: Implement the 32-bit version of NCM Transfer Block From: Oliver Neukum To: Alexander Bersenev Cc: "David S. Miller" , Greg Kroah-Hartman , Thomas Gleixner , Enrico Weigelt , Allison Randal , linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 09 Mar 2020 11:17:02 +0100 In-Reply-To: <20200305203318.8980-1-bay@hackerdom.ru> References: <20200305203318.8980-1-bay@hackerdom.ru> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Freitag, den 06.03.2020, 01:33 +0500 schrieb Alexander Bersenev: > The NCM specification defines two formats of transfer blocks: with 16-bit > fields (NTB-16) and with 32-bit fields (NTB-32). Currently only NTB-16 is > implemented. > > This patch adds the support of NTB-32. The motivation behind this is that > some devices such as E5785 or E5885 from the current generation of Huawei > LTE routers do not support NTB-16. The previous generations of Huawei > devices are also use NTB-32 by default. > > Also this patch enables NTB-32 by default for Huawei devices Hi, do you really see no other option but to make the choice with yet anothet flag? The rest of the code looks good to me. Regards Oliver