Project

General

Profile

Actions

Submit #2271

closed

netgraph7: request for review

Added by nant almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Hello all and happy new year!

I would like to push the following changes, related to netgraph7:

http://gitweb.dragonflybsd.org/~nant/dragonfly.git/log/refs/heads/netgraph7

These have been sitting in my local tree for quite some time (a couple
of years), and because of that they have grown a bit.. I have been
tracking the master changes so this work still builds. Occasionally, I
also added a few more modules to the build. I'm posting this here to
ask for review or at least a go-ahead-and-commit from someone.

I was able to test some modules, e.g ng_ether, but most of them are
just compile tested. I would really like to test with mpd [1] but
there are still a few modules left to be able to do that. Also, there
are still some modules available in legacy netgraph that are not
available in netgraph7 so it should not become the default.

Here is the summary of changes, taken from the commit messages.

* Translate objcache calls.
* Translate uma_zone to objcache.
* Introduce libnetgraph7 (it's compiled when WANT_NETGRAPH7 is defined).
  • The build of netgraph7 kernel part is also conditionalized by the
    WANT_NETGRAPH7 make variable.
    * Convert netgraph netisr to a real taskqueue. This fixes a deadlock
    specific to dragonfly.
  • Improve ng_ether KPI consistency between legacy netgraph and netgraph7.
  • uipc: Import mbuf utility function m_unshare() from FreeBSD
  • convert lockmgr locks into mutexes.
Add the following modules to the build:
* Welcome ng_socket.
* Welcome ng_async.
* Welcome ng_UI.
* Welcome ng_ether.
* Welcome ng_hole.
* Welcome ng_cisco.
* Welcome ng_iface.
* Welcome ng_tee.
* Welcome ng_atmllc.
* Welcome ng_bpf.
* Welcome ng_vjc.
  • Welcome ng_tcpmss.
  • Welcome ng_rfc1490.
  • Welcome ng_hub.
  • Welcome ng_pppoe.
  • Welcome ng_one2many.
  • Welcome ng_mppc.
  • Welcome ng_ppp.
  • Welcome ng_lmi.
  • Welcome ng_l2tp.
  • Welcome ng_frame_relay.
  • Welcome ng_etf.
  • Welcome ng_echo.
  • Welcome ng_pptpgre.
  • Welcome ng_deflate.
  • Welcome ng_bridge.

I know that netgraph7 is no longer the latest and greatest but it
brings me a step closer to importing netgraph9 (or 10) later.

Thanks
Nuno

[1] http://mpd.sourceforge.net/


Related issues 2 (0 open2 closed)

Related to Bug #1986: Netgraph7 workClosed

Actions
Related to Bug #1837: netgraph7 work in progressClosed

Actions
Actions

Also available in: Atom PDF