git.droids-corp.org
/
dpdk.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
eal: add uuid API
[dpdk.git]
/
drivers
/
net
/
bnxt
/
bnxt_util.c
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2014-2018 Broadcom
3
* All rights reserved.
4
*/
5
6
#include <inttypes.h>
7
8
#include "bnxt_util.h"
9
10
int bnxt_check_zero_bytes(const uint8_t *bytes, int len)
11
{
12
int i;
13
14
for (i = 0; i < len; i++)
15
if (bytes[i] != 0x00)
16
return 0;
17
return 1;
18
}