File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1543,13 +1543,13 @@ CxPlatXdpExecute(
1543
1543
CxPlatZeroMemory (
1544
1544
& Queue -> RxIoSqe .DatapathSqe .Sqe .Overlapped ,
1545
1545
sizeof (Queue -> RxIoSqe .DatapathSqe .Sqe .Overlapped ));
1546
- HRESULT hr =
1546
+ QUIC_STATUS hr =
1547
1547
XskNotifyAsync (
1548
1548
Queue -> RxXsk , XSK_NOTIFY_FLAG_WAIT_RX ,
1549
1549
& Queue -> RxIoSqe .DatapathSqe .Sqe .Overlapped );
1550
- if (hr == HRESULT_FROM_WIN32 ( ERROR_IO_PENDING ) ) {
1550
+ if (hr == QUIC_STATUS_PENDING ) {
1551
1551
Queue -> RxQueued = TRUE;
1552
- } else if (hr == S_OK ) {
1552
+ } else if (hr == QUIC_STATUS_SUCCESS ) {
1553
1553
Partition -> Ec .Ready = TRUE;
1554
1554
} else {
1555
1555
QuicTraceEvent (
@@ -1567,13 +1567,13 @@ CxPlatXdpExecute(
1567
1567
CxPlatZeroMemory (
1568
1568
& Queue -> TxIoSqe .DatapathSqe .Sqe .Overlapped ,
1569
1569
sizeof (Queue -> TxIoSqe .DatapathSqe .Sqe .Overlapped ));
1570
- HRESULT hr =
1570
+ QUIC_STATUS hr =
1571
1571
XskNotifyAsync (
1572
1572
Queue -> TxXsk , XSK_NOTIFY_FLAG_WAIT_TX ,
1573
1573
& Queue -> TxIoSqe .DatapathSqe .Sqe .Overlapped );
1574
- if (hr == HRESULT_FROM_WIN32 ( ERROR_IO_PENDING ) ) {
1574
+ if (hr == QUIC_STATUS_PENDING ) {
1575
1575
Queue -> TxQueued = TRUE;
1576
- } else if (hr == S_OK ) {
1576
+ } else if (hr == QUIC_STATUS_SUCCESS ) {
1577
1577
Partition -> Ec .Ready = TRUE;
1578
1578
} else {
1579
1579
QuicTraceEvent (
You can’t perform that action at this time.
0 commit comments