summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_em.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2009-06-04 05:02:25 +0000
committerhenning <henning@openbsd.org>2009-06-04 05:02:25 +0000
commit4b7ea6bdd212a8b6a6340302dac11a133b8e45d1 (patch)
tree4fe82ac195f29ad5449a607e99bdaddf3268ee7c /sys/dev/pci/if_em.c
parentId of another 82576 controller found in the freebsd driver. (diff)
downloadwireguard-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