dpvs icon indicating copy to clipboard operation
dpvs copied to clipboard

Add support for i40e

Open Danielybl opened this issue 5 years ago • 4 comments

This patch is only for IPv4.

  1. x-port https://github.com/DPDK/dpdk/commit/97bd4ef9a0fecfc660231d9547f94a8df616e8df from DPDK 18.02
  2. uncomment DPVS_CFG_I40E_PMD

The commit 97bd4ef9a0fecfc660231d9547f94a8df616e8df has been modified as 0003-net-i40e-support-input-set-configuration.patch.

Danielybl avatar May 07 '19 05:05 Danielybl

It seems incomplete. Also need to add support for fdir mask for each queue.

It's a bit hacking, but it can work. The fdir mask is set on port and no need to configure it on each queue.

Danielybl avatar May 09 '19 05:05 Danielybl

It seems incomplete. Also need to add support for fdir mask for each queue.

It's a bit hacking, but it can work. The fdir mask is set on port and no need to configure it on each queue.

Hi Daniel, I have tried this patch using X722 NIC. The response really can hit the core where the request send out. But the traffic for one service always work on one same core and it cannot be well distributed on each core. I feel confused if the input set configuration break RSS logic.

ytwang0320 avatar May 15 '19 02:05 ytwang0320

It seems incomplete. Also need to add support for fdir mask for each queue.

It's a bit hacking, but it can work. The fdir mask is set on port and no need to configure it on each queue.

Hi Daniel, I have tried this patch using X722 NIC. The response really can hit the core where the request send out. But the traffic for one service always work on one same core and it cannot be well distributed on each core. I feel confused if the input set configuration break RSS logic.

Hi, I checked the RSS on DPDK18.11.0 and I can distribute. I forgot to see if RSS works on DPDK17.11. I will check it again.

Thanks, Daniel

Danielybl avatar May 23 '19 12:05 Danielybl

i40e上你们有没有发现运行一段时间高概率软件收不到包,取包i40e_rx_scan_hw_ring函数中判断 I40E_RX_DESC_STATUS_DD_SHIFT位一直为0,但是硬件是收到包了

oupeng007 avatar Jul 09 '19 03:07 oupeng007