[dpdk-dev] Interrupt is catched in kernel, but not handled

2019-11-30 Thread Ranran
Hello, This is not a specific dpdk question, but more related to using of uio_pci_generic. Unfortunately, I don't find any examples of using the generic driver from userspace, so this is my last hope to reach a suggestion. I installed centos8 , and I use uio_pci_generic, in order to communicate w

[dpdk-dev] [PATCH 0/9] updates for hns3 PMD driver

2019-11-30 Thread Wei Hu (Xavier)
From: "Wei Hu (Xavier)" This series are updates for hns3 ethernet PMD driver. Hao Chen (4): net/hns3: support Rx interrupt net/hns3: optimize RSS's default algorithm net/hns3: remove the redundant function call net/hns3: remove the unused macros Hongbo Zheng (1): net/hns3: get link st

[dpdk-dev] [PATCH 0/9] updates for hns3 PMD driver

2019-11-30 Thread Wei Hu (Xavier)
From: "Wei Hu (Xavier)" This series are updates for hns3 ethernet PMD driver. Hao Chen (4): net/hns3: support Rx interrupt net/hns3: optimize RSS's default algorithm net/hns3: remove the redundant function call net/hns3: remove the unused macros Hongbo Zheng (1): net/hns3: get link st

[dpdk-dev] [PATCH 1/9] net/hns3: support Rx interrupt

2019-11-30 Thread Wei Hu (Xavier)
From: Hao Chen This patch supports of receive packets through interrupt mode for hns3 PF/VF driver. The following ops functions should be implemented defined in struct eth_dev_ops: rx_queue_intr_enable rx_queue_intr_disable rx_queue_count Signed-off-by: Hao Chen Signed-off-by: Wei Hu (Xavier)

[dpdk-dev] [PATCH 2/9] net/hns3: get link state change through mailbox

2019-11-30 Thread Wei Hu (Xavier)
From: Hongbo Zheng When link down occurs, firmware adds the function of sending message to PF driver through mailbox, hns3 PMD driver can recognize link state change faster through the message. Signed-off-by: Hongbo Zheng Signed-off-by: Wei Hu (Xavier) --- drivers/net/hns3/hns3_ethdev.c | 8

[dpdk-dev] Cannot use MLX5 groups : cannot create jump action.: Operation not supported

2019-11-30 Thread Tom Barbette
Hi all, I'm struggling to use the group feature with MLX5. I'm using 19.08.2 for now (while https://bugs.dpdk.org/show_bug.cgi?id=371 gets fixed). I use the latest OFED (no inbox driver this time). I have dv_flow_en=1, but I still get "cannot create jump action.: Operation not supported". w

Re: [dpdk-dev] Cannot use MLX5 groups : cannot create jump action.: Operation not supported

2019-11-30 Thread Tom Barbette
Solved. The error was due to that NIC not having UCTX_EN enabled in the firmware. Maybe a less cryptic message/warning would be helpful though? DV was enabled so I did not thought the problem could be below. A warning when the user explicitly asks for dv_flow_en=1 but UCTX_EN is not enabled ma

Re: [dpdk-dev] Interrupt is catched in kernel, but not handled

2019-11-30 Thread Stephen Hemminger
On Sat, 30 Nov 2019 10:40:38 +0200 Ranran wrote: > Hello, > > This is not a specific dpdk question, but more related to using of > uio_pci_generic. > Unfortunately, I don't find any examples of using the generic driver > from userspace, so this is my last hope to reach a suggestion. > > I insta

Re: [dpdk-dev] Interrupt is catched in kernel, but not handled

2019-11-30 Thread Ranran
בתאריך שבת, 30 בנוב׳ 2019, 18:51, מאת Stephen Hemminger ‏< step...@networkplumber.org>: > On Sat, 30 Nov 2019 10:40:38 +0200 > Ranran wrote: > > > Hello, > > > > This is not a specific dpdk question, but more related to using of > > uio_pci_generic. > > Unfortunately, I don't find any examples of