summaryrefslogtreecommitdiff
path: root/sys/net/pipex_local.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2020-02-15 18:02:01 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2020-02-15 18:02:01 +0000
commit7f575b2b90078628c0244d2ad6ee8966d19a2500 (patch)
tree104e763abd59dc41ad47208cb0ecb0dfe9ecb9e1 /sys/net/pipex_local.h
parent041333ded23476ee20b2d905937694662dc6849b (diff)
*_minphys() functions that cap i/o sizes at a value larger than the
value minphys() uses (MAXPHYS) are pointless since minphys() is always called after the *_minphys() function. MAXPHYS (64 * 1024) == 16 * 4096. 4096 is the smallest PAGE_SIZE we have. So a *_minphys() function that caps the i/o size at N * PAGE_SIZE where N is > 16 is just wasting cycles. Nuke adv_minphys (40 * PAGE_SIZE), adw_minphys (254 * PAGE_SIZE), ahc_minphys (128 * PAGE_SIZE), ahd_minphys (128 * PAGE_SIZE), ami_minphys (26 * PAGE_SIZE), cac_minphys (65535 (!!!) * 512), iha_minphsy (32 * PAGE_SIZE), trm_minphys (31 * PAGE_SIZE), twe_minphys (62 * PAGE_SIZE). uha_minphys (32 * PAGE_SIZE),
Diffstat (limited to 'sys/net/pipex_local.h')
0 files changed, 0 insertions, 0 deletions