NetworkPkg: TcpDriver use EFI_D_NET for DEBUG maessage.
Tcp driver need to use EFI_D_NET to log DEBUG message, So it becomes easy to separate/filter out debug messages from network stack versus generic EFI_D_INFO debugs. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo <lubo.zhang@intel.com> Cc: Hegde Nagaraj P <nagaraj-p.hegde@hpe.com> Cc: Subramanian Sriram <sriram-s@hpe.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Ye Ting <ting.ye@intel.com> Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
TCP output process routines.
|
||||
|
||||
Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
@@ -847,7 +847,7 @@ TcpToSendData (
|
||||
TCP_SEQ_LT (End + 1, Tcb->SndWnd + Tcb->SndWl2)
|
||||
) {
|
||||
DEBUG (
|
||||
(EFI_D_INFO,
|
||||
(EFI_D_NET,
|
||||
"TcpToSendData: send FIN to peer for TCB %p in state %s\n",
|
||||
Tcb,
|
||||
mTcpStateName[Tcb->State])
|
||||
@@ -927,7 +927,7 @@ TcpToSendData (
|
||||
if ((Tcb->CongestState == TCP_CONGEST_OPEN) && !TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_RTT_ON)) {
|
||||
|
||||
DEBUG (
|
||||
(EFI_D_INFO,
|
||||
(EFI_D_NET,
|
||||
"TcpToSendData: set RTT measure sequence %d for TCB %p\n",
|
||||
Seq,
|
||||
Tcb)
|
||||
@@ -1058,7 +1058,7 @@ TcpToSendAck (
|
||||
}
|
||||
|
||||
DEBUG (
|
||||
(EFI_D_INFO,
|
||||
(EFI_D_NET,
|
||||
"TcpToSendAck: scheduled a delayed ACK for TCB %p\n",
|
||||
Tcb)
|
||||
);
|
||||
|
Reference in New Issue
Block a user