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/mlx5: add Altivec Rx
[dpdk.git]
/
drivers
/
net
/
qede
/
base
/
ecore_hsi_init_func.h
diff --git
a/drivers/net/qede/base/ecore_hsi_init_func.h
b/drivers/net/qede/base/ecore_hsi_init_func.h
index
f0f4bd6
..
7efe2ef
100644
(file)
--- a/
drivers/net/qede/base/ecore_hsi_init_func.h
+++ b/
drivers/net/qede/base/ecore_hsi_init_func.h
@@
-1,9
+1,7
@@
-/*
- * Copyright (c) 2016
QLogic Corporation
.
+/*
SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2016
- 2018 Cavium Inc
.
* All rights reserved.
* All rights reserved.
- * www.qlogic.com
- *
- * See LICENSE.qede_pmd for copyright and licensing details.
+ * www.cavium.com
*/
#ifndef __ECORE_HSI_INIT_FUNC__
*/
#ifndef __ECORE_HSI_INIT_FUNC__
@@
-90,7
+88,18
@@
struct init_nig_pri_tc_map_req {
/*
/*
- * QM per-port init parameters
+ * QM per global RL init parameters
+ */
+struct init_qm_global_rl_params {
+/* Rate limit in Mb/sec units. If set to zero, the link speed is uwsed
+ * instead.
+ */
+ u32 rate_limit;
+};
+
+
+/*
+ * QM per port init parameters
*/
struct init_qm_port_params {
u8 active /* Indicates if this port is active */;
*/
struct init_qm_port_params {
u8 active /* Indicates if this port is active */;
@@
-113,24
+122,20
@@
struct init_qm_pq_params {
u8 wrr_group /* WRR group */;
/* Indicates if a rate limiter should be allocated for the PQ (0/1) */
u8 rl_valid;
u8 wrr_group /* WRR group */;
/* Indicates if a rate limiter should be allocated for the PQ (0/1) */
u8 rl_valid;
+ u16 rl_id /* RL ID, valid only if rl_valid is true */;
u8 port_id /* Port ID */;
u8 port_id /* Port ID */;
- u8 reserved0;
- u16 reserved1;
+ u8 reserved;
};
/*
};
/*
- * QM per
-vport
init parameters
+ * QM per
VPORT
init parameters
*/
struct init_qm_vport_params {
*/
struct init_qm_vport_params {
-/* rate limit in Mb/sec units. a value of 0 means dont configure. ignored if
- * VPORT RL is globally disabled.
- */
- u32 vport_rl;
/* WFQ weight. A value of 0 means dont configure. ignored if VPORT WFQ is
* globally disabled.
*/
/* WFQ weight. A value of 0 means dont configure. ignored if VPORT WFQ is
* globally disabled.
*/
- u16
vport_
wfq;
+ u16 wfq;
/* the first Tx PQ ID associated with this VPORT for each TC. */
u16 first_tx_pq_id[NUM_OF_TCS];
};
/* the first Tx PQ ID associated with this VPORT for each TC. */
u16 first_tx_pq_id[NUM_OF_TCS];
};