Improve env var handling for net stack
Get series with b4
b4 am 20150521133305.GD8007@bill-the-catVersions newest first · linked by author and title
- v4 Latest posting 2/20 of 26 patches 0 repliesNew
- v4 posting 1/20 of 26 patches 0 repliesSuperseded
Patches in v4 posting 2/2 No applies recorded yet
None of the 26 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [U-Boot] [PATCH v4 00/26] Improve env var handling for net stack
Quoted 15 lines · Joe Hershberger
Hi Tom,
Quoted 12 lines · Tom Rini
Quoted 10 lines · Joe Hershberger
This includes moving
CONFIG_REGEXtoKconfigand adding support for regex to theenv_attrlists (whenCONFIG_REGEXis enabled).This allows ethaddrs to all be checked for access and format by default. Also use callbacks to keep network stack variables up to date instead of polling them on each call to
net_loop.This is a step in the right direction to refactoring the network stack to be similar to that of barebox.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Also added a test command to host unit tests for the env functions.
Can you do a v5 on top of master please? The config changes fail pretty badly, thanks!
I just noticed that this also conflicts a bit with u-boot-net/master. Should I push it there and send a new PR?
I had to think when applying #13 (so please check when I push) but I gave omap4_panda (a usb eth setup) a quick try and it's still working so I think we're good. I assume you're taking care of usbethaddr in these changes :). I also tested on am335x GP EVM (SoC ethernet) and that still works too.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150521/838b74f5/attachment.sig>