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/ice/base: change address parameter to 16-bit
[dpdk.git]
/
drivers
/
net
/
txgbe
/
base
/
txgbe_type.h
diff --git
a/drivers/net/txgbe/base/txgbe_type.h
b/drivers/net/txgbe/base/txgbe_type.h
index
363e707
..
d95467f
100644
(file)
--- a/
drivers/net/txgbe/base/txgbe_type.h
+++ b/
drivers/net/txgbe/base/txgbe_type.h
@@
-1,5
+1,6
@@
/* SPDX-License-Identifier: BSD-3-Clause
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2015-2020
+ * Copyright(c) 2015-2020 Beijing WangXun Technology Co., Ltd.
+ * Copyright(c) 2010-2017 Intel Corporation
*/
#ifndef _TXGBE_TYPE_H_
*/
#ifndef _TXGBE_TYPE_H_
@@
-687,18
+688,33
@@
struct txgbe_phy_info {
bool qsfp_shared_i2c_bus;
u32 nw_mng_if_sel;
u32 link_mode;
bool qsfp_shared_i2c_bus;
u32 nw_mng_if_sel;
u32 link_mode;
+
+ /* Some features need tri-state capability */
+ u16 ffe_set;
+ u16 ffe_main;
+ u16 ffe_pre;
+ u16 ffe_post;
};
#define TXGBE_DEVARG_BP_AUTO "auto_neg"
#define TXGBE_DEVARG_KR_POLL "poll"
#define TXGBE_DEVARG_KR_PRESENT "present"
#define TXGBE_DEVARG_KX_SGMII "sgmii"
};
#define TXGBE_DEVARG_BP_AUTO "auto_neg"
#define TXGBE_DEVARG_KR_POLL "poll"
#define TXGBE_DEVARG_KR_PRESENT "present"
#define TXGBE_DEVARG_KX_SGMII "sgmii"
+#define TXGBE_DEVARG_FFE_SET "ffe_set"
+#define TXGBE_DEVARG_FFE_MAIN "ffe_main"
+#define TXGBE_DEVARG_FFE_PRE "ffe_pre"
+#define TXGBE_DEVARG_FFE_POST "ffe_post"
static const char * const txgbe_valid_arguments[] = {
TXGBE_DEVARG_BP_AUTO,
TXGBE_DEVARG_KR_POLL,
TXGBE_DEVARG_KR_PRESENT,
TXGBE_DEVARG_KX_SGMII,
static const char * const txgbe_valid_arguments[] = {
TXGBE_DEVARG_BP_AUTO,
TXGBE_DEVARG_KR_POLL,
TXGBE_DEVARG_KR_PRESENT,
TXGBE_DEVARG_KX_SGMII,
+ TXGBE_DEVARG_FFE_SET,
+ TXGBE_DEVARG_FFE_MAIN,
+ TXGBE_DEVARG_FFE_PRE,
+ TXGBE_DEVARG_FFE_POST,
+ NULL
};
struct txgbe_mbx_stats {
};
struct txgbe_mbx_stats {
@@
-765,6
+781,7
@@
struct txgbe_hw {
int api_version;
bool allow_unsupported_sfp;
bool need_crosstalk_fix;
int api_version;
bool allow_unsupported_sfp;
bool need_crosstalk_fix;
+ bool dev_start;
struct txgbe_devargs devarg;
uint64_t isb_dma;
struct txgbe_devargs devarg;
uint64_t isb_dma;