Adding RTL8153 support to rue(4) (actually cdce(4)) USB to Ethernet driver [SOLVED]
Kevin Lo
kevlo at FreeBSD.org
Thu Oct 27 06:52:18 UTC 2016
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
More information about the freebsd-net
mailing list