lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #50064] Zero-copy RX: ARP reply fails with PBUF_REF


From: Dirk Ziegelmeier
Subject: [lwip-devel] [bug #50064] Zero-copy RX: ARP reply fails with PBUF_REF
Date: Wed, 18 Jan 2017 08:51:00 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #2, bug #50064 (project lwip):

Alternative 1: Removie the special case of reusing the received pbuf in
etharp_input() and call etharp_raw() to create ARP response. This is less
performant, but saves some code bytes. Is there a reason for optimizing the
ARP reply case?

Alternative 2: Use an if clause to detect PBUF_REFs and only use etharp_raw()
in this case, keeping the performance optimization for the PBUF_POOL case.

Any opinions?

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?50064>

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




reply via email to

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