Re: Questions on iflib

2016-05-11 Thread Chris H
On Wed, 11 May 2016 11:27:20 -0700 "K. Macy" <km...@freebsd.org> wrote

> On Wed, May 11, 2016 at 7:56 AM, Chris H <bsd-li...@bsdforge.com> wrote:
> > On Tue, 10 May 2016 10:25:24 -0700 hiren panchasara
> > <hi...@strugglingcoder.info> wrote
> >
> >> + Kip, Scott.
> >>
> >> On 05/10/16 at 04:46P, David Somayajulu wrote:
> >> > Hi All,
> >> > I have a couple of questions on iflib :
> >> >
> >> > 1.   Are there plans to incorporate iflib into CURRENT. If yes, will
> >> > it make it into FreeBSD11 release ?
> >>
> >> Yes. The library itself (without any drivers) is being prepared for
> >> committing to CURRENT.
> > This is intended to be optional. Right?
> 
> The name Iflib is short for iflnet library. A driver has to be
> programmed to it. It will always be possible to program directly to
> ifnet, but henceforth it will be frowned upon when not absolutely
> necessary. As iflib will ultimately make the driver more performant
> and more maintainable. As a counterexample, the Chelsio driver has to
> manage multiple ports on a single device and handle synchronization
> with upper level protocols. It's also extremely well optimized
> already. I don't know of any other network driver that can justify
> opting out for one of those reasons, much less both.
> 
> -M
No. Makes perfect sense. I'm afraid I mis-guessed it's intent.
Sorry for the noise, and thanks for taking the time to reply. :)

--Chris

--


___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Questions on iflib

2016-05-11 Thread K. Macy
On Wed, May 11, 2016 at 7:56 AM, Chris H <bsd-li...@bsdforge.com> wrote:
> On Tue, 10 May 2016 10:25:24 -0700 hiren panchasara
> <hi...@strugglingcoder.info> wrote
>
>> + Kip, Scott.
>>
>> On 05/10/16 at 04:46P, David Somayajulu wrote:
>> > Hi All,
>> > I have a couple of questions on iflib :
>> >
>> > 1.   Are there plans to incorporate iflib into CURRENT. If yes, will it
>> > make it into FreeBSD11 release ?
>>
>> Yes. The library itself (without any drivers) is being prepared for
>> committing to CURRENT.
> This is intended to be optional. Right?

The name Iflib is short for iflnet library. A driver has to be
programmed to it. It will always be possible to program directly to
ifnet, but henceforth it will be frowned upon when not absolutely
necessary. As iflib will ultimately make the driver more performant
and more maintainable. As a counterexample, the Chelsio driver has to
manage multiple ports on a single device and handle synchronization
with upper level protocols. It's also extremely well optimized
already. I don't know of any other network driver that can justify
opting out for one of those reasons, much less both.

-M
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Questions on iflib

2016-05-11 Thread Chris H
On Tue, 10 May 2016 10:25:24 -0700 hiren panchasara
<hi...@strugglingcoder.info> wrote

> + Kip, Scott.
> 
> On 05/10/16 at 04:46P, David Somayajulu wrote:
> > Hi All,
> > I have a couple of questions on iflib :
> > 
> > 1.   Are there plans to incorporate iflib into CURRENT. If yes, will it
> > make it into FreeBSD11 release ? 
>
> Yes. The library itself (without any drivers) is being prepared for
> committing to CURRENT.
This is intended to be optional. Right?
> 
> > 
> > 2.   Where can I get the latest patch of iflib for FreeBSD_CURRENT ?
> 
> Kip or Scott may provide more info.
> 
> Cheers,
> Hiren

--Chris


___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Questions on iflib

2016-05-11 Thread K. Macy
It's a bit cumbersome to manage as a patch:

https://github.com/NextBSD/NextBSD/tree/HEAD_MERGE/iflib


git clone https://github.com/NextBSD/NextBSD.git -b HEAD_MERGE/iflib

make sure to use the HEAD_MERGE/iflib branch not the default one.

-M

On Tue, May 10, 2016 at 10:58 PM, David Somayajulu
<david.somayaj...@qlogic.com> wrote:
> Thanks for info.
> Is there a link to the latest patch which I can apply to CURRENT in the 
> meantime ?
> Thanks
> David S.
>
> -Original Message-
> From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd-...@freebsd.org] On 
> Behalf Of K. Macy
> Sent: Tuesday, May 10, 2016 12:31 PM
> To: hiren panchasara <hi...@strugglingcoder.info>
> Cc: freebsd-net@freebsd.org; sco...@freebsd.org; freebsd-driv...@freebsd.org; 
> David Somayajulu <david.somayaj...@qlogic.com>
> Subject: Re: Questions on iflib
>
> I'm waiting on erj to commit his ixl update. It will go in immediately 
> following that with an ixgbe and ixl driver. It would have also included a 
> bxe driver, but the original bxe driver is too flaky to even test that 
> cabling is OK and my 10GbaseT version frequently had unrecoverable dmae 
> errors. It may just be the "ET game" of  ethernet cards, meriting a similar 
> fate.
>
> Cheers.
> -M
>
>
> On Tuesday, May 10, 2016, hiren panchasara <hi...@strugglingcoder.info>
> wrote:
>
>> + Kip, Scott.
>>
>> On 05/10/16 at 04:46P, David Somayajulu wrote:
>> > Hi All,
>> > I have a couple of questions on iflib :
>> >
>> > 1.   Are there plans to incorporate iflib into CURRENT. If yes, will
>> it make it into FreeBSD11 release ?
>>
>> Yes. The library itself (without any drivers) is being prepared for
>> committing to CURRENT.
>>
>> >
>> > 2.   Where can I get the latest patch of iflib for FreeBSD_CURRENT ?
>>
>> Kip or Scott may provide more info.
>>
>> Cheers,
>> Hiren
>>
> ___
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


RE: Questions on iflib

2016-05-10 Thread David Somayajulu
Thanks for info.
Is there a link to the latest patch which I can apply to CURRENT in the 
meantime ?
Thanks
David S.

-Original Message-
From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd-...@freebsd.org] On 
Behalf Of K. Macy
Sent: Tuesday, May 10, 2016 12:31 PM
To: hiren panchasara <hi...@strugglingcoder.info>
Cc: freebsd-net@freebsd.org; sco...@freebsd.org; freebsd-driv...@freebsd.org; 
David Somayajulu <david.somayaj...@qlogic.com>
Subject: Re: Questions on iflib

I'm waiting on erj to commit his ixl update. It will go in immediately 
following that with an ixgbe and ixl driver. It would have also included a bxe 
driver, but the original bxe driver is too flaky to even test that cabling is 
OK and my 10GbaseT version frequently had unrecoverable dmae errors. It may 
just be the "ET game" of  ethernet cards, meriting a similar fate.

Cheers.
-M


On Tuesday, May 10, 2016, hiren panchasara <hi...@strugglingcoder.info>
wrote:

> + Kip, Scott.
>
> On 05/10/16 at 04:46P, David Somayajulu wrote:
> > Hi All,
> > I have a couple of questions on iflib :
> >
> > 1.   Are there plans to incorporate iflib into CURRENT. If yes, will
> it make it into FreeBSD11 release ?
>
> Yes. The library itself (without any drivers) is being prepared for 
> committing to CURRENT.
>
> >
> > 2.   Where can I get the latest patch of iflib for FreeBSD_CURRENT ?
>
> Kip or Scott may provide more info.
>
> Cheers,
> Hiren
>
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Questions on iflib

2016-05-10 Thread K. Macy
I'm waiting on erj to commit his ixl update. It will go in immediately
following that with an ixgbe and ixl driver. It would have also included a
bxe driver, but the original bxe driver is too flaky to even test that
cabling is OK and my 10GbaseT version frequently had unrecoverable dmae
errors. It may just be the "ET game" of  ethernet cards, meriting a similar
fate.

Cheers.
-M


On Tuesday, May 10, 2016, hiren panchasara <hi...@strugglingcoder.info>
wrote:

> + Kip, Scott.
>
> On 05/10/16 at 04:46P, David Somayajulu wrote:
> > Hi All,
> > I have a couple of questions on iflib :
> >
> > 1.   Are there plans to incorporate iflib into CURRENT. If yes, will
> it make it into FreeBSD11 release ?
>
> Yes. The library itself (without any drivers) is being prepared for
> committing to CURRENT.
>
> >
> > 2.   Where can I get the latest patch of iflib for FreeBSD_CURRENT ?
>
> Kip or Scott may provide more info.
>
> Cheers,
> Hiren
>
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Questions on iflib

2016-05-10 Thread hiren panchasara
+ Kip, Scott.

On 05/10/16 at 04:46P, David Somayajulu wrote:
> Hi All,
> I have a couple of questions on iflib :
> 
> 1.   Are there plans to incorporate iflib into CURRENT. If yes, will it 
> make it into FreeBSD11 release ?

Yes. The library itself (without any drivers) is being prepared for
committing to CURRENT.

> 
> 2.   Where can I get the latest patch of iflib for FreeBSD_CURRENT ?

Kip or Scott may provide more info.

Cheers,
Hiren


pgpz1lkMxUNBp.pgp
Description: PGP signature


Questions on iflib

2016-05-10 Thread David Somayajulu
Hi All,
I have a couple of questions on iflib :

1.   Are there plans to incorporate iflib into CURRENT. If yes, will it 
make it into FreeBSD11 release ?

2.   Where can I get the latest patch of iflib for FreeBSD_CURRENT ?

Thanks
David S (davi...@freebsd.org)
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"