Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nibanks committed Jan 3, 2025
1 parent 0591c01 commit 56d750b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
8 changes: 0 additions & 8 deletions src/platform/datapath_raw_dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,14 +244,6 @@ RawResolveRoute(
return QUIC_STATUS_NOT_SUPPORTED;
}

void
RawDataPathProcessCqe(
_In_ CXPLAT_CQE* Cqe
)
{
UNREFERENCED_PARAMETER(Cqe);
}

_IRQL_requires_max_(PASSIVE_LEVEL)
void
RawUpdateRoute(
Expand Down
2 changes: 1 addition & 1 deletion src/platform/datapath_raw_xdp_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ CxPlatQueueRxIoEventComplete(
{
// TODO: use CQE to distinguish Tx/RX
XDP_QUEUE* Queue =
CXPLAT_CONTAINING_RECORD(CxPlatCqeUserData(Cqe), XDP_QUEUE, RxIoSqe);
CXPLAT_CONTAINING_RECORD(CxPlatCqeGetSqe(Cqe), XDP_QUEUE, RxIoSqe);
QuicTraceLogVerbose(
XdpQueueAsyncIoRxComplete,
"[ xdp][%p] XDP async IO complete (RX)",
Expand Down
4 changes: 2 additions & 2 deletions src/platform/datapath_winuser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1434,7 +1434,7 @@ CxPlatSocketEnqueueSqe(
"[data][%p] ERROR, %u, %s.",
SocketProc->Parent,
LastError,
"CxPlatSocketEnqueueSqe");
"CxPlatEventQEnqueueEx");
return HRESULT_FROM_WIN32(LastError);
}
return QUIC_STATUS_SUCCESS;
Expand Down Expand Up @@ -4619,7 +4619,7 @@ CxPlatSocketSendEnqueue(
CxPlatSocketEnqueueSqe(
SendData->SocketProc,
&SendData->Sqe,
0); // TODO - Why zero?
0);
if (QUIC_FAILED(Status)) {
CxPlatCancelDatapathIo(SendData->SocketProc);
}
Expand Down

0 comments on commit 56d750b

Please sign in to comment.