lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #8882] Vector improvements


From: Simon Goldschmidt
Subject: [lwip-devel] [patch #8882] Vector improvements
Date: Tue, 28 Feb 2017 15:34:44 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Follow-up Comment #44, patch #8882 (project lwip):

As to the binary compatibility of an external struct: we don't we just compare
size and offsets of the two structs using LWIP_ASSERT? Somewhere in an init
function where it's only done once. Like 'lwip_init()'.

>  do we have an issue with passing pointer to struct netvector in the MPU
case?

I can imagine that going wrong, yes. I'm not too keen on fixing this right now
though. Letting it go wrong might get us a feedback on if it's really used
:-)

But really, I don't like the current MPU approach. What we would need to make
it usable would be a simple "copy this pointer, x bytes, to a shared location"
(and freeing it again later) instead of adding all those structs and pools.

I guess I'm OK with the rest of the patch, even if it slows down the non-multi
send part.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8882>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]