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/nfp: handle packets with length 0 as usual ones
[dpdk.git]
/
drivers
/
net
/
qede
/
base
/
ecore.h
diff --git
a/drivers/net/qede/base/ecore.h
b/drivers/net/qede/base/ecore.h
index
31470b6
..
0d68a9b
100644
(file)
--- a/
drivers/net/qede/base/ecore.h
+++ b/
drivers/net/qede/base/ecore.h
@@
-31,7
+31,7
@@
#define ECORE_MAJOR_VERSION 8
#define ECORE_MINOR_VERSION 18
#define ECORE_REVISION_VERSION 7
#define ECORE_MAJOR_VERSION 8
#define ECORE_MINOR_VERSION 18
#define ECORE_REVISION_VERSION 7
-#define ECORE_ENGINEERING_VERSION
0
+#define ECORE_ENGINEERING_VERSION
1
#define ECORE_VERSION \
((ECORE_MAJOR_VERSION << 24) | (ECORE_MINOR_VERSION << 16) | \
#define ECORE_VERSION \
((ECORE_MAJOR_VERSION << 24) | (ECORE_MINOR_VERSION << 16) | \
@@
-104,7
+104,7
@@
do { \
#define ECORE_MFW_SET_FIELD(name, field, value) \
do { \
#define ECORE_MFW_SET_FIELD(name, field, value) \
do { \
- (name) &= ~(
(field ## _MASK) << (field ## _SHIFT));
\
+ (name) &= ~(
field ## _MASK);
\
(name) |= (((value) << (field ## _SHIFT)) & (field ## _MASK)); \
} while (0)
(name) |= (((value) << (field ## _SHIFT)) & (field ## _MASK)); \
} while (0)
@@
-770,7
+770,7
@@
struct ecore_dev {
bool attn_clr_en;
/* Indicates whether allowing the MFW to collect a crash dump */
bool attn_clr_en;
/* Indicates whether allowing the MFW to collect a crash dump */
- bool
mdump_en
;
+ bool
allow_mdump
;
/* Indicates if the reg_fifo is checked after any register access */
bool chk_reg_fifo;
/* Indicates if the reg_fifo is checked after any register access */
bool chk_reg_fifo;
@@
-808,8
+808,8
@@
struct ecore_dev {
*
* @return OSAL_INLINE u8
*/
*
* @return OSAL_INLINE u8
*/
-static OSAL_INLINE u8
ecore_concrete_to_sw_fid(struct ecore_dev *p_dev,
-
u32 concrete_fid)
+static OSAL_INLINE u8
+
ecore_concrete_to_sw_fid(__rte_unused struct ecore_dev *p_dev,
u32 concrete_fid)
{
u8 vfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_VFID);
u8 pfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_PFID);
{
u8 vfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_VFID);
u8 pfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_PFID);