Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2016 14:50:16 +0800
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        David Horwitt <david@aogsquid.ucsd.edu>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Adding RTL8153 support to rue(4) (actually cdce(4)) USB to Ethernet driver [SOLVED]
Message-ID:  <20161027065016.GA96055@ns.kevlo.org>
In-Reply-To: <14a75b66-5951-5ea0-5ab6-a9f18bd920c7@aogsquid.ucsd.edu>
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> <20161025085012.GA80112@ns.kevlo.org> <14a75b66-5951-5ea0-5ab6-a9f18bd920c7@aogsquid.ucsd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 25, 2016 at 09:34:31PM -0700, David Horwitt wrote:
> 
> On 10/25/16 01:50, Kevin Lo wrote:
> > Been busy at work, sorry for the late reply.  I have a patch that adds 
> > preliminary support for the RTL8153 to ure(4), available at:
> > https://people.freebsd.org/~kevlo/ure.diff
> > 
> > Performance is not good, it could be improved later.
> > Can you please give it a try and let me know?  Thanks.
> >
> 
> Congratulations, it seems to basically work (I didn't test it rigorously, just dhclient and a few pings). However,
> I tested while wireshark was running; network traffic ceased when wireshark stopped. It appears that the native cfg
> may need promiscuous mode like cdce does.
> 
> I spent many hours trying to merge the linux r8152.c code into if_ure.c, and was overwhelmed by all the magic
> numbers and lack of associated documentation. I tip my hat to you...

Thanks for the testing and feedback!  The revised patch [1] should fix your
problem, thanks

[1] https://people.freebsd.org/~kevlo/ure.diff

> Cheers,
> DH

	Kevin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161027065016.GA96055>