vke(4) - Dynamic mbuf cluster allocation.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Thu, 28 Feb 2013 20:54:49 +0000 (21:54 +0100)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Thu, 28 Feb 2013 21:07:19 +0000 (22:07 +0100)
commit3351469c6dc3167795df9438cbec0f3439a8fe46
tree01525b310da542672208187c366738a98cefa357
parent39896b46af6fc8caaaceaedebb9bcb4cf2da0a46
vke(4) - Dynamic mbuf cluster allocation.

* Calculate the number of mbuf clusters per ring buffer
  based on the total amount available in the system.

* Up to 50% of the total mbuf clusters is shared among
  all the vke devices configured in a vkernel.
sys/dev/virtual/vkernel/net/if_vke.c