aboutgitcodebugslistschat
path: root/contrib
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2025-03-17 20:24:17 +1100
committerStefano Brivio <sbrivio@redhat.com>2025-03-20 20:33:12 +0100
commit9866d146e654975dd7f5fd3f1294d5fc4628cef3 (patch)
treed2f9f9030aaefeefe844f88cdd74715d74fc0dc6 /contrib
parenta41d6d125eca5ac8c54bed8157098be141557b03 (diff)
downloadpasst-9866d146e654975dd7f5fd3f1294d5fc4628cef3.tar
passt-9866d146e654975dd7f5fd3f1294d5fc4628cef3.tar.gz
passt-9866d146e654975dd7f5fd3f1294d5fc4628cef3.tar.bz2
passt-9866d146e654975dd7f5fd3f1294d5fc4628cef3.tar.lz
passt-9866d146e654975dd7f5fd3f1294d5fc4628cef3.tar.xz
passt-9866d146e654975dd7f5fd3f1294d5fc4628cef3.tar.zst
passt-9866d146e654975dd7f5fd3f1294d5fc4628cef3.zip
tap: Clarify calculation of TAP_MSGS
The rationale behind the calculation of TAP_MSGS isn't necessarily obvious. It's supposed to be the maximum number of packets that can fit in pkt_buf. However, the calculation is wrong in several ways: * It's based on ETH_ZLEN which isn't meaningful for virtual devices * It always includes the qemu socket header which isn't used for pasta * The size of pkt_buf isn't relevant for vhost-user We've already made sure this is just a tuning parameter, not a hard limit. Clarify what we're calculating here and why. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions