diff mbox series

[2/2] net/colo-compare.c: Update the default value comments

Message ID 20211220010603.1443843-2-chen.zhang@intel.com (mailing list archive)
State New, archived
Headers show
Series [1/2] net/colo-compare.c: Optimize compare order for performance | expand

Commit Message

Zhang Chen Dec. 20, 2021, 1:06 a.m. UTC
Make the comments consistent with the REGULAR_PACKET_CHECK_MS.

Signed-off-by: Zhang Chen <chen.zhang@intel.com>
---
 net/colo-compare.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jason Wang Jan. 7, 2022, 4:46 a.m. UTC | #1
On Mon, Dec 20, 2021 at 9:17 AM Zhang Chen <chen.zhang@intel.com> wrote:
>
> Make the comments consistent with the REGULAR_PACKET_CHECK_MS.
>
> Signed-off-by: Zhang Chen <chen.zhang@intel.com>

Applied.

Thanks

> ---
>  net/colo-compare.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/colo-compare.c b/net/colo-compare.c
> index 216de5a12b..62554b5b3c 100644
> --- a/net/colo-compare.c
> +++ b/net/colo-compare.c
> @@ -1267,7 +1267,7 @@ static void colo_compare_complete(UserCreatable *uc, Error **errp)
>      }
>
>      if (!s->expired_scan_cycle) {
> -        /* Set default value to 3000 MS */
> +        /* Set default value to 1000 MS */
>          s->expired_scan_cycle = REGULAR_PACKET_CHECK_MS;
>      }
>
> --
> 2.25.1
>
diff mbox series

Patch

diff --git a/net/colo-compare.c b/net/colo-compare.c
index 216de5a12b..62554b5b3c 100644
--- a/net/colo-compare.c
+++ b/net/colo-compare.c
@@ -1267,7 +1267,7 @@  static void colo_compare_complete(UserCreatable *uc, Error **errp)
     }
 
     if (!s->expired_scan_cycle) {
-        /* Set default value to 3000 MS */
+        /* Set default value to 1000 MS */
         s->expired_scan_cycle = REGULAR_PACKET_CHECK_MS;
     }