Re: re(4) mtu >1500

2014-10-07 Thread Chris Cappuccio
I like MIMO/SISO better than 1x1 2x2 etc. Fix that shit :)

Stuart Henderson [st...@openbsd.org] wrote:
> On 2014/10/06 12:19, Chris Cappuccio wrote:
> > Stuart Henderson [s...@spacehopper.org] wrote:
> > > Does anyone have an idea of what's needed for working jumbos on the
> > > RL_FLAG_JUMBOV2 variants of re(4) where they're currently disabled?
> > > These seem to account for most of the chips seen in hardware
> > > designs from the last couple of years (including APU and some others).
> > > 
> > > if ((sc->rl_flags & RL_FLAG_JUMBOV2) == 0)
> > > ifp->if_hardmtu = sc->rl_max_mtu;
> > > 
> > 
> > I think the secrets are here :)
> > 
> > http://svnweb.freebsd.org/base/releng/10.1/sys/dev/re/if_re.c?revision=272461&view=markup
> > 
> 
> Ah, more specifically
> 
> http://svnweb.freebsd.org/base?view=revision&revision=217499 /
> http://svnweb.freebsd.org/base/head/sys/dev/re/if_re.c?r1=217498&r2=217499&pathrev=217499
> 
> OK that's probably more than I can figure out how to port without
> hardware then..

-- 
The bums will always lose



Re: re(4) mtu >1500

2014-10-07 Thread Stuart Henderson
On 2014/10/06 12:19, Chris Cappuccio wrote:
> Stuart Henderson [s...@spacehopper.org] wrote:
> > Does anyone have an idea of what's needed for working jumbos on the
> > RL_FLAG_JUMBOV2 variants of re(4) where they're currently disabled?
> > These seem to account for most of the chips seen in hardware
> > designs from the last couple of years (including APU and some others).
> > 
> > if ((sc->rl_flags & RL_FLAG_JUMBOV2) == 0)
> > ifp->if_hardmtu = sc->rl_max_mtu;
> > 
> 
> I think the secrets are here :)
> 
> http://svnweb.freebsd.org/base/releng/10.1/sys/dev/re/if_re.c?revision=272461&view=markup
> 

Ah, more specifically

http://svnweb.freebsd.org/base?view=revision&revision=217499 /
http://svnweb.freebsd.org/base/head/sys/dev/re/if_re.c?r1=217498&r2=217499&pathrev=217499

OK that's probably more than I can figure out how to port without
hardware then..



Re: re(4) mtu >1500

2014-10-06 Thread Chris Cappuccio
Stuart Henderson [s...@spacehopper.org] wrote:
> Does anyone have an idea of what's needed for working jumbos on the
> RL_FLAG_JUMBOV2 variants of re(4) where they're currently disabled?
> These seem to account for most of the chips seen in hardware
> designs from the last couple of years (including APU and some others).
> 
> if ((sc->rl_flags & RL_FLAG_JUMBOV2) == 0)
> ifp->if_hardmtu = sc->rl_max_mtu;
> 

I think the secrets are here :)

http://svnweb.freebsd.org/base/releng/10.1/sys/dev/re/if_re.c?revision=272461&view=markup



re(4) mtu >1500

2014-10-06 Thread Stuart Henderson
Does anyone have an idea of what's needed for working jumbos on the
RL_FLAG_JUMBOV2 variants of re(4) where they're currently disabled?
These seem to account for most of the chips seen in hardware
designs from the last couple of years (including APU and some others).

if ((sc->rl_flags & RL_FLAG_JUMBOV2) == 0)
ifp->if_hardmtu = sc->rl_max_mtu;

Thanks.