]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Import the 'iflib' API library for network drivers. From the author:
authorscottl <scottl@FreeBSD.org>
Wed, 18 May 2016 04:35:58 +0000 (04:35 +0000)
committerscottl <scottl@FreeBSD.org>
Wed, 18 May 2016 04:35:58 +0000 (04:35 +0000)
commit596f2a146d0b80c29929db3873e8d0f95be58796
treec4ee95073f62d2e14fe35a639e6ee91bf1583c2f
parentdc27d2be742522708e9a3be6ede0a3dddb3ed245
Import the 'iflib' API library for network drivers.  From the author:

"iflib is a library to eliminate the need for frequently duplicated device
independent logic propagated (poorly) across many network drivers."

Participation is purely optional.  The IFLIB kernel config option is
provided for drivers that want to transition between legacy and iflib
modes of operation.  ixl and ixgbe driver conversions will be committed
shortly.  We hope to see participation from the Broadcom and maybe
Chelsio drivers in the near future.

Submitted by:   mmacy@nextbsd.org
Reviewed by:    gallatin
Differential Revision:  D5211
15 files changed:
sys/conf/files
sys/conf/options
sys/kern/device_if.m
sys/kern/kern_mbuf.c
sys/kern/subr_taskqueue.c
sys/net/if.c
sys/net/if_var.h
sys/net/ifdi_if.m [new file with mode: 0644]
sys/net/iflib.c [new file with mode: 0644]
sys/net/iflib.h [new file with mode: 0644]
sys/net/mp_ring.c [new file with mode: 0644]
sys/net/mp_ring.h [new file with mode: 0644]
sys/sys/_task.h
sys/sys/mbuf.h
sys/sys/taskqueue.h