From owner-freebsd-net@freebsd.org Wed Oct 26 04:22:12 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A2C0C2065C for ; Wed, 26 Oct 2016 04:22:12 +0000 (UTC) (envelope-from david@aogsquid.ucsd.edu) Received: from fed1rmfepo202.cox.net (fed1rmfepo202.cox.net [68.230.241.147]) by mx1.freebsd.org (Postfix) with ESMTP id 06557A20 for ; Wed, 26 Oct 2016 04:22:11 +0000 (UTC) (envelope-from david@aogsquid.ucsd.edu) Received: from fed1rmimpo305.cox.net ([68.230.241.173]) by fed1rmfepo202.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20161026042204.CEZP3827.fed1rmfepo202.cox.net@fed1rmimpo305.cox.net> for ; Wed, 26 Oct 2016 00:22:04 -0400 Received: from [192.168.113.202] ([174.65.112.147]) by fed1rmimpo305.cox.net with cox id 04Mx1u00J3ArtDJ014N3y6; Wed, 26 Oct 2016 00:22:04 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A090203.58102F6C.001F, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.1 cv=dLMG4Ltb c=1 sm=1 tr=0 a=kEcOQgfb31AP6aoOu6fJYg==:117 a=kEcOQgfb31AP6aoOu6fJYg==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=N659UExz7-8A:10 a=0Caa4EdOQjz2N-bQyHwA:9 a=pILNOxqGKmIA:10 X-CM-Score: 0.00 Authentication-Results: cox.net; auth=pass (PLAIN) smtp.auth=dhorwitt@cox.net Subject: Re: Adding RTL8153 support to rue(4) (actually cdce(4)) USB to Ethernet driver [SOLVED] To: freebsd-net@freebsd.org References: <5807B630.1060806@aogsquid.ucsd.edu> <3622755d-b0cd-60bf-0f81-469d06e65595@selasky.org> <58092C6D.8080105@aogsquid.ucsd.edu> <30de3b9c-98c4-0bbc-dce2-eddc52e98b10@selasky.org> <580EE8DE.2060005@aogsquid.ucsd.edu> <144b5507-b57e-a3b4-02e8-f7a9f7e85648@selasky.org> From: David Horwitt Message-ID: <67d22559-0066-91a0-5822-8120bbbc51ec@aogsquid.ucsd.edu> Date: Tue, 25 Oct 2016 21:21:58 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <144b5507-b57e-a3b4-02e8-f7a9f7e85648@selasky.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2016 04:22:12 -0000 On 10/25/16 00:38, Hans Petter Selasky wrote: > On 10/25/16 07:08, David Horwitt wrote: >> ... or, at least, worked around. >> >> I added a SetEthernetPacketFilter request with wValue PACKET_TYPE_PROMISCUOUS in cdce_init() (right before the >> cdce_start() call) and joy ensued. >> >> Note that (PACKET_TYPE_DIRECTED | PACKET_TYPE_BROADCAST) did _not_ work, but setting the promiscuous bit was the >> key. >> >> HPS: thanks again for your help. >> > > Do you want to submit a patch upstream? > > Maybe like a quirk or tunable sysctl? > > --HPS > I'll convert what I've got to a tunable (I don't know quirks well enough) and send it on. DH