summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2019-05-05 17:13:37 -0600
committerEvan Lojewski <github@meklort.com>2019-05-05 17:13:37 -0600
commitc65160239ee5a06dd1b30141c8b46f1bce843194 (patch)
tree8854e7289cad992f21f338e97444ffd375858970 /libs
parent2e776ab944dccf9f298bcc8300047821ceb9d34b (diff)
downloadbcm5719-ortega-c65160239ee5a06dd1b30141c8b46f1bce843194.tar.gz
bcm5719-ortega-c65160239ee5a06dd1b30141c8b46f1bce843194.zip
Add retire bit to RegAPERxPoolRetire0_t
Diffstat (limited to 'libs')
-rw-r--r--libs/Network/rx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/Network/rx.c b/libs/Network/rx.c
index 6b7bcda..2b2f130 100644
--- a/libs/Network/rx.c
+++ b/libs/Network/rx.c
@@ -116,10 +116,11 @@ bool Network_RxLePatcket(uint32_t* buffer, uint32_t* bytes)
// enableNCSIHandling();
RegAPERxPoolRetire0_t retire;
- retire.r32 = (1 << 24);
+ retire.r32 = 0;
retire.bits.Head = rxbuf.bits.Head;
retire.bits.Tail = rxbuf.bits.Tail;
retire.bits.Count = rxbuf.bits.Count;
+ retire.bits.Retire = 1;
APE.RxPoolRetire0 = retire;
rxbuf.bits.Finished = 1;
OpenPOWER on IntegriCloud