Skip to content

Commit

Permalink
Merge #19952
Browse files Browse the repository at this point in the history
19952: cpu/stm32/periph/eth: Disable hardware checksums r=maribu a=yarrick

lwIP will fill them in already.

Having this enabled causes empty checksums to be sent: #19853



Co-authored-by: Erik Ekman <eekman@google.com>
  • Loading branch information
bors[bot] and yarrick authored Sep 28, 2023
2 parents b45cb32 + 1986b5e commit 99dc926
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpu/stm32/periph/eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,7 @@ static int stm32_eth_send(netdev_t *netdev, const struct iolist *iolist)
for (unsigned i = 0; iolist; iolist = iolist->iol_next, i++) {
dma_iter->control = iolist->iol_len;
dma_iter->buffer_addr = iolist->iol_base;
uint32_t status = TX_DESC_STAT_IC | TX_DESC_STAT_TCH | TX_DESC_STAT_CIC
| TX_DESC_STAT_OWN;
uint32_t status = TX_DESC_STAT_IC | TX_DESC_STAT_TCH | TX_DESC_STAT_OWN;
if (!i) {
/* fist chunk */
status |= TX_DESC_STAT_FS;
Expand Down

0 comments on commit 99dc926

Please sign in to comment.