git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/cnxk: remove restriction on VF for PFC config
[dpdk.git]
/
drivers
/
net
/
dpaa2
/
mc
/
fsl_dpkg.h
diff --git
a/drivers/net/dpaa2/mc/fsl_dpkg.h
b/drivers/net/dpaa2/mc/fsl_dpkg.h
index
02fe8d5
..
70f2339
100644
(file)
--- a/
drivers/net/dpaa2/mc/fsl_dpkg.h
+++ b/
drivers/net/dpaa2/mc/fsl_dpkg.h
@@
-1,6
+1,6
@@
/* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)
* Copyright 2013-2015 Freescale Semiconductor Inc.
/* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)
* Copyright 2013-2015 Freescale Semiconductor Inc.
- * Copyright 2016-20
17
NXP
+ * Copyright 2016-20
21
NXP
*
*/
#ifndef __FSL_DPKG_H_
*
*/
#ifndef __FSL_DPKG_H_
@@
-21,7
+21,7
@@
/**
* Number of extractions per key profile
*/
/**
* Number of extractions per key profile
*/
-#define DPKG_MAX_NUM_OF_EXTRACTS
1
0
+#define DPKG_MAX_NUM_OF_EXTRACTS
2
0
/**
* enum dpkg_extract_from_hdr_type - Selecting extraction by header types
/**
* 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 */
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,
};
int dpkg_prepare_key_cfg(const struct dpkg_profile_cfg *cfg,