DragonFly commits List (threaded) for 2008-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/conf options src/sys/config LINT src/sys/dev/netif/em if_em.c src/sys/net if_ethersubr.c if_var.h netisr.c netisr.h
sephe 2008/06/23 04:57:19 PDT
DragonFly src repository
Modified files:
sys/conf options
sys/config LINT
sys/dev/netif/em if_em.c
sys/net if_ethersubr.c if_var.h netisr.c netisr.h
Log:
Add ether_input_chain2() which could be called by ethernet NIC drivers to
deliver packets into upper layer. Unlike ether_input_chain(), this function
only locates the msgport for the input packets, rest of the functionalities
of ether_input_chain() are performed in the protocal threads, i.e. after
packets reaches target msgports. This function and other related functions
are put under kernel option ETHER_INPUT2, which is _not_ enabled by default.
As of this commit, vlan(4) and ipflow don't work with ether_input_chain2().
em(4) is adapted to aware ETHER_INPUT2.
Reviewed-by: dillon@, aggelos@ (early version)
# Additional comments are added to the the reviewed patch.
Revision Changes Path
1.88 +1 -0 src/sys/conf/options
1.164 +2 -0 src/sys/config/LINT
1.73 +4 -0 src/sys/dev/netif/em/if_em.c
1.68 +494 -0 src/sys/net/if_ethersubr.c
1.58 +3 -0 src/sys/net/if_var.h
1.43 +51 -0 src/sys/net/netisr.c
1.33 +2 -0 src/sys/net/netisr.h
http://www.dragonflybsd.org/cvsweb/src/sys/conf/options.diff?r1=1.87&r2=1.88&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/config/LINT.diff?r1=1.163&r2=1.164&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/em/if_em.c.diff?r1=1.72&r2=1.73&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_ethersubr.c.diff?r1=1.67&r2=1.68&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_var.h.diff?r1=1.57&r2=1.58&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/netisr.c.diff?r1=1.42&r2=1.43&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/netisr.h.diff?r1=1.32&r2=1.33&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]