On 20 February 2012 16:15, Luigi Rizzo <ri...@iet.unipi.it> wrote:

>> The concept seems fine to me and I like that it might simplify future
>> API changes.  Have you verified that if_get_*() accessors don't add
>> significant overhead?
>
> the vast majority of these fields are only accessed in the control path,
> not on each packet, so there isn't really a performance issue. Besides
> they can be trivially implemted as macros or inline functions.

I doubt Juniper need _binary_ level compatibility. So we could get
away with inline methods.

This sort of thing just makes source level compatibility a lot easier.


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

Reply via email to