|
@@ -36,7 +36,7 @@
|
|
#include "i40e_devids.h"
|
|
#include "i40e_devids.h"
|
|
|
|
|
|
/* I40E_MASK is a macro used on 32 bit registers */
|
|
/* I40E_MASK is a macro used on 32 bit registers */
|
|
-#define I40E_MASK(mask, shift) (mask << shift)
|
|
|
|
|
|
+#define I40E_MASK(mask, shift) ((u32)(mask) << (shift))
|
|
|
|
|
|
#define I40E_MAX_VSI_QP 16
|
|
#define I40E_MAX_VSI_QP 16
|
|
#define I40E_MAX_VF_VSI 3
|
|
#define I40E_MAX_VF_VSI 3
|