Skip to content

Commit d6af38c

Browse files
authored
Global Execution Context Renames (#5056)
1 parent 39b99c3 commit d6af38c

34 files changed

+164
-162
lines changed

docs/Settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ These parameters are accessed by calling [GetParam](./api/GetParam.md) or [SetPa
113113
| `QUIC_PARAM_GLOBAL_GLOBAL_SETTINGS`<br> 6 | QUIC_GLOBAL_SETTINGS | Both | Globally change global only settings. |
114114
| `QUIC_PARAM_GLOBAL_VERSION_SETTINGS`<br> 7 | QUIC_VERSIONS_SETTINGS | Both | Globally change version settings for all subsequent connections. |
115115
| `QUIC_PARAM_GLOBAL_LIBRARY_GIT_HASH`<br> 8 | char[64] | Get-only | Git hash used to build MsQuic (null terminated string) |
116-
| `QUIC_PARAM_GLOBAL_EXECUTION_CONFIG`<br> 9 | QUIC_EXECUTION_CONFIG | Both | Globally configure the execution model used for QUIC. Must be set before opening registration. |
116+
| `QUIC_PARAM_GLOBAL_EXECUTION_CONFIG`<br> 9 (preview) | QUIC_GLOBAL_EXECUTION_CONFIG | Both | Globally configure the execution model used for QUIC. Must be set before opening registration. |
117117
| `QUIC_PARAM_GLOBAL_TLS_PROVIDER`<br> 10 | QUIC_TLS_PROVIDER | Get-Only | The TLS provider being used by MsQuic for the TLS handshake. |
118118
| `QUIC_PARAM_GLOBAL_STATELESS_RESET_KEY`<br> 11 | uint8_t[] | Set-Only | Globally change the stateless reset key for all subsequent connections. |
119119
| `QUIC_PARAM_GLOBAL_VERSION_NEGOTIATION_ENABLED`<br> (preview) | uint8_t (BOOLEAN) | Both | Globally enable the version negotiation extension for all client and server connections. |

scripts/generate-dotnet.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Invoke-Expression "$ToolExe $FullArgs"
8080
-replace " QUIC_RECEIVE_FLAG_", " " `
8181
-replace " QUIC_SEND_FLAG_", " " `
8282
-replace " QUIC_DATAGRAM_SEND_", " " `
83-
-replace " QUIC_EXECUTION_CONFIG_FLAG_", " " `
83+
-replace " QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_", " " `
8484
-replace "QUIC_TLS_PROTOCOL_1_3", "TLS_1_3" `
8585
-replace " QUIC_TLS_PROTOCOL_", " " `
8686
-replace " QUIC_CIPHER_ALGORITHM_", " " `

src/core/library.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,13 +1013,13 @@ QuicLibrarySetGlobalParam(
10131013
return QUIC_STATUS_SUCCESS;
10141014
}
10151015

1016-
if (Buffer == NULL || BufferLength < QUIC_EXECUTION_CONFIG_MIN_SIZE) {
1016+
if (Buffer == NULL || BufferLength < QUIC_GLOBAL_EXECUTION_CONFIG_MIN_SIZE) {
10171017
return QUIC_STATUS_INVALID_PARAMETER;
10181018
}
10191019

1020-
QUIC_EXECUTION_CONFIG* Config = (QUIC_EXECUTION_CONFIG*)Buffer;
1020+
QUIC_GLOBAL_EXECUTION_CONFIG* Config = (QUIC_GLOBAL_EXECUTION_CONFIG*)Buffer;
10211021

1022-
if (BufferLength < QUIC_EXECUTION_CONFIG_MIN_SIZE + sizeof(uint16_t) * Config->ProcessorCount) {
1022+
if (BufferLength < QUIC_GLOBAL_EXECUTION_CONFIG_MIN_SIZE + sizeof(uint16_t) * Config->ProcessorCount) {
10231023
return QUIC_STATUS_INVALID_PARAMETER;
10241024
}
10251025

@@ -1051,7 +1051,7 @@ QuicLibrarySetGlobalParam(
10511051
break;
10521052
}
10531053

1054-
QUIC_EXECUTION_CONFIG* NewConfig =
1054+
QUIC_GLOBAL_EXECUTION_CONFIG* NewConfig =
10551055
CXPLAT_ALLOC_NONPAGED(BufferLength, QUIC_POOL_EXECUTION_CONFIG);
10561056
if (NewConfig == NULL) {
10571057
QuicTraceEvent(
@@ -1340,7 +1340,7 @@ QuicLibraryGetGlobalParam(
13401340
}
13411341

13421342
const uint32_t ConfigLength =
1343-
QUIC_EXECUTION_CONFIG_MIN_SIZE +
1343+
QUIC_GLOBAL_EXECUTION_CONFIG_MIN_SIZE +
13441344
sizeof(uint16_t) * MsQuicLib.ExecutionConfig->ProcessorCount;
13451345

13461346
if (*BufferLength < ConfigLength) {

src/core/library.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ typedef struct QUIC_LIBRARY {
170170
//
171171
// Configuration for execution of the library (optionally set by the app).
172172
//
173-
QUIC_EXECUTION_CONFIG* ExecutionConfig;
173+
QUIC_GLOBAL_EXECUTION_CONFIG* ExecutionConfig;
174174

175175
//
176176
// Datapath instance for the library.

src/core/unittest/SettingsTest.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -559,8 +559,8 @@ TEST(SettingsTest, GlobalLoadBalancingServerIDSet)
559559
#ifdef QUIC_API_ENABLE_PREVIEW_FEATURES
560560
TEST(SettingsTest, GlobalExecutionConfigSetAndGet)
561561
{
562-
uint8_t RawConfig[QUIC_EXECUTION_CONFIG_MIN_SIZE + 2 * sizeof(uint16_t)] = {0};
563-
QUIC_EXECUTION_CONFIG* Config = (QUIC_EXECUTION_CONFIG*)RawConfig;
562+
uint8_t RawConfig[QUIC_GLOBAL_EXECUTION_CONFIG_MIN_SIZE + 2 * sizeof(uint16_t)] = {0};
563+
QUIC_GLOBAL_EXECUTION_CONFIG* Config = (QUIC_GLOBAL_EXECUTION_CONFIG*)RawConfig;
564564
Config->ProcessorCount = 2;
565565
if (CxPlatProcCount() < 2) {
566566
Config->ProcessorCount = CxPlatProcCount();
@@ -586,7 +586,7 @@ TEST(SettingsTest, GlobalExecutionConfigSetAndGet)
586586
nullptr));
587587
ASSERT_EQ((uint32_t)sizeof(RawConfig), BufferLength);
588588
uint16_t GetRawConfig[sizeof(RawConfig)] = {0};
589-
QUIC_EXECUTION_CONFIG* GetConfig = (QUIC_EXECUTION_CONFIG*)GetRawConfig;
589+
QUIC_GLOBAL_EXECUTION_CONFIG* GetConfig = (QUIC_GLOBAL_EXECUTION_CONFIG*)GetRawConfig;
590590
ASSERT_EQ(
591591
QUIC_STATUS_SUCCESS,
592592
QuicLibraryGetGlobalParam(
@@ -629,8 +629,8 @@ TEST(SettingsTest, GlobalExecutionConfigSetAndGet)
629629

630630
TEST(SettingsTest, GlobalRawDataPathProcsSetAfterDataPathInit)
631631
{
632-
uint8_t RawConfig[QUIC_EXECUTION_CONFIG_MIN_SIZE + 2 * sizeof(uint16_t)] = {0};
633-
QUIC_EXECUTION_CONFIG* Config = (QUIC_EXECUTION_CONFIG*)RawConfig;
632+
uint8_t RawConfig[QUIC_GLOBAL_EXECUTION_CONFIG_MIN_SIZE + 2 * sizeof(uint16_t)] = {0};
633+
QUIC_GLOBAL_EXECUTION_CONFIG* Config = (QUIC_GLOBAL_EXECUTION_CONFIG*)RawConfig;
634634
Config->ProcessorCount = 2;
635635
Config->ProcessorList[0] = 0;
636636
Config->ProcessorList[1] = 1;

src/core/worker.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ QuicWorkerInitialize(
115115
}
116116

117117
if (MsQuicLib.ExecutionConfig) {
118-
if (MsQuicLib.ExecutionConfig->Flags & QUIC_EXECUTION_CONFIG_FLAG_HIGH_PRIORITY) {
118+
if (MsQuicLib.ExecutionConfig->Flags & QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_HIGH_PRIORITY) {
119119
ThreadFlags |= CXPLAT_THREAD_FLAG_HIGH_PRIORITY;
120120
}
121-
if (MsQuicLib.ExecutionConfig->Flags & QUIC_EXECUTION_CONFIG_FLAG_AFFINITIZE) {
121+
if (MsQuicLib.ExecutionConfig->Flags & QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_AFFINITIZE) {
122122
ThreadFlags |= CXPLAT_THREAD_FLAG_SET_AFFINITIZE;
123123
}
124124
}

src/cs/lib/msquic_generated.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ internal enum QUIC_DATAGRAM_SEND_STATE
213213
}
214214

215215
[System.Flags]
216-
internal enum QUIC_EXECUTION_CONFIG_FLAGS
216+
internal enum QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS
217217
{
218218
NONE = 0x0000,
219219
RIO = 0x0002,
@@ -223,9 +223,9 @@ internal enum QUIC_EXECUTION_CONFIG_FLAGS
223223
AFFINITIZE = 0x0020,
224224
}
225225

226-
internal unsafe partial struct QUIC_EXECUTION_CONFIG
226+
internal unsafe partial struct QUIC_GLOBAL_EXECUTION_CONFIG
227227
{
228-
internal QUIC_EXECUTION_CONFIG_FLAGS Flags;
228+
internal QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS Flags;
229229

230230
[NativeTypeName("uint32_t")]
231231
internal uint PollingIdleTimeoutUs;
@@ -3419,8 +3419,8 @@ internal static unsafe partial class MsQuic
34193419
[NativeTypeName("#define QUIC_STATELESS_RESET_KEY_LENGTH 32")]
34203420
internal const uint QUIC_STATELESS_RESET_KEY_LENGTH = 32;
34213421

3422-
[NativeTypeName("#define QUIC_EXECUTION_CONFIG_MIN_SIZE (uint32_t)FIELD_OFFSET(QUIC_EXECUTION_CONFIG, ProcessorList)")]
3423-
internal static readonly uint QUIC_EXECUTION_CONFIG_MIN_SIZE = unchecked((uint)((int)(Marshal.OffsetOf<QUIC_EXECUTION_CONFIG>("ProcessorList"))));
3422+
[NativeTypeName("#define QUIC_GLOBAL_EXECUTION_CONFIG_MIN_SIZE (uint32_t)FIELD_OFFSET(QUIC_GLOBAL_EXECUTION_CONFIG, ProcessorList)")]
3423+
internal static readonly uint QUIC_GLOBAL_EXECUTION_CONFIG_MIN_SIZE = unchecked((uint)((int)(Marshal.OffsetOf<QUIC_GLOBAL_EXECUTION_CONFIG>("ProcessorList"))));
34243424

34253425
[NativeTypeName("#define QUIC_MAX_TICKET_KEY_COUNT 16")]
34263426
internal const uint QUIC_MAX_TICKET_KEY_COUNT = 16;

src/inc/msquic.h

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -270,34 +270,34 @@ typedef enum QUIC_DATAGRAM_SEND_STATE {
270270
#define QUIC_DATAGRAM_SEND_STATE_IS_FINAL(State) \
271271
((State) >= QUIC_DATAGRAM_SEND_LOST_DISCARDED)
272272

273-
typedef enum QUIC_EXECUTION_CONFIG_FLAGS {
274-
QUIC_EXECUTION_CONFIG_FLAG_NONE = 0x0000,
273+
typedef enum QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS {
274+
QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_NONE = 0x0000,
275275
#ifdef QUIC_API_ENABLE_PREVIEW_FEATURES
276-
QUIC_EXECUTION_CONFIG_FLAG_RIO = 0x0002,
277-
QUIC_EXECUTION_CONFIG_FLAG_XDP = 0x0004,
278-
QUIC_EXECUTION_CONFIG_FLAG_NO_IDEAL_PROC = 0x0008,
279-
QUIC_EXECUTION_CONFIG_FLAG_HIGH_PRIORITY = 0x0010,
280-
QUIC_EXECUTION_CONFIG_FLAG_AFFINITIZE = 0x0020,
276+
QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_RIO = 0x0002,
277+
QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_XDP = 0x0004,
278+
QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_NO_IDEAL_PROC = 0x0008,
279+
QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_HIGH_PRIORITY = 0x0010,
280+
QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_AFFINITIZE = 0x0020,
281281
#endif
282-
} QUIC_EXECUTION_CONFIG_FLAGS;
282+
} QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS;
283283

284-
DEFINE_ENUM_FLAG_OPERATORS(QUIC_EXECUTION_CONFIG_FLAGS)
284+
DEFINE_ENUM_FLAG_OPERATORS(QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS)
285285

286286
//
287287
// A custom configuration for thread execution in QUIC.
288288
//
289-
typedef struct QUIC_EXECUTION_CONFIG {
289+
typedef struct QUIC_GLOBAL_EXECUTION_CONFIG {
290290

291-
QUIC_EXECUTION_CONFIG_FLAGS Flags;
291+
QUIC_GLOBAL_EXECUTION_CONFIG_FLAGS Flags;
292292
uint32_t PollingIdleTimeoutUs; // Time before a polling thread, with no work to do, sleeps.
293293
uint32_t ProcessorCount;
294294
_Field_size_(ProcessorCount)
295295
uint16_t ProcessorList[1]; // List of processors to use for threads.
296296

297-
} QUIC_EXECUTION_CONFIG;
297+
} QUIC_GLOBAL_EXECUTION_CONFIG;
298298

299-
#define QUIC_EXECUTION_CONFIG_MIN_SIZE \
300-
(uint32_t)FIELD_OFFSET(QUIC_EXECUTION_CONFIG, ProcessorList)
299+
#define QUIC_GLOBAL_EXECUTION_CONFIG_MIN_SIZE \
300+
(uint32_t)FIELD_OFFSET(QUIC_GLOBAL_EXECUTION_CONFIG, ProcessorList)
301301

302302
typedef struct QUIC_REGISTRATION_CONFIG { // All fields may be NULL/zero.
303303
const char* AppName;
@@ -863,7 +863,7 @@ void
863863
#endif
864864
#define QUIC_PARAM_GLOBAL_LIBRARY_GIT_HASH 0x01000008 // char[64]
865865
#ifdef QUIC_API_ENABLE_PREVIEW_FEATURES
866-
#define QUIC_PARAM_GLOBAL_EXECUTION_CONFIG 0x01000009 // QUIC_EXECUTION_CONFIG
866+
#define QUIC_PARAM_GLOBAL_EXECUTION_CONFIG 0x01000009 // QUIC_GLOBAL_EXECUTION_CONFIG
867867
#endif
868868
#define QUIC_PARAM_GLOBAL_TLS_PROVIDER 0x0100000A // QUIC_TLS_PROVIDER
869869
#define QUIC_PARAM_GLOBAL_STATELESS_RESET_KEY 0x0100000B // uint8_t[] - Array size is QUIC_STATELESS_RESET_KEY_LENGTH

src/inc/msquic.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1743,4 +1743,4 @@ struct QuicBufferScope {
17431743

17441744
static_assert(sizeof(QuicBufferScope) == sizeof(QUIC_BUFFER*), "Scope guards should be the same size as the guarded type");
17451745

1746-
#endif // _WIN32
1746+
#endif // _MSQUIC_HPP_

src/inc/quic_datapath.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ CxPlatDataPathInitialize(
447447
_In_opt_ const CXPLAT_UDP_DATAPATH_CALLBACKS* UdpCallbacks,
448448
_In_opt_ const CXPLAT_TCP_DATAPATH_CALLBACKS* TcpCallbacks,
449449
_In_ CXPLAT_WORKER_POOL* WorkerPool,
450-
_In_opt_ QUIC_EXECUTION_CONFIG* Config,
450+
_In_opt_ QUIC_GLOBAL_EXECUTION_CONFIG* Config,
451451
_Out_ CXPLAT_DATAPATH** NewDatapath
452452
);
453453

@@ -467,7 +467,7 @@ _IRQL_requires_max_(PASSIVE_LEVEL)
467467
void
468468
CxPlatDataPathUpdateConfig(
469469
_In_ CXPLAT_DATAPATH* Datapath,
470-
_In_ QUIC_EXECUTION_CONFIG* Config
470+
_In_ QUIC_GLOBAL_EXECUTION_CONFIG* Config
471471
);
472472

473473
#define CXPLAT_DATAPATH_FEATURE_RECV_SIDE_SCALING 0x0001

src/inc/quic_platform.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ CxPlatGetAllocFailDenominator(
444444
// loops.
445445
//
446446

447-
typedef struct QUIC_EXECUTION_CONFIG QUIC_EXECUTION_CONFIG;
447+
typedef struct QUIC_GLOBAL_EXECUTION_CONFIG QUIC_GLOBAL_EXECUTION_CONFIG;
448448

449449
typedef struct CXPLAT_EXECUTION_CONTEXT CXPLAT_EXECUTION_CONTEXT;
450450

@@ -467,7 +467,7 @@ typedef struct CXPLAT_WORKER_POOL CXPLAT_WORKER_POOL;
467467

468468
CXPLAT_WORKER_POOL*
469469
CxPlatWorkerPoolCreate(
470-
_In_opt_ QUIC_EXECUTION_CONFIG* Config
470+
_In_opt_ QUIC_GLOBAL_EXECUTION_CONFIG* Config
471471
);
472472

473473
void

src/perf/lib/SecNetPerfMain.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,23 +177,23 @@ QuicMainStart(
177177
return Status;
178178
}
179179

180-
uint8_t RawConfig[QUIC_EXECUTION_CONFIG_MIN_SIZE + 256 * sizeof(uint16_t)] = {0};
181-
QUIC_EXECUTION_CONFIG* Config = (QUIC_EXECUTION_CONFIG*)RawConfig;
180+
uint8_t RawConfig[QUIC_GLOBAL_EXECUTION_CONFIG_MIN_SIZE + 256 * sizeof(uint16_t)] = {0};
181+
QUIC_GLOBAL_EXECUTION_CONFIG* Config = (QUIC_GLOBAL_EXECUTION_CONFIG*)RawConfig;
182182
Config->PollingIdleTimeoutUs = 0; // Default to no polling.
183183
bool SetConfig = false;
184184
const char* IoMode = GetValue(argc, argv, "io");
185185

186186
#ifndef _KERNEL_MODE
187187

188188
if (IoMode && IsValue(IoMode, "rio")) {
189-
Config->Flags |= QUIC_EXECUTION_CONFIG_FLAG_RIO;
189+
Config->Flags |= QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_RIO;
190190
SetConfig = true;
191191
}
192192

193193
#endif // _KERNEL_MODE
194194

195195
if (IoMode && IsValue(IoMode, "xdp")) {
196-
Config->Flags |= QUIC_EXECUTION_CONFIG_FLAG_XDP;
196+
Config->Flags |= QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_XDP;
197197
SetConfig = true;
198198
}
199199

@@ -215,13 +215,13 @@ QuicMainStart(
215215

216216
TryGetValue(argc, argv, "highpri", &PerfDefaultHighPriority);
217217
if (PerfDefaultHighPriority) {
218-
Config->Flags |= QUIC_EXECUTION_CONFIG_FLAG_HIGH_PRIORITY;
218+
Config->Flags |= QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_HIGH_PRIORITY;
219219
SetConfig = true;
220220
}
221221

222222
TryGetValue(argc, argv, "affinitize", &PerfDefaultAffinitizeThreads);
223223
if (PerfDefaultHighPriority) {
224-
Config->Flags |= QUIC_EXECUTION_CONFIG_FLAG_AFFINITIZE;
224+
Config->Flags |= QUIC_GLOBAL_EXECUTION_CONFIG_FLAG_AFFINITIZE;
225225
SetConfig = true;
226226
}
227227

@@ -235,7 +235,7 @@ QuicMainStart(
235235
MsQuic->SetParam(
236236
nullptr,
237237
QUIC_PARAM_GLOBAL_EXECUTION_CONFIG,
238-
(uint32_t)QUIC_EXECUTION_CONFIG_MIN_SIZE + Config->ProcessorCount * sizeof(uint16_t),
238+
(uint32_t)QUIC_GLOBAL_EXECUTION_CONFIG_MIN_SIZE + Config->ProcessorCount * sizeof(uint16_t),
239239
Config))) {
240240
WriteOutput("Failed to set execution config %d\n", Status);
241241
return Status;

src/platform/datapath_epoll.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ DataPathInitialize(
360360
_In_opt_ const CXPLAT_UDP_DATAPATH_CALLBACKS* UdpCallbacks,
361361
_In_opt_ const CXPLAT_TCP_DATAPATH_CALLBACKS* TcpCallbacks,
362362
_In_ CXPLAT_WORKER_POOL* WorkerPool,
363-
_In_opt_ QUIC_EXECUTION_CONFIG* Config,
363+
_In_opt_ QUIC_GLOBAL_EXECUTION_CONFIG* Config,
364364
_Out_ CXPLAT_DATAPATH** NewDatapath
365365
)
366366
{
@@ -485,7 +485,7 @@ _IRQL_requires_max_(PASSIVE_LEVEL)
485485
void
486486
DataPathUpdateConfig(
487487
_In_ CXPLAT_DATAPATH* Datapath,
488-
_In_ QUIC_EXECUTION_CONFIG* Config
488+
_In_ QUIC_GLOBAL_EXECUTION_CONFIG* Config
489489
)
490490
{
491491
UNREFERENCED_PARAMETER(Datapath);

src/platform/datapath_kqueue.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ CxPlatDataPathInitialize(
434434
_In_opt_ const CXPLAT_UDP_DATAPATH_CALLBACKS* UdpCallbacks,
435435
_In_opt_ const CXPLAT_TCP_DATAPATH_CALLBACKS* TcpCallbacks,
436436
_In_ CXPLAT_WORKER_POOL* WorkerPool,
437-
_In_opt_ QUIC_EXECUTION_CONFIG* Config,
437+
_In_opt_ QUIC_GLOBAL_EXECUTION_CONFIG* Config,
438438
_Out_ CXPLAT_DATAPATH** NewDataPath
439439
)
440440
{
@@ -546,7 +546,7 @@ _IRQL_requires_max_(PASSIVE_LEVEL)
546546
void
547547
CxPlatDataPathUpdateConfig(
548548
_In_ CXPLAT_DATAPATH* Datapath,
549-
_In_ QUIC_EXECUTION_CONFIG* Config
549+
_In_ QUIC_GLOBAL_EXECUTION_CONFIG* Config
550550
)
551551
{
552552
UNREFERENCED_PARAMETER(Datapath);

src/platform/datapath_raw.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ _IRQL_requires_max_(PASSIVE_LEVEL)
2222
QUIC_STATUS
2323
RawDataPathInitialize(
2424
_In_ uint32_t ClientRecvContextLength,
25-
_In_opt_ QUIC_EXECUTION_CONFIG* Config,
25+
_In_opt_ QUIC_GLOBAL_EXECUTION_CONFIG* Config,
2626
_In_opt_ const CXPLAT_DATAPATH* ParentDataPath,
2727
_In_ CXPLAT_WORKER_POOL* WorkerPool,
2828
_Out_ CXPLAT_DATAPATH_RAW** NewDataPath
@@ -133,7 +133,7 @@ _IRQL_requires_max_(PASSIVE_LEVEL)
133133
void
134134
RawDataPathUpdateConfig(
135135
_In_ CXPLAT_DATAPATH_RAW* Datapath,
136-
_In_ QUIC_EXECUTION_CONFIG* Config
136+
_In_ QUIC_GLOBAL_EXECUTION_CONFIG* Config
137137
)
138138
{
139139
CxPlatDpRawUpdateConfig(Datapath, Config);;

src/platform/datapath_raw.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ CxPlatDpRawInitialize(
113113
_Inout_ CXPLAT_DATAPATH_RAW* Datapath,
114114
_In_ uint32_t ClientRecvContextLength,
115115
_In_ CXPLAT_WORKER_POOL* WorkerPool,
116-
_In_opt_ const QUIC_EXECUTION_CONFIG* Config
116+
_In_opt_ const QUIC_GLOBAL_EXECUTION_CONFIG* Config
117117
);
118118

119119
//
@@ -141,7 +141,7 @@ _IRQL_requires_max_(PASSIVE_LEVEL)
141141
void
142142
CxPlatDpRawUpdateConfig(
143143
_In_ CXPLAT_DATAPATH_RAW* Datapath,
144-
_In_ QUIC_EXECUTION_CONFIG* Config
144+
_In_ QUIC_GLOBAL_EXECUTION_CONFIG* Config
145145
);
146146

147147
//

src/platform/datapath_raw_dpdk.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ CxPlatDpdkReadConfig(
126126
_IRQL_requires_max_(PASSIVE_LEVEL)
127127
size_t
128128
CxPlatDpRawGetDatapathSize(
129-
_In_opt_ const QUIC_EXECUTION_CONFIG* Config
129+
_In_opt_ const QUIC_GLOBAL_EXECUTION_CONFIG* Config
130130
)
131131
{
132132
UNREFERENCED_PARAMETER(Config);
@@ -139,7 +139,7 @@ CxPlatDpRawInitialize(
139139
_Inout_ CXPLAT_DATAPATH* Datapath,
140140
_In_ uint32_t ClientRecvContextLength,
141141
_In_ CXPLAT_WORKER_POOL* WorkerPool,
142-
_In_opt_ const QUIC_EXECUTION_CONFIG* Config
142+
_In_opt_ const QUIC_GLOBAL_EXECUTION_CONFIG* Config
143143
)
144144
{
145145
UNREFERENCED_PARAMETER(WorkerPool);
@@ -214,7 +214,7 @@ _IRQL_requires_max_(PASSIVE_LEVEL)
214214
void
215215
CxPlatDpRawUpdateConfig(
216216
_In_ CXPLAT_DATAPATH* Datapath,
217-
_In_ QUIC_EXECUTION_CONFIG* Config
217+
_In_ QUIC_GLOBAL_EXECUTION_CONFIG* Config
218218
)
219219
{
220220
UNREFERENCED_PARAMETER(Datapath);

0 commit comments

Comments
 (0)