[dpdk-dev] Pocket loss on 82545EM Gigabit Ethernet Controller (Copper)

2017-01-09 Thread Keren Hochman
Hello, I have a VM with network card: 82545EM Gigabit Ethernet Controller (Copper) - SpanSwitch when I use libpcap of dpdk I see 30% packet loss. Only when I bind the network card to igb_uio I do not see packet loss anymore. Without dpdk I there is no packet loss also. Is there a problem running l

[dpdk-dev] Filtering acording to port/cidr ip

2016-12-03 Thread Keren Hochman
Hello, Is there a way to filter packets which received by dpdk kernel or libpcap according to ip mask and port ? I need to support fragmented ip packets and fragmented tcp packets. Can I use *Packet Classification* for this purpose*? * Thank you, Keren

[dpdk-dev] Reading from a pcap file

2016-12-03 Thread Keren Hochman
Hi, When reading from a pcap file: *--vdev eth_pcap0, rx_pcap='tmp'* and using *rte_ring_dequeue_burst* What is the correct way to know when the file had finished? Thanks, Keren

[dpdk-dev] imissed in rte_pmd_pcap

2016-09-12 Thread Keren Hochman
Hello, in the dpdk pcap driver, the imissed indicator of rte_eth_stats structure is not increasing even when we miss packets since there are no available mbufs. I looked at the code and I saw that nothing increase it in the pcap driver code ( as opposed to other drivers where it's being promoted) I

[dpdk-dev] Run 2 different testpmd from the same machine

2016-09-12 Thread Keren Hochman
Hi, I tried to run 2 instances of testpmd from the same machine but received a message: Cannot get hugepage information when I tried to run the second instance. Is there a way to disable hugepages or allow to instances to access it ? Thanks. keren

[dpdk-dev] Check if NIC is connected to the net throw cable

2016-09-20 Thread Keren Hochman
Hi, I need to go over all the nics in my machine that are connected to the net throw cable. link_status of rte_eth_link returns link up on all nics, also those who are not connected. Is there any way to check it? Thanks, Keren

[dpdk-dev] rte_eth_link_get

2016-09-21 Thread Keren Hochman
Hi, rte_eth_link_get returns after up to 9 seconds. If its return that link_status is down does it necessary means that the port is bot connected or there is a problem with the network or maybe just no data was received? Thanks, Keren

[dpdk-dev] Using rte_eth_link_get_nowait

2016-09-26 Thread Keren Hochman
Hi, My application needs to know if port is up, but without wasting 9 seconds (using rte_eth_link_get). I tried to register to callback: lsi_event_callback as suggested in the DPDK examples but I did not receive the event RTE_ETH_EVENT_INTR_LSC. Thanks, Keren.

[dpdk-dev] Run 2 different testpmd from the same machine

2016-09-28 Thread Keren Hochman
t; On Sep 12, 2016, at 6:18 AM, Keren Hochman > wrote: > > > > Hi, > > I tried to run 2 instances of testpmd from the same machine but received > a > > message: Cannot get hugepage information when I tried to run the second > > instance. Is there a way to di

[dpdk-dev] DPDK with VMXNET3

2016-08-21 Thread Keren Hochman
Hi, I saw you removed from the git VMXNET3 user map. does this driver does not support anymore in dpdk? thanks

[dpdk-dev] Error: unbind failed

2016-08-21 Thread Keren Hochman
Hello, I installed dpdk on ubuntu VM. when I tried to bind the device to the driver I received the following error: /dpdk-devbind.py --bind=uio_pci_generic eth3 Error: bind failed for :02:02.0 - Cannot bind to driver uio_pci_generic Error: unbind failed for :02:02.0 - Cannot open /sys/bu

[dpdk-dev] Permanently binding NIC ports with DPDK drivers

2016-08-25 Thread Keren Hochman
Hi, I there a way to permanently bind a nic port when using DPDK drier with kernel < 3.6 ? (In this kernel VFIO driver is not supported)? Thanks, Keren

[dpdk-dev] support BCM5719 driver

2016-08-30 Thread Keren Hochman
Hi, I tried to bind BCM5719 driver to DPDK compatible driver: (I tried both to uio_pci_generic and igb_uio) Network devices using DPDK-compatible driver :03:00.2 'NetXtreme BCM5719 Gigabit Ethernet PCIe' drv=uio_pci_generic unused=tg3,igb_uio 00

[dpdk-dev] Running 2 process on the same machine

2016-11-07 Thread Keren Hochman
Hi, I need to run 2 process that uses dpdk on the same machine. One uses dpdk drivers, and the other just read from a pcap file. If I disable hugepages in the second process rte_mempool_create fails. What is the correct way to handle this? Thanks, Keren

[dpdk-dev] Running 2 process on the same machine

2016-11-08 Thread Keren Hochman
Thank you for your response, I still can not run the 2 process together. if I add --no-pci to one process it can replace white and black lists right? Thanks, keren On Tue, Nov 8, 2016 at 12:36 AM, Wiles, Keith wrote: > > > On Nov 7, 2016, at 7:28 AM, Keren Hochman > wrote: >

[dpdk-dev] Running 2 process on the same machine

2016-11-08 Thread Keren Hochman
Also, I can't understand how to define socket-mem. I did not see anything related to hugepages in /etc/sysctl.conf. Can i mount hugepages to 2 different dirs instead and use --huge-dir ? Thank you. On Tue, Nov 8, 2016 at 11:44 AM, Keren Hochman wrote: > Thank you

[dpdk-dev] disable hugepages

2016-11-09 Thread Keren Hochman
Hi, how can I create mempool without hugepages?My application is running on a pcap file so no huge pages is needed ? Thanks.

[dpdk-dev] disable hugepages

2016-11-09 Thread Keren Hochman
I need this option only for testing. How can I use rte_mempool_create if I use --no-huge? Thank you, Keren On Wed, Nov 9, 2016 at 3:40 PM, Christian Ehrhardt < christian.ehrhardt at canonical.com> wrote: > > On Wed, Nov 9, 2016 at 1:55 PM, Keren Hochman < > keren.hochman at lig

[dpdk-dev] disable hugepages

2016-11-10 Thread Keren Hochman
ion on the memory beside the machine? *Thanks, Keren * On Wed, Nov 9, 2016 at 4:50 PM, Olivier Matz wrote: > Hi Keren, > > On 11/09/2016 03:40 PM, Keren Hochman wrote: > > On Wed, Nov 9, 2016 at 3:40 PM, Christian Ehrhardt < > > christian.ehrhardt at canonical.com> wrote: &