[dpdk-dev] [PATCH v4] igb_uio: allow multi-process access

2018-01-01 Thread Xiao Wang
In some case, one device are accessed by different processes via different BARs, so one uio device may be opened by more than one process, for this case we just need to enable interrupt once, and pci_clear_master only when the last process closed. Fixes: 5f6ff30dc507 ("igb_uio: fix interrupt enabl

Re: [dpdk-dev] [PATCH v5] net/i40e: support mac loopback

2018-01-01 Thread Xing, Beilei
> -Original Message- > From: Wu, Yanglong > Sent: Tuesday, January 2, 2018 10:41 AM > To: dev@dpdk.org > Cc: Xing, Beilei ; Wu, Yanglong > > Subject: [PATCH v5] net/i40e: support mac loopback > > According to loopback mode, setup loopback link or not. > If loopback link is setted, packet

[dpdk-dev] [PATCH v4] net/i40e: support mac loopback

2018-01-01 Thread Yanglong Wu
According to loopback mode, setup loopback link or not. If loopback link is setted, packets in tx will be sent to rx directly. Loopback mode can be used to support testing task Signed-off-by: Yanglong Wu --- v2: fix coding style issue --- v3: update release DOC --- v4: remove 'FVL' --- doc/guide

[dpdk-dev] [PATCH v5] net/i40e: support mac loopback

2018-01-01 Thread Yanglong Wu
According to loopback mode, setup loopback link or not. If loopback link is setted, packets in tx will be sent to rx directly. Loopback mode can be used to support testing task Signed-off-by: Yanglong Wu --- v2: fix coding style issue --- v3: update release DOC --- v4: remove 'FVL' --- v5: fix co

[dpdk-dev] [PATCH v3] app/testpmd: fix port_id alloction issue

2018-01-01 Thread Yanglong Wu
In the feature of increasing port_id range from 8 bits to 16 bits, vlan port_id allocation function was forget to substitute UINT8 with UINT16, so the vlan port_id was allocated as a inccrete number. Fixes:28caa76aea71 ("app/testpmd: fix port id type") Signed-off-by: Yanglong Wu Reviewed-by: Zhi

Re: [dpdk-dev] [PATCH] net/virtio: remove unnecessary macro definitions

2018-01-01 Thread Maxime Coquelin
On 12/26/2017 10:25 AM, Zhiyong Yang wrote: DPDK has already the definition of Ethernet numeric link speeds in Mbps in the file Rte_ethdev.h, it is unnecessary to rededine virtio specific link speeds macros again. Signed-off-by: Zhiyong Yang --- drivers/net/virtio/virtio_ethdev.c | 2 +- dr