MFp4 @178283:
Improve IPsec flow distribution for better netisr parallelism. Instead of using the pointer that would have the last bits masked in a % statement in netisr_select_cpuid() to select the queue, use the SPI. Reviewed by: rwatson MFC after: 4 weeks
This commit is contained in:
parent
58ccad7ddc
commit
3abaa08643
@ -489,7 +489,7 @@ ipsec4_common_input_cb(struct mbuf *m, struct secasvar *sav,
|
||||
/*
|
||||
* Re-dispatch via software interrupt.
|
||||
*/
|
||||
if ((error = netisr_queue_src(NETISR_IP, (uintptr_t)sav, m))) {
|
||||
if ((error = netisr_queue_src(NETISR_IP, (uintptr_t)sav->spi, m))) {
|
||||
IPSEC_ISTAT(sproto, V_espstat.esps_qfull, V_ahstat.ahs_qfull,
|
||||
V_ipcompstat.ipcomps_qfull);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user