Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call UpdateQeo from Connection #3607

Merged
merged 26 commits into from
May 15, 2023
Merged

Call UpdateQeo from Connection #3607

merged 26 commits into from
May 15, 2023

Conversation

ami-GS
Copy link
Contributor

@ami-GS ami-GS commented May 3, 2023

Description

Call UpdateQeo from Connection
Leveraging #3600

  • QUIC_SETTINGS to have EncryptionOffloadEnabled flag
  • QUIC_CONNECTION_STATE to have state to indicate whether currently offloading
  • Offloading is actually enabled at the end of ConnStart

Testing

Documentation

@ami-GS ami-GS requested a review from a team as a code owner May 3, 2023 23:22
src/inc/quic_datapath.h Outdated Show resolved Hide resolved
src/inc/msquic.h Outdated Show resolved Hide resolved
Copy link
Member

@nibanks nibanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good so far. Still a few things left to do.

src/core/connection.c Outdated Show resolved Hide resolved
src/core/connection.c Outdated Show resolved Hide resolved
src/core/connection.c Outdated Show resolved Hide resolved
src/core/connection.h Outdated Show resolved Hide resolved
src/core/settings.c Outdated Show resolved Hide resolved
src/inc/msquic.h Outdated Show resolved Hide resolved
src/inc/quic_datapath.h Outdated Show resolved Hide resolved
src/core/settings.h Outdated Show resolved Hide resolved
src/core/connection.h Outdated Show resolved Hide resolved
src/core/connection.c Show resolved Hide resolved
src/inc/msquic.h Outdated Show resolved Hide resolved
src/inc/msquic.h Outdated Show resolved Hide resolved
src/core/quicdef.h Outdated Show resolved Hide resolved
src/core/settings.c Outdated Show resolved Hide resolved
src/core/connection.c Fixed Show fixed Hide fixed
if (!Settings->IsSet.EncryptionOffloadAllowed) {
Value = QUIC_DEFAULT_ENCRYPTION_OFFLOAD_ALLOWED;
ValueLen = sizeof(Value);
CxPlatStorageReadValue(

Check warning

Code scanning / CodeQL

Expression has no effect

This expression has no effect (because [CxPlatStorageReadValue](1) has no external side effects).
src/core/crypto.c Fixed Show fixed Hide fixed
src/core/crypto.c Fixed Show fixed Hide fixed
ami-GS added 2 commits May 5, 2023 09:59
* Use qeo flag in secnetperf

* extern variable

* wrap QUIC_SETTINGS related lines as preview feature

* remove preview feature ifdef
src/core/connection.c Fixed Show fixed Hide fixed
src/core/connection.c Fixed Show fixed Hide fixed
src/core/connection.c Fixed Show fixed Hide fixed
src/core/connection.c Outdated Show resolved Hide resolved
src/inc/quic_datapath.h Outdated Show resolved Hide resolved
src/inc/quic_tls.h Outdated Show resolved Hide resolved
src/core/connection.c Outdated Show resolved Hide resolved
src/core/crypto.c Outdated Show resolved Hide resolved
src/core/path.c Outdated Show resolved Hide resolved
src/core/crypto.c Outdated Show resolved Hide resolved
src/core/crypto.c Outdated Show resolved Hide resolved
src/core/connection.c Outdated Show resolved Hide resolved
src/core/crypto.c Outdated Show resolved Hide resolved
src/core/settings.c Outdated Show resolved Hide resolved
src/core/crypto.c Outdated Show resolved Hide resolved
src/core/crypto.c Outdated Show resolved Hide resolved
src/core/path.h Outdated Show resolved Hide resolved
src/inc/quic_crypt.h Outdated Show resolved Hide resolved
src/core/crypto.h Outdated Show resolved Hide resolved
@ami-GS ami-GS merged commit e25d9b2 into main May 15, 2023
@ami-GS ami-GS deleted the dev/daiki/qeo_connection branch May 15, 2023 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants