Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2016 21:21:58 -0700
From:      David Horwitt <david@aogsquid.ucsd.edu>
To:        freebsd-net@freebsd.org
Subject:   Re: Adding RTL8153 support to rue(4) (actually cdce(4)) USB to Ethernet driver [SOLVED]
Message-ID:  <67d22559-0066-91a0-5822-8120bbbc51ec@aogsquid.ucsd.edu>
In-Reply-To: <144b5507-b57e-a3b4-02e8-f7a9f7e85648@selasky.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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67d22559-0066-91a0-5822-8120bbbc51ec>