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

git: arp: Embed netmsg_inarp in mbuf for asynchronized ARP input processing


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Feb 2013 06:25:09 -0800 (PST)

commit 858ae8d6b6ddb8db4a7a985fd2d4890b9c07696c
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Mon Feb 25 22:13:14 2013 +0800

    arp: Embed netmsg_inarp in mbuf for asynchronized ARP input processing
    
    - Embed netmsg_inarp, which records necessary states for routing table
      updating and later ARP reply, into mbuf; this does not change mbuf
      header size.
    - If routing tables need updating upon ARP packet reception, the
      netmsg_inarp embedded in the input ARP packet is sent asynchronizingly
      to routing threads and the possible ARP reply is defered until all
      routing tables are updated, i.e. the ARP packet is redispatched to
      netisr0 for the ARP reply sending from the last routing thread.
    - Remove no longer needed dedicated network threads.
    
    Discussed-with: dillon@

Summary of changes:
 sys/net/netisr.c       |  42 +-------------
 sys/net/netisr.h       |   2 -
 sys/net/netmsg.h       |   9 +++
 sys/netinet/if_ether.c | 153 +++++++++++++++++++++++++++++--------------------
 sys/sys/mbuf.h         |   2 +
 5 files changed, 103 insertions(+), 105 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/858ae8d6b6ddb8db4a7a985fd2d4890b9c07696c


-- 
DragonFly BSD source repository



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