fix various typos found by Lintian
[dpdk.git] / drivers / common / octeontx2 / hw / otx2_npc.h
index a0536e0..efde1e2 100644 (file)
@@ -31,6 +31,7 @@
        (0x80008ull | (uint64_t)(a) << 6)
 #define NPC_AF_PKINDX_CPI_DEFX(a, b)                 \
        (0x80020ull | (uint64_t)(a) << 6 | (uint64_t)(b) << 3)
+#define NPC_AF_CHLEN90B_PKIND                        (0x3bull)
 #define NPC_AF_KPUX_ENTRYX_CAMX(a, b, c)             \
        (0x100000ull | (uint64_t)(a) << 14 | (uint64_t)(b) << 6 | \
        (uint64_t)(c) << 3)
@@ -184,6 +185,7 @@ enum npc_kpu_la_ltype {
        NPC_LT_LA_IH_2_ETHER,
        NPC_LT_LA_HIGIG2_ETHER,
        NPC_LT_LA_IH_NIX_HIGIG2_ETHER,
+       NPC_LT_LA_CH_LEN_90B_ETHER,   /* Custom L2 header of length 90 bytes */
 };
 
 enum npc_kpu_lb_ltype {
@@ -201,7 +203,8 @@ enum npc_kpu_lb_ltype {
 };
 
 enum npc_kpu_lc_ltype {
-       NPC_LT_LC_IP = 1,
+       NPC_LT_LC_PTP = 1,
+       NPC_LT_LC_IP,
        NPC_LT_LC_IP_OPT,
        NPC_LT_LC_IP6,
        NPC_LT_LC_IP6_EXT,
@@ -209,11 +212,10 @@ enum npc_kpu_lc_ltype {
        NPC_LT_LC_RARP,
        NPC_LT_LC_MPLS,
        NPC_LT_LC_NSH,
-       NPC_LT_LC_PTP,
        NPC_LT_LC_FCOE,
 };
 
-/* Don't modify Ltypes upto SCTP, otherwise it will
+/* Don't modify Ltypes up to SCTP, otherwise it will
  * effect flow tag calculation and thus RSS.
  */
 enum npc_kpu_ld_ltype {
@@ -260,7 +262,7 @@ enum npc_kpu_lg_ltype {
        NPC_LT_LG_TU_ETHER_IN_NSH,
 };
 
-/* Don't modify Ltypes upto SCTP, otherwise it will
+/* Don't modify Ltypes up to SCTP, otherwise it will
  * effect flow tag calculation and thus RSS.
  */
 enum npc_kpu_lh_ltype {