Branch: refs/heads/stable1-proposed Home: https://github.com/kronosnet/kronosnet Commit: d3d06971d9bcb9b76b350459041c77c9270ec779 https://github.com/kronosnet/kronosnet/commit/d3d06971d9bcb9b76b350459041c77... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2019-10-29 (Tue, 29 Oct 2019)
Changed paths: M libknet/threads_rx.c
Log Message: ----------- [RX] Discard incoming packets if knet cannot reply back.
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com
Commit: ec962c18f74d2270d3a2b73df13c20ed7fc98516 https://github.com/kronosnet/kronosnet/commit/ec962c18f74d2270d3a2b73df13c20... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2019-10-29 (Tue, 29 Oct 2019)
Changed paths: M libknet/threads_rx.c
Log Message: ----------- [RX] handle short write to the application properly
this change affects only applications that are not using knet generated socketpairs to deliver/receive data to/from knet.
If an application uses a fd that is not SOCK_SEQPACKET (basically streaming), we have to handle short writes accordingly, and knet will continue delivering as long as there is progress.
The application is responsible to verify that the data packet is complete as the delivery is not guaranteed to be complete. The application can either embed the size of the packet in their data structure or use the socket error notification callback that will be invoked in case of errors or 0 data delivery.
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com
Commit: 5b7ba88ff42534fa9b7c782c205ede23e7671f11 https://github.com/kronosnet/kronosnet/commit/5b7ba88ff42534fa9b7c782c205ede... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2019-10-29 (Tue, 29 Oct 2019)
Changed paths: M libknet/tests/api_knet_send.c M libknet/threads_tx.c
Log Message: ----------- [TX] discard too big packets when reading from socketpairs
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com
Commit: f48c922d3ee2d3b123703bfe9c787dec16d3f81b https://github.com/kronosnet/kronosnet/commit/f48c922d3ee2d3b123703bfe9c787d... Author: Fabio M. Di Nitto fdinitto@redhat.com Date: 2019-10-29 (Tue, 29 Oct 2019)
Changed paths: M libknet/threads_rx.c
Log Message: ----------- [RX] silence defrag buffer expiration debug error
when using active-active links, it is simply too noisy and doesn't provide very useful information.
Signed-off-by: Fabio M. Di Nitto fdinitto@redhat.com
Compare: https://github.com/kronosnet/kronosnet/compare/647eeae7d8da...f48c922d3ee2