diff mbox series

[v2,7/7] examples/l3fwd: change the guard micro name for header file

Message ID 1494383419-9677-8-git-send-email-jianbo.liu@linaro.org
State Superseded
Headers show
Series accelerate examples/l3fwd with NEON on ARM64 platform | expand

Commit Message

Jianbo Liu May 10, 2017, 2:30 a.m. UTC
As l3fwd_em_sse.h is renamed to l3fwd_em_sequential.h, change the macro
to __L3FWD_EM_SEQUENTIAL_H__ to maintain consistency.

Signed-off-by: Jianbo Liu <jianbo.liu@linaro.org>

---
 examples/l3fwd/l3fwd_em_sequential.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
1.8.3.1

Comments

Sekhar, Ashwin May 10, 2017, 11:57 a.m. UTC | #1
In commit message:
s/micro/macro/

On Wed, 2017-05-10 at 10:30 +0800, Jianbo Liu wrote:
> As l3fwd_em_sse.h is renamed to l3fwd_em_sequential.h, change the

> macro

> to __L3FWD_EM_SEQUENTIAL_H__ to maintain consistency.

> 

> Signed-off-by: Jianbo Liu <jianbo.liu@linaro.org>

> ---

>  examples/l3fwd/l3fwd_em_sequential.h | 6 +++---

>  1 file changed, 3 insertions(+), 3 deletions(-)

> 

> diff --git a/examples/l3fwd/l3fwd_em_sequential.h

> b/examples/l3fwd/l3fwd_em_sequential.h

> index c3df473..63c5c12 100644

> --- a/examples/l3fwd/l3fwd_em_sequential.h

> +++ b/examples/l3fwd/l3fwd_em_sequential.h

> @@ -31,8 +31,8 @@

>   *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH

> DAMAGE.

>   */

>  

> -#ifndef __L3FWD_EM_SSE_H__

> -#define __L3FWD_EM_SSE_H__

> +#ifndef __L3FWD_EM_SEQUENTIAL_H__

> +#define __L3FWD_EM_SEQUENTIAL_H__

>  

>  /**

>   * @file

> @@ -125,4 +125,4 @@ static inline __attribute__((always_inline))

> uint16_t

>  

>  	send_packets_multi(qconf, pkts_burst, dst_port, nb_rx);

>  }

> -#endif /* __L3FWD_EM_SSE_H__ */

> +#endif /* __L3FWD_EM_SEQUENTIAL_H__ */
diff mbox series

Patch

diff --git a/examples/l3fwd/l3fwd_em_sequential.h b/examples/l3fwd/l3fwd_em_sequential.h
index c3df473..63c5c12 100644
--- a/examples/l3fwd/l3fwd_em_sequential.h
+++ b/examples/l3fwd/l3fwd_em_sequential.h
@@ -31,8 +31,8 @@ 
  *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __L3FWD_EM_SSE_H__
-#define __L3FWD_EM_SSE_H__
+#ifndef __L3FWD_EM_SEQUENTIAL_H__
+#define __L3FWD_EM_SEQUENTIAL_H__
 
 /**
  * @file
@@ -125,4 +125,4 @@  static inline __attribute__((always_inline)) uint16_t
 
 	send_packets_multi(qconf, pkts_burst, dst_port, nb_rx);
 }
-#endif /* __L3FWD_EM_SSE_H__ */
+#endif /* __L3FWD_EM_SEQUENTIAL_H__ */