[dpdk-dev] igb: correctly setting default value TX_WTHRESH (due to performance warning during PMD init)

2016-01-19 Thread Matthew Hall
I get this error when running DPDK with the IGB driver in pktgen-dpdk and other code: PMD: WARNING: eth_igb_tx_queue_setup(): To improve 1G driver performance, consider setting the TX WTHRESH value to 4, 8, or 16. Internally, the code is checking "if (tx_conf->tx_thresh.wthresh == 0)". But, I

[dpdk-dev] [PKTGEN] fixing weird termio issues that complicate debugging

2016-01-19 Thread Matthew Hall
Hello, Since the pktgen code is reindented I am finding time to read through it and experiment and see if I can get it working. I have issues with the init process of pktgen. It is difficult to debug it because the init code does a lot of very scary stuff to the terminal control / TTY device

[dpdk-dev] Missing Outstanding Patches (By Me) In Patchwork

2016-01-19 Thread Matthew Hall
I should have mentioned. I suspect it must be missing some variations of the PATCH subject line when it goes to pickup patches, as I am sending them using git send-email but they still don't appear inside of Patchwork. Or there is some way of deactivating or deleting which does not send me any

[dpdk-dev] [PATCH] rte.extvars.mk: allow overriding RTE_SDK_BIN from the environment

2016-01-19 Thread Matthew Hall
Currently pktgen-dpdk and many other external apps will fail to compile if the build output directory name is not equal to the target name. This causes problems if you used an alternative build output directory. Signed-off-by: Matthew Hall --- mk/internal/rte.extvars.mk | 2 +- 1 file changed,

[dpdk-dev] Missing Outstanding Patches (By Me) In Patchwork

2016-01-19 Thread Matthew Hall
I have some outstanding minor patches which do not appear in Patchwork anywhere I can see but the interface is also pretty confusing. Is there a way to find all patches by a person throughout time so I can see what happened to them and check why they are not listed and also not merged (that I

[dpdk-dev] [PATCH] vhost: remove lockless enqueue to the virtio ring

2016-01-19 Thread Polehn, Mike A
SMP operations can be very expensive, sometimes can impact operations by 100s to 1000s of clock cycles depending on what is the circumstances of the synchronization. It is how you arrange the SMP operations within the tasks at hand across the SMP cores that gives methods for top performance.

[dpdk-dev] [PATCH v5 2/2] eal/linux: Add support for handling built-in kernel modules

2016-01-19 Thread Kamil Rytarowski
W dniu 18.01.2016 o 15:22, Yuanhan Liu pisze: > On Wed, Dec 09, 2015 at 02:19:58PM +0100, Kamil Rytarowski wrote: >> Currently rte_eal_check_module() detects Linux kernel modules via reading >> /proc/modules. Built-in ones aren't listed there and therefore they are not >> being found by the

[dpdk-dev] [PATCH v5 1/2] tools: Add support for handling built-in kernel modules

2016-01-19 Thread Kamil Rytarowski
W dniu 18.01.2016 o 15:32, Thomas Monjalon pisze: > Hi Kamil, > > 2015-12-09 14:19, Kamil Rytarowski: >> Currently dpdk_nic_bind.py detects Linux kernel modules via reading >> /proc/modules. Built-in ones aren't listed there and therefore they are not >> being found by the script. >> >> Add

[dpdk-dev] [PATCH v5 1/2] tools: Add support for handling built-in kernel modules

2016-01-19 Thread Kamil Rytarowski
Thank you, I will submit improved version as v6. W dniu 18.01.2016 o 15:21, Yuanhan Liu pisze: > Hi Kamil, > > First of all, sorry for no one has reviewed your patches for over one > month! You may want to ping more often (say, per week) next time if it > still happenes :) > > Another thing is

[dpdk-dev] [PATCH v5 10/11] virtio: pci: add dummy func definition for in/outb for non-x86 arch

2016-01-19 Thread Santosh Shukla
For non-x86 arch, Compiler will throw build error for in/out apis. Including dummy api function so to pass build. Note that: For virtio to work for non-x86 arch - RTE_EAL_VFIO is the only supported method. RTE_EAL_IGB_UIO is not supported for non-x86 arch. So, Virtio support for arch and

[dpdk-dev] [PATCH v5 09/11] virtio_pci: do not parse if interface is vfio-noiommu

2016-01-19 Thread Santosh Shukla
If virtio interface attached to vfio-noiommu driver then do not parse for virtio resource. Instead exit with return 0; Note: Applicable for virtio spec 0.95. Signed-off-by: Santosh Shukla --- v4-->v5: - added _NOIOMMU drv check for lagecy virtio. No need for resource_init in vfio case. And

[dpdk-dev] [PATCH v5 08/11] eal: pci: introduce RTE_KDRV_VFIO_NOIOMMUi driver mode

2016-01-19 Thread Santosh Shukla
Adding RTE_KDRV_VFIO_NOIOMMU mode in kernel driver. Also including rte_vfio_is_noiommu() helper function. This function will parse /sys/bus/pci/device// and make sure that - vfio noiommu mode set in kernel driver - pci device attached to vfio-noiommu driver only If both condition satisfies then

[dpdk-dev] [PATCH v5 07/11] virtio: pci: extend virtio pci rw api for vfio interface

2016-01-19 Thread Santosh Shukla
So far virtio handle rw access for uio / ioport interface, This patch to extend the support for vfio interface. Applicable for virtio 0.95 spec. Signed-off-by: Santosh Shukla --- v4--> v5: - Replaced virtio_rd/wr_1/2/4() macro implementation with inline function, per Yuan review commment.

[dpdk-dev] [PATCH v5 06/11] virtio: vfio: add api support to rd/wr ioport bar

2016-01-19 Thread Santosh Shukla
For vfio case - Use pread/pwrite api to access virtio ioport space. Applicable for virtio 0.95 spec. Signed-off-by: Santosh Shukla Signed-off-by: Rizwan Ansari Signed-off-by: Rakesh Krishnamurthy --- v4 --> v5: - Removed unnecessary type casting. drivers/net/virtio/virtio_vfio_rw.h | 104

[dpdk-dev] [PATCH v5 05/11] eal: pci: vfio: add rd/wr func for pci bar space

2016-01-19 Thread Santosh Shukla
Introducing below api for pci bar space rd/wr. Currently used for pci iobar rd/wr. Api's are: - rte_eal_pci_read_bar - rte_eal_pci_write_bar virtio when used for vfio-mode then virtio driver will use these api to do rd/wr operation on ioport pci bar. Signed-off-by: Santosh Shukla --- v4--> v5:

[dpdk-dev] [PATCH v5 04/11] virtio_pci.h: build fix for sys/io.h for non-x86 arch

2016-01-19 Thread Santosh Shukla
make sure sys/io.h used only for x86 archs. This fixes build error arm64/arm case. Signed-off-by: Santosh Shukla --- drivers/net/virtio/virtio_pci.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/virtio/virtio_pci.h b/drivers/net/virtio/virtio_pci.h index 99572a0..f550d22

[dpdk-dev] [PATCH v5 03/11] linuxapp/vfio: ignore mapping for ioport region

2016-01-19 Thread Santosh Shukla
vfio_pci_mmap() try to map all pci bars. ioport region are not mapped in vfio/kernel so ignore mmaping for ioport. Signed-off-by: Santosh Shukla --- lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 20 1 file changed, 20 insertions(+) diff --git

[dpdk-dev] [PATCH v5 02/11] linuxapp: eal: arm: Always return 0 for rte_eal_iopl_init()

2016-01-19 Thread Santosh Shukla
iopl() syscall not supported in linux-arm/arm64 so always return 0 value. Signed-off-by: Santosh Shukla Acked-by: Jan Viktorin Suggested-by: Stephen Hemminger --- lib/librte_eal/linuxapp/eal/eal.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_eal/linuxapp/eal/eal.c

[dpdk-dev] [PATCH v5 01/11] virtio: Introduce config RTE_VIRTIO_INC_VECTOR

2016-01-19 Thread Santosh Shukla
- virtio_recv_pkts_vec and other virtio vector friend apis are written for sse/avx instructions. For arm64 in particular, virtio vector implementation does not exist(todo). So virtio pmd driver wont build for targets like i686, arm64. By making RTE_VIRTIO_INC_VECTOR=n, Driver can build for

[dpdk-dev] [PATCH v5 00/11] Add virtio support for arm/arm64

2016-01-19 Thread Santosh Shukla
Hi, Patch series uses vfio-noiommu-way to access virtio-net pci interface. Tested for arm64 thunderX/ x86_64 platform. Patch builds for x86/i386/arm/armv8/thunderX. Tested with testpmd application. Patchset rebased on yuan's under review virtio-1.0 v2 patchset and using vfio-noiommu patch. Refer

[dpdk-dev] A Question on MEMNIC/PMD on DPDK

2016-01-19 Thread Royce Niu
Dear all, I am so sorry to send this question in dev mailing list. I sent this to users' mailing list, but no one response and that list is not so active. So, may I ask this question in this list? If it is not ok, I say sorry in advance.

[dpdk-dev] [PATCH] vhost: remove lockless enqueue to the virtio ring

2016-01-19 Thread Xie, Huawei
On 1/20/2016 12:25 AM, Tan, Jianfeng wrote: > Hi Huawei, > > On 1/4/2016 10:46 PM, Huawei Xie wrote: >> This patch removes the internal lockless enqueue implmentation. >> DPDK doesn't support receiving/transmitting packets from/to the same >> queue. Vhost PMD wraps vhost device as normal DPDK

[dpdk-dev] [PATCH v5 9/9] virtio: move VIRTIO_READ/WRITE_REG_X into virtio_pci.c

2016-01-19 Thread Yuanhan Liu
virtio_pci.c is the only file references those macros; move them there. Signed-off-by: Yuanhan Liu Tested-by: Qian Xu Reviewed-by: Tetsuya Mukawa Tested-by: Tetsuya Mukawa --- drivers/net/virtio/virtio_pci.c | 19 +++ drivers/net/virtio/virtio_pci.h | 18 -- 2

[dpdk-dev] [PATCH v5 8/9] virtio: add 1.0 support

2016-01-19 Thread Yuanhan Liu
Modern (v1.0) virtio pci device defines several pci capabilities. Each cap has a configure structure corresponding to it, and the cap.bar and cap.offset fields tell us where to find it. Firstly, we map the pci resources by rte_eal_pci_map_device(). We then could easily locate a cfg structure by:

[dpdk-dev] [PATCH v5 7/9] eal: pci: export pci_[un]map_device

2016-01-19 Thread Yuanhan Liu
Normally we could set RTE_PCI_DRV_NEED_MAPPING flag so that eal will invoke pci_map_device internally for us. From that point view, there is no need to export pci_map_device. However, for virtio pmd driver, which is designed to work without binding UIO (or something similar first),

[dpdk-dev] [PATCH v5 6/9] virtio: retrieve hdr_size from hw->vtnet_hdr_size

2016-01-19 Thread Yuanhan Liu
The mergeable virtio net hdr format has been the standard and the only virtio net hdr format since virtio 1.0. Therefore, we can not hardcode hdr_size to "sizeof(struct virtio_net_hdr)" any more at virtio_recv_pkts(), otherwise, there would be a mismatch of hdr size from rte_vhost_enqueue_burst()

[dpdk-dev] [PATCH v5 5/9] viritio: switch to 64 bit features

2016-01-19 Thread Yuanhan Liu
Switch to 64 bit features, which virtio 1.0 supports. While legacy virtio only supports 32 bit features, it complains aloud and quit when trying to setting > 32 bit features. Signed-off-by: Yuanhan Liu Tested-by: Qian Xu Reviewed-by: Tetsuya Mukawa Tested-by: Tetsuya Mukawa ---

[dpdk-dev] [PATCH v5 4/9] virtio: move left pci stuff to virtio_pci.c

2016-01-19 Thread Yuanhan Liu
virtio_pci.c is a more proper place for pci stuff; virtio_ethdev is not. Signed-off-by: Yuanhan Liu Tested-by: Qian Xu Reviewed-by: Tetsuya Mukawa Tested-by: Tetsuya Mukawa --- drivers/net/virtio/virtio_ethdev.c | 265 +--- drivers/net/virtio/virtio_pci.c|

[dpdk-dev] [PATCH v5 3/9] virtio: introduce struct virtio_pci_ops

2016-01-19 Thread Yuanhan Liu
Introduce struct virtio_pci_ops, to let legacy virtio (v0.95) and modern virtio (1.0) have different implementation regarding to a specific pci action, such as read host status. With that, this patch reimplements all exported pci functions, in a way like: vtpci_foo_bar(struct virtio_hw

[dpdk-dev] [PATCH v5 2/9] virtio: define offset as size_t type

2016-01-19 Thread Yuanhan Liu
offset arg of vtpci_read/write_dev_config is derived from offsetof(), which is of size_t type, instead of uint64_t. So, define it as size_t type. Signed-off-by: Yuanhan Liu Tested-by: Qian Xu Reviewed-by: Tetsuya Mukawa Tested-by: Tetsuya Mukawa --- drivers/net/virtio/virtio_pci.c | 4 ++--

[dpdk-dev] [PATCH v5 1/9] virtio: don't set vring address again at queue startup

2016-01-19 Thread Yuanhan Liu
As we have already set up it at virtio_dev_queue_setup(), and a vq restart will not reset the settings. Signed-off-by: Yuanhan Liu Tested-by: Qian Xu Reviewed-by: Tetsuya Mukawa Tested-by: Tetsuya Mukawa --- drivers/net/virtio/virtio_rxtx.c | 15 --- 1 file changed, 15

[dpdk-dev] [PATCH v5 0/9] virtio 1.0 enabling for virtio pmd driver

2016-01-19 Thread Yuanhan Liu
v5: minor fixes: - fix wrong type of arg "offset" of read/write_dev_config(): patch 2 is newly added for that. - check "offset + length" overflow Almost all difference comes from virtio 1.0 are the PCI layout change: the major configuration structures are stored at bar space, and

[dpdk-dev] [PATCH v2 10/10] pci: place all uio pci device ids in a dedicated section

2016-01-19 Thread Neil Horman
On Tue, Jan 19, 2016 at 08:10:19AM -0800, Stephen Hemminger wrote: > On Tue, 19 Jan 2016 09:29:31 -0500 > Neil Horman wrote: > > > On Tue, Jan 19, 2016 at 08:30:40AM +0100, Thomas Monjalon wrote: > > > 2016-01-18 13:30, David Marchand: > > > > We could do something ? la modinfo, but let's keep

[dpdk-dev] [PATCH v4 7/8] virtio: add 1.0 support

2016-01-19 Thread Yuanhan Liu
On Tue, Jan 19, 2016 at 07:44:04AM +, Xie, Huawei wrote: > On 1/19/2016 1:53 PM, Yuanhan Liu wrote: > > On Mon, Jan 18, 2016 at 04:50:16PM +, Xie, Huawei wrote: > >> On 1/15/2016 12:34 PM, Yuanhan Liu wrote: > >>> -static void > >>> +static int > >>> virtio_negotiate_features(struct

[dpdk-dev] [PATCH 2/2] cxgbe: fix setting wrong device mtu

2016-01-19 Thread Rahul Lakkireddy
max_rx_pkt_len already includes ETHER_HDR_LEN and ETHER_CRC_LEN for the mtu. But, the firmware also adds ETHER_HDR_LEN and ETHER_CRC_LEN to the mtu specified. Fix by subtracting these values from the mtu before passing it to firmware. Fixes: 4b2eff452d2e ("cxgbe: enable jumbo frames")

[dpdk-dev] [PATCH 1/2] cxgbe: fix segfault due to incorrect size allocated for rss table

2016-01-19 Thread Rahul Lakkireddy
The size of each entry in the port's rss table is actually 2 bytes and not 1 byte. A segfault occurs when accessing part of port 0's rss table because it gets overwritten by subsequent port 1's part of the rss table. Fix by setting the size of each entry appropriately. Fixes: 92c8a63223e5

[dpdk-dev] [PATCH 0/2] cxgbe: Bug fixes for CXGBE PMD

2016-01-19 Thread Rahul Lakkireddy
Patch 1 fixes a segfault due to an incorrect size allocated for each entry in the rss table. Patch 2 fixes an issue with setting wrong device mtu. Rahul Lakkireddy (2): cxgbe: fix segfault due to incorrect size allocated for rss table cxgbe: fix setting wrong device mtu

[dpdk-dev] [PATCH v4 7/8] virtio: add 1.0 support

2016-01-19 Thread Yuanhan Liu
On Mon, Jan 18, 2016 at 04:50:16PM +, Xie, Huawei wrote: > On 1/15/2016 12:34 PM, Yuanhan Liu wrote: > > -static void > > +static int > > virtio_negotiate_features(struct virtio_hw *hw) > > { > > uint64_t host_features; > > @@ -949,6 +949,22 @@ virtio_negotiate_features(struct virtio_hw

[dpdk-dev] [PATCH v4 7/8] virtio: add 1.0 support

2016-01-19 Thread Yuanhan Liu
On Tue, Jan 19, 2016 at 02:48:39AM +, Xie, Huawei wrote: > On 1/19/2016 10:44 AM, Yuanhan Liu wrote: > > On Tue, Jan 19, 2016 at 01:51:30AM +, Xie, Huawei wrote: > >> On 1/19/2016 9:34 AM, Yuanhan Liu wrote: > >>> On Mon, Jan 18, 2016 at 05:07:51PM +, Xie, Huawei wrote: > .On

[dpdk-dev] [PATCH v2 10/10] pci: place all uio pci device ids in a dedicated section

2016-01-19 Thread Stephen Hemminger
On Tue, 19 Jan 2016 15:56:14 -0500 Neil Horman wrote: > On Tue, Jan 19, 2016 at 08:10:19AM -0800, Stephen Hemminger wrote: > > On Tue, 19 Jan 2016 09:29:31 -0500 > > Neil Horman wrote: > > > > > On Tue, Jan 19, 2016 at 08:30:40AM +0100, Thomas Monjalon wrote: > > > > 2016-01-18 13:30, David

[dpdk-dev] [RFC 0/3] Use common Linux tools to control DPDK ports

2016-01-19 Thread Panu Matilainen
On 01/19/2016 11:59 AM, Ferruh Yigit wrote: > On Mon, Jan 18, 2016 at 11:20:02AM -0500, Aaron Conole wrote: >> Ferruh Yigit writes: >>> This work is to make DPDK ports more visible and to enable using common >>> Linux tools to configure DPDK ports. >> >> This is a good goal. Only question - why

[dpdk-dev] Proposal for a big eal / ethdev cleanup

2016-01-19 Thread David Marchand
Jan, On Tue, Jan 19, 2016 at 11:29 AM, Jan Viktorin wrote: > On Mon, 18 Jan 2016 22:11:56 +0100 > David Marchand wrote: >> Ok, so what you propose is something like this ? > > I've expressed my basic understanding of this topic in the RFC patch set > yesterday (as you know). > >> >> - keep

[dpdk-dev] Proposal for a big eal / ethdev cleanup

2016-01-19 Thread Jan Viktorin
On Mon, 18 Jan 2016 22:11:56 +0100 David Marchand wrote: > Jan, > > I was waiting for some others feedbacks before going into the code. > Glad to see you already tried this. Of course... I think, it's better to have a particular code (if possible) to talk about ;). It is quite difficult to see

[dpdk-dev] [PATCH 12/12] doc: update release note for ixgbe base code update

2016-01-19 Thread Wenzhuo Lu
Update the release note. Also include the update for the last time of the ixgbe base code update. Signed-off-by: Wenzhuo Lu --- doc/guides/rel_notes/release_2_3.rst | 54 1 file changed, 54 insertions(+) diff --git a/doc/guides/rel_notes/release_2_3.rst

[dpdk-dev] [PATCH 11/12] ixgbe: support new devices and mac types

2016-01-19 Thread Wenzhuo Lu
Add the support for new devices and mac types. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_bypass_api.h| 1 + drivers/net/ixgbe/ixgbe_ethdev.c| 12 ++-- drivers/net/ixgbe/ixgbe_fdir.c | 10 +++--- drivers/net/ixgbe/ixgbe_pf.c

[dpdk-dev] [PATCH 10/12] ixgbe/base: use link instead of I2C combined abstraction

2016-01-19 Thread Wenzhuo Lu
It's more valuable to abstract the interface. As such, change the following method names: read_i2c_combined => read_link read_i2c_combined_unlocked => read_link_unlocked write_i2c_combined => write_link write_i2c_combined_unlocked => write_link_unlocked

[dpdk-dev] [PATCH 09/12] ixgbe/base: consolidate MDIO speed-setting

2016-01-19 Thread Wenzhuo Lu
The MDIO clock speed must be reconfigured after the MAC reset. The MDIO clock speed becomes invalid, therefore the driver reads invalid PHY register values. The driver now set the MDIO clock speed prior to initializing PHY ops and again after the MAC reset. As now the MDIO speed gets set in more

[dpdk-dev] [PATCH 08/12] ixgbe/base: remove duplicate setting for fdir no match drop

2016-01-19 Thread Wenzhuo Lu
Do not set FDIRCTRL.DROP_NO_MATCH in ixgbe_init_fdir_perfect_82599(), this bit is already set in ixgbe_set_fdir_drop_queue_82599() which makes more sense for drivers that call that function. This resolves an issue where packets were being dropped when switching to perfect filters mode. Setting

[dpdk-dev] [PATCH 07/12] ixgbe/base: support fuse for both x550em_x V1 and V2

2016-01-19 Thread Wenzhuo Lu
Only x550em_x V1 was supported before. Now V2 is supported. A mask for V1 and V2 is defined and used to support both. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/base/ixgbe_type.h | 2 +- drivers/net/ixgbe/base/ixgbe_x550.c | 19 +++ 2 files changed, 12 insertions(+), 9

[dpdk-dev] [PATCH 06/12] ixgbe/base: add definition of a register for mac SGMII busy

2016-01-19 Thread Wenzhuo Lu
The X550EM_a device provides the MAC_SGMII_BUSY register to indicate when slow SGMII register writes complete. Add definitions for the register. No definitions are provided for the individual bits under the theory that it is better to wait for everything to complete when needed rather than try to

[dpdk-dev] [PATCH 05/12] ixgbe/base: always turn PHY power on when requested

2016-01-19 Thread Wenzhuo Lu
Instead of not defining the callback for set_phy_power when manageability is enabled, put the check in the set_phy_power function so that only turning the power off is conditional on management, but not turning the PHY on. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/base/ixgbe_phy.c | 3

[dpdk-dev] [PATCH 04/12] ixgbe/base: set VF mac address only when acked by PF

2016-01-19 Thread Wenzhuo Lu
This patch resolves an issue where VF mac address is zeroed out in cases where the VF driver is loaded while the PF interface is down. The solution is to only set it when we get an ACK from the PF. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/base/ixgbe_vf.c | 4 +++- 1 file changed, 3

[dpdk-dev] [PATCH 03/12] ixgeb/base: use PHY token for X550EM_a

2016-01-19 Thread Wenzhuo Lu
Use the PHY token for PHY access on X550EM_a. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/base/ixgbe_x550.c | 114 drivers/net/ixgbe/base/ixgbe_x550.h | 2 + 2 files changed, 116 insertions(+) diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c

[dpdk-dev] [PATCH 02/12] ixgbe/base: add new devices and mac type

2016-01-19 Thread Wenzhuo Lu
Add new X550EM_a devices and their mac types, X550EM_a and X550EM_a_vf. Update the code to use the new devices and mac types. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/base/ixgbe_82599.c | 4 +- drivers/net/ixgbe/base/ixgbe_api.c| 23 + drivers/net/ixgbe/base/ixgbe_common.c

[dpdk-dev] [PATCH 01/12] ixgbe/base: update readme

2016-01-19 Thread Wenzhuo Lu
Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/base/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/base/README b/drivers/net/ixgbe/base/README index 5d66f86..caa2664 100644 --- a/drivers/net/ixgbe/base/README +++ b/drivers/net/ixgbe/base/README @@

[dpdk-dev] [PATCH 00/12] update ixgbe base driver

2016-01-19 Thread Wenzhuo Lu
*add new devices and mac type *use PHY token for X550EM_a *set VF mac address only when acked by PF *always turn PHY power on when requested *add definition of a register for mac SGMII busy *support fuse for both x550em_x V1 and V2 *remove duplicate setting for fdir no match drop *consolidate MDIO

[dpdk-dev] [PATCH v4 7/8] virtio: add 1.0 support

2016-01-19 Thread Yuanhan Liu
On Tue, Jan 19, 2016 at 01:51:30AM +, Xie, Huawei wrote: > On 1/19/2016 9:34 AM, Yuanhan Liu wrote: > > On Mon, Jan 18, 2016 at 05:07:51PM +, Xie, Huawei wrote: > >> .On 1/15/2016 12:34 PM, Yuanhan Liu wrote: > >>> Modern (v1.0) virtio pci device defines several pci capabilities. > >>>

[dpdk-dev] [PATCH 0/3] virtio: Add a new layer to abstract pci access method

2016-01-19 Thread Tetsuya Mukawa
On 2016/01/18 22:13, Tan, Jianfeng wrote: > Hi Tetsuya, > > On 1/18/2016 5:13 PM, Tetsuya Mukawa wrote: >> The patches abstract pci access method of virtio-net PMD. >> The patch should be on Yuanhan's below patch series. >> - [PATCH v4 0/8] virtio 1.0 enabling for virtio pmd driver >> >> >>

[dpdk-dev] [PATCH v2 1/1] vhost: fix leak of fds and mmaps

2016-01-19 Thread Rich Lane
On Sun, Jan 17, 2016 at 11:58 PM, Yuanhan Liu wrote: > On Sun, Jan 17, 2016 at 11:57:18AM -0800, Rich Lane wrote: > > The common vhost code only supported a single mmap per device. vhost-user > > worked around this by saving the address/length/fd of each mmap after > the end > > of the

[dpdk-dev] [RFC 0/3] Use common Linux tools to control DPDK ports

2016-01-19 Thread Ferruh Yigit
On Mon, Jan 18, 2016 at 11:20:02AM -0500, Aaron Conole wrote: > Ferruh Yigit writes: > > This work is to make DPDK ports more visible and to enable using common > > Linux tools to configure DPDK ports. > > This is a good goal. Only question - why use an additional kernel module > to do this? Is

[dpdk-dev] [PATCH v4 7/8] virtio: add 1.0 support

2016-01-19 Thread Yuanhan Liu
On Mon, Jan 18, 2016 at 05:07:51PM +, Xie, Huawei wrote: > .On 1/15/2016 12:34 PM, Yuanhan Liu wrote: > > Modern (v1.0) virtio pci device defines several pci capabilities. > > Each cap has a configure structure corresponding to it, and the > > cap.bar and cap.offset fields tell us where to

[dpdk-dev] [PATCH v2 10/10] pci: place all uio pci device ids in a dedicated section

2016-01-19 Thread Neil Horman
On Tue, Jan 19, 2016 at 08:30:40AM +0100, Thomas Monjalon wrote: > 2016-01-18 13:30, David Marchand: > > We could do something ? la modinfo, but let's keep it simple for now. > > > > With this, you can extract the devices that need to be bound to uio / vfio > > with tools like objdump : > > > >

[dpdk-dev] [PATCH] mk: Fix examples install

2016-01-19 Thread Thomas Monjalon
2016-01-08 12:03, Christian Ehrhardt: > Depending on non-doc targets being built before and the setting of DESTDIR > the copy of the examples dir being part of install-doc could in some cases > fail > with a non existant "$(DESTDIR)$(datadir)" target directory. > Add the conditional rte_mkdir for

[dpdk-dev] [PATCH v2 10/10] pci: place all uio pci device ids in a dedicated section

2016-01-19 Thread Thomas Monjalon
2016-01-18 13:30, David Marchand: > We could do something ? la modinfo, but let's keep it simple for now. > > With this, you can extract the devices that need to be bound to uio / vfio > with tools like objdump : > > $ objdump -j rte_pci_id_uio -s build/lib/librte_pmd_fm10k.so > > Contents of

[dpdk-dev] [PATCH v4 7/8] virtio: add 1.0 support

2016-01-19 Thread Xie, Huawei
On 1/19/2016 3:44 PM, Xie, Huawei wrote: > On 1/19/2016 1:53 PM, Yuanhan Liu wrote: >> On Mon, Jan 18, 2016 at 04:50:16PM +, Xie, Huawei wrote: >>> On 1/15/2016 12:34 PM, Yuanhan Liu wrote: -static void +static int virtio_negotiate_features(struct virtio_hw *hw) {

[dpdk-dev] [PATCH v4 7/8] virtio: add 1.0 support

2016-01-19 Thread Xie, Huawei
On 1/19/2016 1:53 PM, Yuanhan Liu wrote: > On Mon, Jan 18, 2016 at 04:50:16PM +, Xie, Huawei wrote: >> On 1/15/2016 12:34 PM, Yuanhan Liu wrote: >>> -static void >>> +static int >>> virtio_negotiate_features(struct virtio_hw *hw) >>> { >>> uint64_t host_features; >>> @@ -949,6 +949,22 @@

[dpdk-dev] [PATCH v4 7/8] virtio: add 1.0 support

2016-01-19 Thread Xie, Huawei
On 1/19/2016 10:44 AM, Yuanhan Liu wrote: > On Tue, Jan 19, 2016 at 01:51:30AM +, Xie, Huawei wrote: >> On 1/19/2016 9:34 AM, Yuanhan Liu wrote: >>> On Mon, Jan 18, 2016 at 05:07:51PM +, Xie, Huawei wrote: .On 1/15/2016 12:34 PM, Yuanhan Liu wrote: > Modern (v1.0) virtio pci

[dpdk-dev] [PATCH 3/3] virtio: Add a new layer to abstract pci access method

2016-01-19 Thread Xie, Huawei
On 1/18/2016 9:44 PM, Yuanhan Liu wrote: > On Mon, Jan 18, 2016 at 06:13:09PM +0900, Tetsuya Mukawa wrote: >> +struct virtio_pci_access_ops { >> +uint8_t (*legacy_read8)(struct virtio_hw *hw, uint8_t *addr); >> +uint16_t (*legacy_read16)(struct virtio_hw *hw, uint16_t *addr); >> +

[dpdk-dev] [PATCH v2 0/5] Optimize memcpy for AVX512 platforms

2016-01-19 Thread Wang, Zhihong
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, January 19, 2016 4:06 AM > To: Wang, Zhihong > Cc: dev at dpdk.org; Ananyev, Konstantin ; > Richardson, Bruce ; Xie, Huawei > > Subject: Re: [PATCH v2 0/5] Optimize memcpy for AVX512

[dpdk-dev] [PATCH] i40e: fix vlan filtering

2016-01-19 Thread Zhang, Helin
Hi Julien Nice of seeing your patch for this issue, which has been in our issue list. I will ask a validation here for your patch. My comments inlined. Thank you very much! Regards, Helin -Original Message- From: Julien Meunier [mailto:julien.meun...@6wind.com] Sent: Tuesday, January