cvs commit: src/sys/conf options src/sys/config LINT src/sys/dev/netif/em Makefile if_em.c src/sys/net if_ethersubr.c if_var.h netisr.c netisr.h src/sys/sys mbuf.h
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri May 2 00:40:56 PDT 2008
sephe 2008/05/02 00:40:32 PDT
DragonFly src repository
Modified files:
sys/conf options
sys/config LINT
sys/dev/netif/em Makefile if_em.c
sys/net if_ethersubr.c if_var.h netisr.c netisr.h
sys/sys mbuf.h
Log:
Introduce ETHER_INPUT_CHAIN option:
1) During RXEOF, we aggregate packets, which have same target CPU, instead of
calling lwkt_sendmsg() for each input packet.
2) At the end of RXEOF, low level ipiq sending is used to dispatch mbuf chain
to the target CPU.
3) On the target CPU, the ipi function puts mbuf to their belonging msgport.
Note, though lwkt_sendmsg() is used in ipi function, no further ipi activity
will happen, since we are on target CPU.
em(4) is made to aware of this option.
This option is off by default and has no effect on vlan(4) operation.
Revision Changes Path
1.84 +3 -0 src/sys/conf/options
1.160 +3 -0 src/sys/config/LINT
1.9 +4 -1 src/sys/dev/netif/em/Makefile
1.70 +19 -0 src/sys/dev/netif/em/if_em.c
1.58 +90 -5 src/sys/net/if_ethersubr.c
1.49 +5 -0 src/sys/net/if_var.h
1.40 +33 -0 src/sys/net/netisr.c
1.31 +1 -0 src/sys/net/netisr.h
1.48 +5 -0 src/sys/sys/mbuf.h
http://www.dragonflybsd.org/cvsweb/src/sys/conf/options.diff?r1=1.83&r2=1.84&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/config/LINT.diff?r1=1.159&r2=1.160&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/em/Makefile.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/em/if_em.c.diff?r1=1.69&r2=1.70&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_ethersubr.c.diff?r1=1.57&r2=1.58&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/if_var.h.diff?r1=1.48&r2=1.49&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/netisr.c.diff?r1=1.39&r2=1.40&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/netisr.h.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/mbuf.h.diff?r1=1.47&r2=1.48&f=u
More information about the Commits
mailing list