Add l3 support for tasks without physical tx ports 45/49145/2
authorXavier Simonart <xavier.simonart@intel.com>
Sun, 17 Dec 2017 15:46:52 +0000 (16:46 +0100)
committerXavier Simonart <xavier.simonart@intel.com>
Mon, 18 Dec 2017 17:55:34 +0000 (18:55 +0100)
commit3fc7bd53eda521cfd428759481964db30883d99f
tree026f3b9eb09e1767121961f9bcfb7e8b37b4dea4
parent65504ce40edc1a2f5ad154ed7935d93a3650e5b7
Add l3 support for tasks without physical tx ports

This adds support for tasks in l3 submode receiving from ports but
transmitting to rings.

ARP related information is exchanged between tasks through master core.
Tasks transmitting to physical ports are responsible to transmit arp
related packets. Tasks not transmitting to physical ports (and using
rings) should not try to transmit arp packets. Transmitting arp
packets through ring would be more complex, as we would need extra information
(within the mbuf) to distinguish for instance an arp reply comoing from the
network and an arp reply coming from a core (as a reply to an arp request).

Change-Id: Ib55dc8c39d5e55703a933faa16bcc008f1274929
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
VNFs/DPPD-PROX/main.c
VNFs/DPPD-PROX/task_init.c