Branch: refs/heads/master
Home: https://github.com/kronosnet/kronosnet
Commit: 081ebd6b1c2dbe8df579959cd70b3424810165fb
https://github.com/kronosnet/kronosnet/commit/081ebd6b1c2dbe8df579959cd70b3…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-01-07 (Mon, 07 Jan 2019)
Changed paths:
M libknet/handle.c
M libknet/threads_common.c
M libknet/threads_common.h
M libknet/threads_dsthandler.c
M libknet/threads_heartbeat.c
M libknet/threads_pmtud.c
M libknet/threads_rx.c
M libknet/threads_tx.c
M libknet/transport_sctp.c
Log Message:
-----------
[libknet] allow better handling of internal threads
while playing around adding some dynamic internal threads, i did
hit a limitation with allocating a dynamic THREAD_MAX value based
on OS availability of certain features.
this patch changes from dynamic to static allocation of threads, that
can always be increased if necessary without breaking anything.
simplify thread numbering and conditionals on OS features
improve debugging of thread status by adding a 2 phase thread registration
process:
- register a thread before starting it with THREAD_REGISTERED before pthread_create
- set a thread status as started with THREAD_STARTED
any failure in between can now be detected in debugging logs.
Note for developers: all threads *MUST* be registered/started before
wait_all_threads_status check in handle.c.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 40cdf778074ffe87767790fc4b49f92cc584aa50
https://github.com/kronosnet/kronosnet/commit/40cdf778074ffe87767790fc4b49f…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-01-07 (Mon, 07 Jan 2019)
Changed paths:
M libknet/handle.c
M libknet/threads_common.c
M libknet/threads_common.h
M libknet/threads_dsthandler.c
M libknet/threads_heartbeat.c
M libknet/threads_pmtud.c
M libknet/threads_rx.c
M libknet/threads_tx.c
M libknet/transport_sctp.c
Log Message:
-----------
Merge pull request #188 from kronosnet/threads-improvement
[libknet] allow better handling of internal threads
Compare: https://github.com/kronosnet/kronosnet/compare/5f3d9c093ada...40cdf778074f
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
Branch: refs/heads/threads-improvement
Home: https://github.com/kronosnet/kronosnet
Commit: 081ebd6b1c2dbe8df579959cd70b3424810165fb
https://github.com/kronosnet/kronosnet/commit/081ebd6b1c2dbe8df579959cd70b3…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-01-07 (Mon, 07 Jan 2019)
Changed paths:
M libknet/handle.c
M libknet/threads_common.c
M libknet/threads_common.h
M libknet/threads_dsthandler.c
M libknet/threads_heartbeat.c
M libknet/threads_pmtud.c
M libknet/threads_rx.c
M libknet/threads_tx.c
M libknet/transport_sctp.c
Log Message:
-----------
[libknet] allow better handling of internal threads
while playing around adding some dynamic internal threads, i did
hit a limitation with allocating a dynamic THREAD_MAX value based
on OS availability of certain features.
this patch changes from dynamic to static allocation of threads, that
can always be increased if necessary without breaking anything.
simplify thread numbering and conditionals on OS features
improve debugging of thread status by adding a 2 phase thread registration
process:
- register a thread before starting it with THREAD_REGISTERED before pthread_create
- set a thread status as started with THREAD_STARTED
any failure in between can now be detected in debugging logs.
Note for developers: all threads *MUST* be registered/started before
wait_all_threads_status check in handle.c.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
Branch: refs/heads/acl
Home: https://github.com/kronosnet/kronosnet
Commit: db9fae201c42c11dccbc26deb04acf7ad2b7de2e
https://github.com/kronosnet/kronosnet/commit/db9fae201c42c11dccbc26deb04ac…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-01-05 (Sat, 05 Jan 2019)
Changed paths:
M configure.ac
M libknet/Makefile.am
A libknet/links_acl.c
A libknet/links_acl.h
M libknet/tests/Makefile.am
A libknet/tests/int_links_acl.c
A libknet/tests/int_links_acl.txt
M poc-code/Makefile.am
R poc-code/access-list/.gitignore
R poc-code/access-list/Makefile.am
R poc-code/access-list/ipcheck.c
R poc-code/access-list/ipcheck.h
R poc-code/access-list/test_ipcheck.c
R poc-code/access-list/test_ipcheck.txt
Log Message:
-----------
[acl] move poc-code into libknet dir and rename to links_acl.*
code is not integrated yet and test suite can´t run standalone
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
Branch: refs/heads/threads-improvement
Home: https://github.com/kronosnet/kronosnet
Commit: ba577f49263ac08867d2340cb2274348c3de8008
https://github.com/kronosnet/kronosnet/commit/ba577f49263ac08867d2340cb2274…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2019-01-04 (Fri, 04 Jan 2019)
Changed paths:
M libknet/handle.c
M libknet/threads_common.c
M libknet/threads_common.h
M libknet/threads_dsthandler.c
M libknet/threads_heartbeat.c
M libknet/threads_pmtud.c
M libknet/threads_rx.c
M libknet/threads_tx.c
M libknet/transport_sctp.c
Log Message:
-----------
[libknet] allow better handling of internal threads
while playing around adding some dynamic internal threads, i did
hit a limitation with allocating a dynamic THREAD_MAX value based
on OS availability of certain features.
this patch changes from dynamic to static allocation of threads, that
can always be increased if necessary without breaking anything.
simplify thread numbering and conditionals on OS features
improve debugging of thread status by adding a 2 phase thread registration
process:
- register a thread before starting it with THREAD_REGISTERED before pthread_create
- set a thread status as started with THREAD_STARTED
any failure in between can now be detected in debugging logs.
Note for developers: all threads *MUST* be registered/started before
wait_all_threads_status check in handle.c.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.