Re: [ALTQ/FreeBSD] Re: if_tun not altq enabled in pfaltq patch?

From: Max Laier <max_at_love2party.net>
Date: Tue, 14 Oct 2003 15:20:41 +0200
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_at_love2party.net
Received on Tue Oct 14 2003 - 04:20:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:25 UTC