Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New upstream version 17.11.5
[deb_dpdk.git]
/
drivers
/
net
/
enic
/
base
/
vnic_devcmd.h
diff --git
a/drivers/net/enic/base/vnic_devcmd.h
b/drivers/net/enic/base/vnic_devcmd.h
index
05d87b9
..
4d7a85d
100644
(file)
--- a/
drivers/net/enic/base/vnic_devcmd.h
+++ b/
drivers/net/enic/base/vnic_devcmd.h
@@
-880,7
+880,7
@@
struct filter_action_v2 {
u32 rq_idx;
u32 flags; /* use FILTER_ACTION_XXX_FLAG defines */
u16 filter_id;
u32 rq_idx;
u32 flags; /* use FILTER_ACTION_XXX_FLAG defines */
u16 filter_id;
- u
_
int8_t reserved[32]; /* for future expansion */
+ uint8_t reserved[32]; /* for future expansion */
} __attribute__((packed));
/* Specifies the filter type. */
} __attribute__((packed));
/* Specifies the filter type. */
@@
-946,9
+946,9
@@
enum {
};
struct filter_tlv {
};
struct filter_tlv {
- u
_
int32_t type;
- u
_
int32_t length;
- u
_
int32_t val[0];
+ uint32_t type;
+ uint32_t length;
+ uint32_t val[0];
};
/* Data for CMD_ADD_FILTER is 2 TLV and filter + action structs */
};
/* Data for CMD_ADD_FILTER is 2 TLV and filter + action structs */
@@
-962,10
+962,10
@@
struct filter_tlv {
* drivers should use this instead of "sizeof (struct filter_v2)" when
* computing length for TLV.
*/
* drivers should use this instead of "sizeof (struct filter_v2)" when
* computing length for TLV.
*/
-static inline u
_
int32_t
+static inline uint32_t
vnic_filter_size(struct filter_v2 *fp)
{
vnic_filter_size(struct filter_v2 *fp)
{
- u
_
int32_t size;
+ uint32_t size;
switch (fp->type) {
case FILTER_USNIC_ID:
switch (fp->type) {
case FILTER_USNIC_ID:
@@
-1004,10
+1004,10
@@
enum {
* drivers should use this instead of "sizeof (struct filter_action_v2)"
* when computing length for TLV.
*/
* drivers should use this instead of "sizeof (struct filter_action_v2)"
* when computing length for TLV.
*/
-static inline u
_
int32_t
+static inline uint32_t
vnic_action_size(struct filter_action_v2 *fap)
{
vnic_action_size(struct filter_action_v2 *fap)
{
- u
_
int32_t size;
+ uint32_t size;
switch (fap->type) {
case FILTER_ACTION_RQ_STEERING:
switch (fap->type) {
case FILTER_ACTION_RQ_STEERING: