Skip to content

Commit

Permalink
dpaa2: ni: Zero denotes no frames delivered.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsalychev committed May 15, 2022
1 parent 23dc0e9 commit 173aa2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/dev/dpaa2/dpaa2_ni.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ __FBSDID("$FreeBSD$");
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))

/* Frame Dequeue Response status bits. */
#define IS_NULL_RESPONSE(stat) ((((stat) >> 4) & 1) == 1)
#define IS_NULL_RESPONSE(stat) ((((stat) >> 4) & 1) == 0)

#define ALIGN_UP(x, y) roundup2((x), (y))
#define ALIGN_DOWN(x, y) rounddown2((x), (y))
Expand Down

0 comments on commit 173aa2a

Please sign in to comment.