crypto/octeontx: remove unsupported capabilities
authorAnoob Joseph <anoobj@marvell.com>
Thu, 27 Jun 2019 05:16:43 +0000 (10:46 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 5 Jul 2019 13:28:14 +0000 (15:28 +0200)
Removing capabilities not supported with latest firmware.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/octeontx/otx_cryptodev_capabilities.c

index 946571c..c6d94c9 100644 (file)
@@ -86,9 +86,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
                                        .increment = 0
                                },
                                .digest_size = {
-                                       .min = 1,
+                                       .min = 16,
                                        .max = 16,
-                                       .increment = 1
+                                       .increment = 0
                                },
                        }, }
                }, }
@@ -106,9 +106,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
                                        .increment = 8
                                },
                                .digest_size = {
-                                       .min = 1,
+                                       .min = 16,
                                        .max = 16,
-                                       .increment = 1
+                                       .increment = 0
                                },
                        }, }
                }, }
@@ -126,9 +126,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
                                        .increment = 0
                                },
                                .digest_size = {
-                                       .min = 1,
+                                       .min = 20,
                                        .max = 20,
-                                       .increment = 1
+                                       .increment = 0
                                },
                        }, }
                }, }
@@ -146,9 +146,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
                                        .increment = 0
                                },
                                .digest_size = {
-                                       .min = 1,
+                                       .min = 20,
                                        .max = 20,
-                                       .increment = 1
+                                       .increment = 0
                                },
                        }, }
                }, }
@@ -166,9 +166,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
                                        .increment = 0
                                },
                                .digest_size = {
-                                       .min = 1,
+                                       .min = 28,
                                        .max = 28,
-                                       .increment = 1
+                                       .increment = 0
                                },
                        }, }
                }, }
@@ -186,9 +186,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
                                        .increment = 0
                                },
                                .digest_size = {
-                                       .min = 1,
+                                       .min = 28,
                                        .max = 28,
-                                       .increment = 1
+                                       .increment = 0
                                },
                        }, }
                }, }
@@ -206,9 +206,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
                                        .increment = 0
                                },
                                .digest_size = {
-                                       .min = 1,
+                                       .min = 32,
                                        .max = 32,
-                                       .increment = 1
+                                       .increment = 0
                                },
                        }, }
                }, }
@@ -226,9 +226,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
                                        .increment = 0
                                },
                                .digest_size = {
-                                       .min = 1,
+                                       .min = 32,
                                        .max = 32,
-                                       .increment = 1
+                                       .increment = 0
                                },
                        }, }
                }, }
@@ -246,9 +246,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
                                        .increment = 0
                                },
                                .digest_size = {
-                                       .min = 1,
+                                       .min = 48,
                                        .max = 48,
-                                       .increment = 1
+                                       .increment = 0
                                        },
                        }, }
                }, }
@@ -266,9 +266,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
                                        .increment = 0
                                },
                                .digest_size = {
-                                       .min = 1,
+                                       .min = 48,
                                        .max = 48,
-                                       .increment = 1
+                                       .increment = 0
                                        },
                        }, }
                }, }
@@ -286,9 +286,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
                                        .increment = 0
                                },
                                .digest_size = {
-                                       .min = 1,
+                                       .min = 64,
                                        .max = 64,
-                                       .increment = 1
+                                       .increment = 0
                                },
                        }, }
                }, }
@@ -306,9 +306,9 @@ static const struct rte_cryptodev_capabilities otx_capabilities[] = {
                                        .increment = 0
                                },
                                .digest_size = {
-                                       .min = 1,
+                                       .min = 64,
                                        .max = 64,
-                                       .increment = 1
+                                       .increment = 0
                                },
                        }, }
                }, }