-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
area: APIChanges to public APIsChanges to public APIsarea: Ethernetarea: NetworkingbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug
Milestone
Description
ebd2edb converted the eth_smsc911x driver to new pkt API, which is great. However, the cause of conversation appears to be the desire to remove the old API, which by all accounts was a hasty act, given that the new API is, ahem, experimental, and "we yet have 2 months to stabilize it". Due to this:
- eth_smsc911x is broken, as it contains outright typos.
- The conversion itself is clearly subideal, e.g. it uses function calls to fill each 4 bytes of a packet, where previously one word-sized memory store was used.
p.1 sneaked into the master due to #13481. But overall, instead of hastily convert drivers like eth_smsc911x for the sole purpose of removing the old API, both the driver and old API should have been kept around, to see where the new API is still lacking comparing to the old, and need more work/optimizations.
To reproduce breakage:
- cd samples/net/sockets/dumb_http_server/
- mkdir build && cd build
- cmake -DBOARD=qemu_x86 -DOVERLAY_CONFIG=overlay-smsc911x.conf ..
- make
Metadata
Metadata
Assignees
Labels
area: APIChanges to public APIsChanges to public APIsarea: Ethernetarea: NetworkingbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug