Re: [PATCH v3 1/1] xdp: Sample xdp program implementing ip forward

2017-11-02 Thread Jesper Dangaard Brouer
On Wed, 1 Nov 2017 13:18:04 +0530 Christina Jacob wrote: > From: Christina Jacob > > Implements port to port forwarding with route table and arp table > lookup for ipv4 packets using bpf_redirect helper function and > lpm_trie

Re: [PATCH v3 1/1] xdp: Sample xdp program implementing ip forward

2017-11-02 Thread Jesper Dangaard Brouer
On Wed, 1 Nov 2017 13:18:04 +0530 Christina Jacob wrote: > From: Christina Jacob > > Implements port to port forwarding with route table and arp table > lookup for ipv4 packets using bpf_redirect helper function and > lpm_trie map. > Signed-off-by: Christina Jacob There is usually a line

[PATCH v3 1/1] xdp: Sample xdp program implementing ip forward

2017-11-01 Thread Christina Jacob
From: Christina Jacob Implements port to port forwarding with route table and arp table lookup for ipv4 packets using bpf_redirect helper function and lpm_trie map. Signed-off-by: Christina Jacob --- samples/bpf/Makefile |

[PATCH v3 1/1] xdp: Sample xdp program implementing ip forward

2017-11-01 Thread Christina Jacob
From: Christina Jacob Implements port to port forwarding with route table and arp table lookup for ipv4 packets using bpf_redirect helper function and lpm_trie map. Signed-off-by: Christina Jacob --- samples/bpf/Makefile | 4 + samples/bpf/xdp_router_ipv4_kern.c | 181