Is anybody using ng_pipe?

Marko Zec zec at fer.hr
Tue Aug 18 22:18:18 UTC 2020


On Tue, 18 Aug 2020 18:04:24 -0400
Ryan Stone <rysto32 at gmail.com> wrote:

> On Tue, Aug 18, 2020 at 5:43 PM Marko Zec <zec at fer.hr> wrote:
> > Since in ng_pipe we define BER as an one error in BER bits (integer
> > value), wouldn't your formula P = 1 - BER yield results less than or
> > equal to zero for all non-zero values of BER?  The domain of P is
> > [0..1], so that won't fly.
> >
> > Your analysis seems to be based on an assumption that the BER
> > parameter is given as a multiplier to 0.5**48, which it is not.
> >
> > The proper fix would be to clarify the current BER parameter
> > semantics in ng_pipe(4), not to break bridges with the existing
> > scripts / software which rely on ng_pipe.
> >
> > Cheers,
> >
> > Marko  
> 
> The manpage defined the BER parameter as follows:
> 
>             u_int64_t  ber;             /* errors per 2^48 bits */
> 
> If we instead want to change the documentation to match the
> implementation, that's fine too.

Yeah, I only saw that a few minutes ago...  Fixed in r364367.

Cheers

Marko


More information about the freebsd-net mailing list