Skip to content

Commit

Permalink
driver: eth_mcux: realtime optimizations
Browse files Browse the repository at this point in the history
mcux enet driver updates:
a) add mutex to access the ptp timer variables
b) use thread for rx(cooperative) andfor tx cleanup(cooperative)
c) use a thread for ptp inner clock updater(pre-empty)

This patch fixes the following issue:

```
ENET_SendFrame error: 4004
```

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
Co-authored-by: Seb Laveze <sebastien.laveze@nxp.com>
Signed-off-by: Xabier Marquiegui <xmarquiegui@ainguraiiot.com>
  • Loading branch information
2 people authored and dleach02 committed Feb 11, 2022
1 parent 28ee068 commit 7454a92
Show file tree
Hide file tree
Showing 2 changed files with 175 additions and 70 deletions.
2 changes: 1 addition & 1 deletion drivers/ethernet/Kconfig.mcux
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ config ETH_MCUX_RX_BUFFERS
config ETH_MCUX_TX_BUFFERS
int "Number of MCUX TX buffers"
default 1
range 1 1
range 1 16
help
Set the number of TX buffers provided to the MCUX driver.

Expand Down
Loading

0 comments on commit 7454a92

Please sign in to comment.