On Thu, Nov 9, 2017 at 7:08 AM, Jesper Dangaard Brouer
wrote:
> On Wed, 08 Nov 2017 10:40:24 +0900 (KST)
> David Miller wrote:
>
>> From: Christina Jacob
>> Date: Sun, 5 Nov 2017 08:52:30 +0530
>>
>> > From: Christina Jacob
>> >
>> > Imple
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 | 186
From: Christina Jacob
The patch below implements port to port forwarding through route table and arp
table lookup for ipv4 packets using bpf_redirect helper function and lpm_trie
map. This has an improved performance over the normal kernel stack ip forward.
Implementation details
type
anymore.
4. Fixed returning address of local variable.
Christina Jacob (1):
xdp: Sample xdp program implementing ip forward
samples/bpf/Makefile | 4 +
samples/bpf/xdp_router_ipv4_kern.c | 181 ++
samples/bpf/xdp_router_ipv4_u
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
On Wed, Oct 11, 2017 at 3:07 AM, David Daney wrote:
> On 10/10/2017 10:19 AM, Stephen Hemminger wrote:
>>
>> On Tue, 10 Oct 2017 12:58:52 +0530
>> Christina Jacob wrote:
>>
>>> +/* Get the mac address of the interface given interface name */
On Tue, Oct 10, 2017 at 7:30 PM, Jesper Dangaard Brouer
wrote:
>
> On Tue, 10 Oct 2017 15:12:31 +0200
> Jesper Dangaard Brouer wrote:
>
> > I'll try to test/benchmark your program...
>
> In my initial testing, I cannot get this to work...
>
What is the test setup you are using? So that I can als
.
* Corrected the copyright issue pointed out by David Ahern
* Fixed the bug: The already attached interfaces are not detached from the
xdp program if the program fails to attach to an interface later in the list.
Christina Jacob (1):
xdp: Sample xdp program implementing ip forward
samples
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 | 189 +++
samples/bpf