Revision 16b34aa44b257155d9392a19e08e4ce139bc2789 authored by Ronnie Sahlberg on 08 March 2019, 02:58:21 UTC, committed by Steve French on 15 March 2019, 00:32:35 UTC
Reserve the last MAX_COMPOUND credits for any request asking for >1 credit. This is to prevent future compound requests from becoming starved while waiting for potentially many requests is there is a large number of concurrent singe-credit requests. However, we need to protect from servers that are very slow to hand out new credits on new sessions so we only do this IFF there are 2*MAX_COMPOUND (arbitrary) credits already in flight. Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
1 parent b227d21
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.1 KB |
Makefile | -rw-r--r-- | 721 bytes |
dsa.c | -rw-r--r-- | 8.3 KB |
dsa2.c | -rw-r--r-- | 16.4 KB |
dsa_priv.h | -rw-r--r-- | 6.4 KB |
legacy.c | -rw-r--r-- | 15.7 KB |
master.c | -rw-r--r-- | 7.7 KB |
port.c | -rw-r--r-- | 10.9 KB |
slave.c | -rw-r--r-- | 42.7 KB |
switch.c | -rw-r--r-- | 8.6 KB |
tag_brcm.c | -rw-r--r-- | 5.2 KB |
tag_dsa.c | -rw-r--r-- | 3.8 KB |
tag_edsa.c | -rw-r--r-- | 4.4 KB |
tag_gswip.c | -rw-r--r-- | 2.7 KB |
tag_ksz.c | -rw-r--r-- | 4.5 KB |
tag_lan9303.c | -rw-r--r-- | 4.4 KB |
tag_mtk.c | -rw-r--r-- | 3.1 KB |
tag_qca.c | -rw-r--r-- | 2.9 KB |
tag_trailer.c | -rw-r--r-- | 2.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...