commit | 7b4f4b5ebceab67ce440a61081a69f0265e17c2a | [log] [tgz] |
---|---|---|
author | John Heffner <jheffner@psc.edu> | Sat Mar 25 01:34:07 2006 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Mar 25 01:34:07 2006 -0800 |
tree | ac02c685ce23f2440fecbebaa5b55cd47947c03e | |
parent | 2babf9daae4a3561f3264638a22ac7d0b14a6f52 [diff] |
[TCP]: Set default max buffers from memory pool size This patch sets the maximum TCP buffer sizes (available to automatic buffer tuning, not to setsockopt) based on the TCP memory pool size. The maximum sndbuf and rcvbuf each will be up to 4 MB, but no more than 1/128 of the memory pressure threshold. Signed-off-by: John Heffner <jheffner@psc.edu> Signed-off-by: David S. Miller <davem@davemloft.net>