Skip to contentSkip to conversation

examples/ptpclient: delete wrong comments

PATCH Applied Min Hu (Connor) 3 participants 5 messages Mar 27, 2021 – Apr 20, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 examples/ptpclient: delete wrong comments

This patch deletes the comments which are wrong and unnecessary.

Fixes ab129e9065a5 ("examples/ptpclient: add minimal PTP client")
---
 examples/ptpclient/ptpclient.c | 4 ----
 1 file changed, 4 deletions(-)
examples/ptpclient/ptpclient.c +0 -4
index 33b297e..878d1a0 100644
@@ -606,10 +606,6 @@ lcore_main(void)
 	unsigned nb_rx;
 	struct rte_mbuf *m;
 
-	/*
-	 * Check that the port is on the same NUMA node as the polling thread
-	 * for best performance.
-	 */
 	printf("\nCore %u Waiting for SYNC packets. [Ctrl+C to quit]\n",
 			rte_lcore_id());
 
Signature · 1 line
2.7.4
#1 lore raw

Hi, Ferruh, kirill and all,
Any comments about this patch?

Quoted 26 lines · Min Hu (Connor)

This patch deletes the comments which are wrong and unnecessary.

Fixes ab129e9065a5 ("examples/ptpclient: add minimal PTP client")
---
  examples/ptpclient/ptpclient.c | 4 ----
  1 file changed, 4 deletions(-)
examples/ptpclient/ptpclient.c +0 -4
index 33b297e..878d1a0 100644
@@ -606,10 +606,6 @@ lcore_main(void)
  	unsigned nb_rx;
  	struct rte_mbuf *m;
 
-	/*
-	 * Check that the port is on the same NUMA node as the polling thread
-	 * for best performance.
-	 */
  	printf("\nCore %u Waiting for SYNC packets. [Ctrl+C to quit]\n",
  			rte_lcore_id());
 
Acked-by
#2 lore raw
Quoted 14 lines · Min Hu (Connor)

Hi, Ferruh, kirill and all,
    Any comments about this patch?

Quoted 10 lines · Min Hu (Connor)

This patch deletes the comments which are wrong and unnecessary.

Fixes ab129e9065a5 ("examples/ptpclient: add minimal PTP client")

---
  examples/ptpclient/ptpclient.c | 4 ----

  1 file changed, 4 deletions(-)
Quoted 14 lines
Quoted 5 lines
examples/ptpclient/ptpclient.c +0 -0
index 33b297e..878d1a0 100644

examples/ptpclient/ptpclient.c lcore_main(void) · line 610

Quoted 9 lines
examples/ptpclient/ptpclient.c +0 -4
@@ -606,10 +606,6 @@ lcore_main(void)
       unsigned nb_rx;
       struct rte_mbuf *m;
-    /*
-     * Check that the port is on the same NUMA node as the polling thread
-     * for best performance.
-     */
       printf("\nCore %u Waiting for SYNC packets. [Ctrl+C to quit]\n",
               rte_lcore_id());
 

The comment seems left over from the example this example cloned from..

#3 lore raw

Hi, Ferruh and all,
If no other comments, could your please merge it into the
branch?
Thanks.

Quoted 35 lines · Ferruh Yigit
Quoted 14 lines · Min Hu (Connor)

Hi, Ferruh, kirill and all,
     Any comments about this patch?

Quoted 10 lines · Min Hu (Connor)

This patch deletes the comments which are wrong and unnecessary.

Fixes ab129e9065a5 ("examples/ptpclient: add minimal PTP client")

---
  examples/ptpclient/ptpclient.c | 4 ----

  1 file changed, 4 deletions(-)
Quoted 15 lines
Quoted 9 lines
examples/ptpclient/ptpclient.c +0 -2
index 33b297e..878d1a0 100644
@@ -606,10 +606,6 @@ lcore_main(void)
       unsigned nb_rx;
       struct rte_mbuf *m;
-    /*
-     * Check that the port is on the same NUMA node as the polling 
Quoted 6 lines

thread
-     * for best performance.
-     */
      printf("\nCore %u Waiting for SYNC packets. [Ctrl+C to quit]\n", rte_lcore_id());

The comment seems left over from the example this example cloned from.. .

#4 lore raw
In reply to Ferruh Yigit

12/04/2021 10:04, Ferruh Yigit:

Quoted 19 lines · Min Hu (Connor)
Quoted 5 lines
Quoted 5 lines

This patch deletes the comments which are wrong and unnecessary.

Fixes ab129e9065a5 ("examples/ptpclient: add minimal PTP client")
Quoted 10 lines

examples/ptpclient/ptpclient.c lcore_main(void) · line 610

Quoted 10 lines

---

examples/ptpclient/ptpclient.c +0 -4
-    /*
-     * Check that the port is on the same NUMA node as the polling thread
-     * for best performance.
-     */
      printf("\nCore %u Waiting for SYNC packets. [Ctrl+C to quit]\n",
              rte_lcore_id());
Quoted 1 line

The comment seems left over from the example this example cloned from..

Applied, thanks