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
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 
  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

More information about the Commits mailing list