summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_pcb.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2011-02-03 10:05:30 +0000
committerrrs <rrs@FreeBSD.org>2011-02-03 10:05:30 +0000
commit11926ca84d4e893ce66f67b945840ccb9540a3cb (patch)
treef375c5a4b89f181396c6ef9e9820df7334aca5ec /sys/netinet/sctp_pcb.h
parentaef7d099b3942ac43f7510d624d873ae4a76a5c2 (diff)
downloadFreeBSD-src-11926ca84d4e893ce66f67b945840ccb9540a3cb.zip
FreeBSD-src-11926ca84d4e893ce66f67b945840ccb9540a3cb.tar.gz
Adds an experimental option to create a pool of
threads. These serve as input threads and are queued packets based on the V-tag number. This is similar to what a modern card can do with queue's for TCP... but alas modern cards know nothing about SCTP. MFC after: 3 months (maybe)
Diffstat (limited to 'sys/netinet/sctp_pcb.h')
-rw-r--r--sys/netinet/sctp_pcb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netinet/sctp_pcb.h b/sys/netinet/sctp_pcb.h
index cbb185a..fb7857e 100644
--- a/sys/netinet/sctp_pcb.h
+++ b/sys/netinet/sctp_pcb.h
@@ -624,6 +624,12 @@ sctp_initiate_iterator(inp_func inpf,
struct sctp_inpcb *,
uint8_t co_off);
+#if defined(__FreeBSD__) && defined(SCTP_MCORE_INPUT) && defined(SMP)
+void
+ sctp_queue_to_mcore(struct mbuf *m, int off, int cpu_to_use);
+
+#endif
+
#ifdef INVARIANTS
void
sctp_validate_no_locks(struct sctp_inpcb *inp);
OpenPOWER on IntegriCloud