DragonFly commits List (threaded) for 2009-03
DragonFly BSD
DragonFly commits List (threaded) for 2009-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.0.435.g2eb0d master sys/dev/netif/bce if_bce.c sys/dev/netif/bfe if_bfe.c sys/dev/netif/bge if_bge.c sys/dev/netif/em if_em.c sys/dev/netif/emx if_emx.c sys/dev/netif/et if_et.c sys/dev/netif/fxp if_fxp.c sys/dev/netif/jme if_jme.c sys/dev/netif/msk if_msk.c sys/dev/netif/nfe if_nfe.c sys/dev/netif/re if_re.c sys/dev/netif/xl if_xl.c sys/net if_ethersubr.c if_var.h netisr.c netisr.h


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 21 Mar 2009 18:22:37 -0700 (PDT)

commit 2eb0d0694bd74032ad456be1c83b669b6b692b18
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sat Mar 21 10:46:12 2009 +0800

    ether_input/rss: Pass packet info to ether_input_chain.
    
    - Pass packet info to ether_input_chain(), if netisr_find_pktinfo_port()
      could locate the msgport, then short circuit the rest of the ether_input
      code and dispatch the ethernet packet directly.
    - Revoke the pi_hash field in pktinfo and extend the pktinfo_portfn_t to
      accpet an mbuf parameter, so that pktinfo_portfn_t could change the mbuf
      hash value.  e.g. pktinfo_portfn_cpu0() will always set m_pkthdr.hash
      to 0.
    - Adjust ether_input_chain() callers accordingly.

Summary of changes:
 sys/dev/netif/bce/if_bce.c |    2 +-
 sys/dev/netif/bfe/if_bfe.c |    2 +-
 sys/dev/netif/bge/if_bge.c |    2 +-
 sys/dev/netif/em/if_em.c   |    2 +-
 sys/dev/netif/emx/if_emx.c |    2 +-
 sys/dev/netif/et/if_et.c   |    2 +-
 sys/dev/netif/fxp/if_fxp.c |    2 +-
 sys/dev/netif/jme/if_jme.c |    2 +-
 sys/dev/netif/msk/if_msk.c |    2 +-
 sys/dev/netif/nfe/if_nfe.c |    2 +-
 sys/dev/netif/re/if_re.c   |    2 +-
 sys/dev/netif/xl/if_xl.c   |    2 +-
 sys/net/if_ethersubr.c     |   36 ++++++++++++++++++++++++++++++------
 sys/net/if_var.h           |    4 +++-
 sys/net/netisr.c           |   22 +++++++++++++---------
 sys/net/netisr.h           |    9 ++++-----
 16 files changed, 62 insertions(+), 33 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2eb0d0694bd74032ad456be1c83b669b6b692b18


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]