Re: How to announce VIP with BGP for DPDK application?

2022-04-04 Thread Victor Detoni
; Thanks. > > Best wishes, > Linhua Tang > > > On Mon, Apr 4, 2022 at 2:00 PM Victor Detoni > wrote: > >> Hi Linhua, >> >> First of all, you need to bind an IP address on NIC that DPDK manages. >> You can look at https://github.com/victordetoni/dpdk-l3fw

Re: How to announce VIP with BGP for DPDK application?

2022-04-04 Thread Victor Detoni
Hi Linhua, First of all, you need to bind an IP address on NIC that DPDK manages. You can look at https://github.com/victordetoni/dpdk-l3fwd-acl this project and copy arp (line 644) and ip stack (line 2024). After that, you can set as next-hop on bgp the ip address that dpdk manages. Maybe it's n

Re: [dpdk-users] [dpdk-dev] Segm fault to the update acl context

2017-03-27 Thread Victor Detoni
Hi Konstantin, Thank you for your questions. Please find below a sample of my code: After the program has started, I send sighup signals to update the acl context, like this: if (signup == SIGHUP) use_acl_ctx_swap = 1; ... During the SIGHUP processes I create a new/swap acl ctx and data struct

[dpdk-users] DPDK ACL for multiple profiles

2017-01-14 Thread Victor Detoni
Hello guys, Please, any suggestion about how can use rte_acl_classify for multiple acx_ipv4 profiles? thanks

[dpdk-users] reassembly app doesn't send pkt

2016-11-12 Thread Victor Detoni
Hi, When I test ip_reassembly app on vmxnet3 nic works fine, but when I change to the nics 82599ES 10-Gigabit SFI/SFP+, it stop to send the packet "reassembled" on tx nic. when I remove the code bellow on rte_ipv4_reassembly.c source code, it sends pkt but truncated. rte_pktmbuf_chain(fp->frags

[dpdk-users] dpdk does not recognise 10gbps - vm

2016-09-20 Thread Victor Detoni
Hello, I have Intel 82599EB 10Gbit and 2 esxi hypervisors and one vm on each esxi with vmxnet3. When I try to use dpdk traffic generator app like pktgen/moongen I can't reach ~10Gbits. All tests that I do seems that my nic interface is 1Gbits. All vm are vmtools installed and scp or iperf I can r

[dpdk-users] Set mtu value

2016-08-29 Thread Victor Detoni
buntu 16.04 and VMXNET3. thanks On Mon, Aug 22, 2016 at 10:12 AM, Victor Detoni wrote: > Stephen, thank you for your answer. > > When you say "stop the device, configure new settings, and start", you > mean use these functions rte_eth_dev_stop and rte_eth_dev_start? > &g

[dpdk-users] Set mtu value

2016-08-22 Thread Victor Detoni
Stephen, thank you for your answer. When you say "stop the device, configure new settings, and start", you mean use these functions rte_eth_dev_stop and rte_eth_dev_start? On Mon, Aug 22, 2016 at 2:27 AM, Stephen Hemminger < stephen at networkplumber.org> wrote: > only some device drivers suppor

[dpdk-users] Set mtu value

2016-08-21 Thread Victor Detoni
Hello, I'm trying to use rte_eth_dev_set_mtu function to change mtu value. When I use the code below the function returns -ENOTSUP. Someone knows what's happening? I can change mtu value with "ifconfig". uint16_t mtu; ret = rte_eth_dev_set_mtu(ported,mtu); if (ret == 0) printf("Port %d: MTU se