diff options
author | 2009-06-04 05:02:25 +0000 | |
---|---|---|
committer | 2009-06-04 05:02:25 +0000 | |
commit | 4b7ea6bdd212a8b6a6340302dac11a133b8e45d1 (patch) | |
tree | 4fe82ac195f29ad5449a607e99bdaddf3268ee7c /sys/dev/pci/if_em.c | |
parent | Id of another 82576 controller found in the freebsd driver. (diff) | |
download | wireguard-openbsd-4b7ea6bdd212a8b6a6340302dac11a133b8e45d1.tar.xz wireguard-openbsd-4b7ea6bdd212a8b6a6340302dac11a133b8e45d1.zip |
the decision on wether a packet is to be delivered locally or forwarded
is pretty expensive, the more the more addresses are configured locally,
since we walk a list. when pf is on and we have a state key pointer,
and that state key is linked to another state key, we know for sure this
is not local. when it has a link to a pcb, it certainly goes to the local
codepath.
on a box with 1000 adresses forwarding 3 times as fast as before. theo ok
Diffstat (limited to 'sys/dev/pci/if_em.c')
0 files changed, 0 insertions, 0 deletions