Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2003 15:20:41 +0200
From:      Max Laier <max@love2party.net>
To:        Michael Nottebrock <michaelnottebrock@gmx.net>
Cc:        current@freebsd.org
Subject:   Re: [ALTQ/FreeBSD] Re: if_tun not altq enabled in pfaltq patch?
Message-ID:  <406622109.20031014152041@love2party.net>
In-Reply-To: <200310141403.55012.michaelnottebrock@gmx.net>
References:  <200310141045.09755.michaelnottebrock@gmx.net> <200310141403.55012.michaelnottebrock@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Michael,

Tuesday, October 14, 2003, 2:03:51 PM, you wrote:
>> I see it's patched and contains altq-code, but trying to apply the classic
>> ack-prioritizing ruleset gives me "pfctl: tun0: driver does not support
>> altq". Is this expected?

MN> Okay, it seems pf didn't like the fact that my if_tun was a module. In-kernel
MN> seems to work.

Yes, that is a general problem: We'd have to extensively patch all if_*
module Makefiles to propagate the new option. There is:

> +------------------------------------------------------------------------+
> |        Issue        |  Status   |   Responsible   |    Description     |
> |---------------------+-----------+-----------------+--------------------|
> |                     |           |                 | Kernel modules are |
> |                     |           |                 | currently built    |
> |                     |           |                 | independently from |
> |                     |           |                 | a kernel           |
> |                     |           |                 | configuration, and |
> |                     |           |                 | independently from |
> |                     |           |                 | one another,       |
> |                     |           |                 | resulting in       |
> |                     |           |                 | substantially      |
> |                     |           |                 | redundant          |
> |                     |           |                 | compilation of     |
> |                     |           |                 | objects, as well   |
> |                     |           |                 | as the inability   |
> |                     |           |                 | to easily manage   |
> |                     |           |                 | compile-time       |
> |                     |           |                 | options for kernel |
> |                     |           |                 | objects (such as   |
> |                     |           |                 | MAC, PAE, etc)     |
> | Revised kld build   | --        | --              | that may require   |
> | infrastructure      |           |                 | conditional        |
> |                     |           |                 | compilation in the |
> |                     |           |                 | kernel modules. In |
> |                     |           |                 | order to improve   |
> |                     |           |                 | build performance  |
> |                     |           |                 | and better support |
> |                     |           |                 | options of this    |
> |                     |           |                 | sort, the KLD      |
> |                     |           |                 | build              |
> |                     |           |                 | infrastructure     |
> |                     |           |                 | needs to be        |
> |                     |           |                 | revamped. Peter    |
> |                     |           |                 | Wemm has done some |
> |                     |           |                 | initial            |
> |                     |           |                 | prototyping, and   |
> |                     |           |                 | should be          |
> |                     |           |                 | contacted before   |
> |                     |           |                 | starting on this   |
> |                     |           |                 | work.              |
> |---------------------+-----------+-----------------+--------------------|

this topic from the 5.2-Release TODO applies here! If you are planning
to investigate in that area, I could offer some starting points. I am
unsure how to do this "right" so I didn't start anything myself, but I
have some ideas ...

If anybody is going to put his head into it, feel free to contact me for
support.

-- 
Best regards,
 Max                            mailto:max@love2party.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?406622109.20031014152041>