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/ice/base: support priority configuration of exact node
[dpdk.git]
/
drivers
/
net
/
pfe
/
pfe_hal.c
diff --git
a/drivers/net/pfe/pfe_hal.c
b/drivers/net/pfe/pfe_hal.c
index
0d25ec0
..
6431dec
100644
(file)
--- a/
drivers/net/pfe/pfe_hal.c
+++ b/
drivers/net/pfe/pfe_hal.c
@@
-2,6
+2,8
@@
* Copyright 2018-2019 NXP
*/
* Copyright 2018-2019 NXP
*/
+#include <arpa/inet.h>
+
#include "pfe_logs.h"
#include "pfe_mod.h"
#include "pfe_logs.h"
#include "pfe_mod.h"
@@
-185,7
+187,7
@@
gemac_set_mode(void *base, __rte_unused int mode)
{
u32 val = readl(base + EMAC_RCNTRL_REG);
{
u32 val = readl(base + EMAC_RCNTRL_REG);
- /*
Remove loopbank
*/
+ /*
Remove loopback
*/
val &= ~EMAC_RCNTRL_LOOP;
/*Enable flow control and MII mode*/
val &= ~EMAC_RCNTRL_LOOP;
/*Enable flow control and MII mode*/