From: =?utf-8?Q?Bj=C3=B8rn_Mork?= Subject: Re: Is this 32-bit NCM?y Date: Thu, 04 Dec 2014 10:19:11 +0100 Message-ID: <874mtbojqo.fsf@nemi.mork.no> References: <547D37CA.7050506@audiocodes.com> <547D5F84.6020608@audiocodes.com> <547D6D7B.5090704@audiocodes.com> <547D7243.80508@audiocodes.com> <87fvcyqoup.fsf@nemi.mork.no> <87lhmqp400.fsf@nemi.mork.no> <1417532733483.89987@audiocodes.com> <547EA1D1.8010202@audiocodes.com> <547EA82F.5050500@audiocodes.com> <548020DD.3030705@audiocodes.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Enrico Mioso , Eli Britstein , Alex Strizhevsky , "Midge Shaojun Tan" , "youtux\@gmail.com" , "linux-usb\@vger.kernel.org" , "netdev\@vger.kernel.org" To: Kevin Zhu Return-path: Received: from canardo.mork.no ([148.122.252.1]:53937 "EHLO canardo.mork.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752056AbaLDJTY convert rfc822-to-8bit (ORCPT ); Thu, 4 Dec 2014 04:19:24 -0500 In-Reply-To: <548020DD.3030705@audiocodes.com> (Kevin Zhu's message of "Thu, 4 Dec 2014 08:52:49 +0000") Sender: netdev-owner@vger.kernel.org List-ID: Kevin Zhu writes: > Guys, > > After rearranging the padding, putting NCM0 right after NTH, and disa= ble > ARP (FLAG_NOARP) and handling the offset alignment issue, it seems it > begins to work, though there's still problem with DHCP. Great! But it would be good to know if _one_ of these changes is enoug= h to make it work. > The DHCP packet's size becomes a large one after the TX function, whi= ch > is 16384, the maximum. You can now (from v3.16) disable the padding by setting min_tx_pkt >=3D= tx_max. Something like this should do for a simple test: echo 16384 >/sys/class/net/wwan0/cdc_ncm/min_tx_pkt Bj=C3=B8rn