net/cnxk: remove restriction on VF for PFC config
[dpdk.git] / drivers / net / dpaa2 / mc / fsl_dpkg.h
index 02fe8d5..70f2339 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)
  * Copyright 2013-2015 Freescale Semiconductor Inc.
- * Copyright 2016-2017 NXP
+ * Copyright 2016-2021 NXP
  *
  */
 #ifndef __FSL_DPKG_H_
@@ -21,7 +21,7 @@
 /**
  * Number of extractions per key profile
  */
-#define DPKG_MAX_NUM_OF_EXTRACTS       10
+#define DPKG_MAX_NUM_OF_EXTRACTS       20
 
 /**
  * enum dpkg_extract_from_hdr_type - Selecting extraction by header types
@@ -177,7 +177,7 @@ struct dpni_ext_set_rx_tc_dist {
        uint8_t num_extracts;
        uint8_t pad[7];
        /* words 1..25 */
-       struct dpni_dist_extract extracts[10];
+       struct dpni_dist_extract extracts[DPKG_MAX_NUM_OF_EXTRACTS];
 };
 
 int dpkg_prepare_key_cfg(const struct dpkg_profile_cfg *cfg,