1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-11-09 10:00:57 +03:00
Commit Graph

9 Commits

Author SHA1 Message Date
Dan Melnic
37add01a38 SendmmsgGSOPacketBatchWriter - try to batch more based on dest addr (map)
Summary: SendmmsgGSOPacketBatchWriter - try to batch more based on dest addr (map)

Reviewed By: mjoras

Differential Revision: D21110682

fbshipit-source-id: 1be2eb26ec33c8256f1d4bbe7e3d6fae19eb7146
2020-05-27 16:15:04 -07:00
Yang Chi
8715ddfc44 Move ScopedBufAccessor into quic/common/BufAccessor
Summary: as title

Reviewed By: mjoras

Differential Revision: D21629491

fbshipit-source-id: 31c0b255ad5ada4186bec90d19bc381fde2c29f5
2020-05-21 13:26:07 -07:00
Yang Chi
7022459fb0 Quic Inplace batch writer checks either packet size limit or next packet size
Summary: as title

Reviewed By: mjoras

Differential Revision: D21429917

fbshipit-source-id: 5be997bfd75cfab89c3d9289a31b0efab69a80fc
2020-05-12 07:04:56 -07:00
Yang Chi
014d50aa41 Quic socket write for the inplace buffer writing
Summary: as title

Reviewed By: mjoras

Differential Revision: D21211414

fbshipit-source-id: 5c4b8a747457e3f21da77541a35da1af1b1ac6e4
2020-05-05 09:53:07 -07:00
James Donald
2ac4c48e96 Avoid more direct usage of [[nodiscard]] in C++14 mode
Summary:
In D20494128 we fixed the direct use of `[[nodiscard]]` in quic, but more cases have apparently gotten into the codebase since. The reason we don't see more errors in fbsource is that clang is lenient allowing this in `-std=c++14` mode, but it causes a mismatch when the flag is honored for MSVC.

Note: quic and other parts of xplat need to stay in `-std=c++14`  mode for the time being. See abandoned diff D20377630 for details on the last attempt to switch to `-std=c++17`.

Reviewed By: yangchi

Differential Revision: D21280601

fbshipit-source-id: 78a1956d644f5f95d892b1fd82c5e899823c8e84
2020-04-28 16:30:51 -07:00
Dan Melnic
55443f2b16 Add support for thread local batch writers
Summary: Add support for thread local batch writers

Reviewed By: mjoras

Differential Revision: D21004810

fbshipit-source-id: 907a25f95afeab78fdc7e83cbab87b4f51adc3d3
2020-04-23 18:39:09 -07:00
Dan Melnic
655fef6a95 Add SendmmsgGSOPacketBatchWriter
Summary: Add SendmmsgGSOPacketBatchWriter

Reviewed By: mjoras

Differential Revision: D19529123

fbshipit-source-id: 15d2e591f91574bae0e33fd92094c24482246ee7
2020-01-28 12:44:46 -08:00
Yang Chi
a1b86e660d Rename Quic batching num to batch size
Summary: batchingNum -> batchSize

Reviewed By: mjoras

Differential Revision: D15740004

fbshipit-source-id: 2e3ba33792248ad67e3b06da0a95dc9ff8e76892
2019-06-11 07:28:34 -07:00
udippant
50d4939e9e Initial commit of mvfst 2019-04-22 23:42:46 -07:00