[dpdk-dev] [PATCH v4] doc: change sphinx theme and add logos

2015-11-01 Thread John McNamara
Change the Sphinx default theme from "alabaster" to the ReadTheDocs theme. See for example: http://dpdk.readthedocs.org/en/latest/ This looks better for technical documentation and in particular it has a 80 char wide verbatim block rendering. Also add logos for the html and latex docs.

[dpdk-dev] [PATCH] i40e: fix wrong alignment for the number of HW descriptors

2015-11-01 Thread Thomas Monjalon
2015-10-28 09:16, Remy Horton: > > On 30/09/2015 20:04, Konstantin Ananyev wrote: > > Signed-off-by: Konstantin Ananyev > > Acked-by: Remy Horton Applied, thanks

[dpdk-dev] [PATCH] mk: fix ABI versioning compile error for combined shared library

2015-11-01 Thread Ferruh Yigit
Fixes following error: LD libdpdk.so /usr/bin/ld: /root/dpdk/build/lib/libdpdk.so: version node not found for symbol @DPDK_x.y Defines version symbols in a fixed path libdpdk.map file and this value hardcoded into makefile Signed-off-by: Ferruh Yigit --- lib/libdpdk.map| 12

[dpdk-dev] [PATCH v6 3/5] ethdev: redesign link speed config API

2015-11-01 Thread Thomas Monjalon
2015-10-25 22:59, Marc Sune: > This patch redesigns the API to set the link speed/s configure > for an ethernet port. Specifically: > > - it allows to define a set of advertised speeds for > auto-negociation. > - it allows to disable link auto-negociation (single fixed speed). > - default:

[dpdk-dev] [PATCH v6 1/5] ethdev: Added ETH_SPEED_CAP bitmap for ports

2015-11-01 Thread Thomas Monjalon
2015-10-25 22:59, Marc Sune: > +#define ETH_SPEED_CAP_NOT_PHY(0) /*< No phy media > */ > +#define ETH_SPEED_CAP_10M_HD (1 << 0) /*< 10 Mbps half-duplex> */ > +#define ETH_SPEED_CAP_10M_FD (1 << 1) /*< 10 Mbps full-duplex> */ > +#define ETH_SPEED_CAP_100M_HD(1 << 2) /*< 100 Mbps

[dpdk-dev] [PATCH v7 02/28] librte_ether: add fields from rte_pci_driver to rte_eth_dev_data

2015-11-01 Thread Thomas Monjalon
2015-10-30 15:08, Bernard Iremonger: > +/** Device needs PCI BAR mapping (done with either IGB_UIO or VFIO) */ > +#define RTE_ETH_DEV_DRV_NEED_MAPPING RTE_PCI_DRV_NEED_MAPPING > +/** Device needs to be unbound even if no module is provided */ > +#define RTE_ETH_DEV_DRV_FORCE_UNBIND

[dpdk-dev] [PATCH v7 03/28] librte_ether: add function rte_eth_copy_dev_info

2015-11-01 Thread Thomas Monjalon
2015-10-30 15:08, Bernard Iremonger: > +/** > + * Copy pci device info to the Ethernet device data. [...] > +extern void rte_eth_copy_dev_info(struct rte_eth_dev *eth_dev, struct > rte_pci_device *pci_dev); This function should have the word "pci" in its name.

[dpdk-dev] [PATCH v7 02/28] librte_ether: add fields from rte_pci_driver to rte_eth_dev_data

2015-11-01 Thread Thomas Monjalon
2015-10-30 15:08, Bernard Iremonger: > add dev_flags to rte_eth_dev_data, add macros for dev_flags. > add kdrv to rte_eth_dev_data. > add numa_node to rte_eth_dev_data. > add drv_name to rte_eth_dev_data. A commit message should explain why things are done. > + uint32_t dev_flags; /**< Flags

[dpdk-dev] [PATCH v3] doc: remove dejavu font from doc build

2015-11-01 Thread John McNamara
Remove requirement for occasionally hard to find/install DejaVuSansMono font. It isn't gnerally required anyway. The default mono font is sufficient. Signed-off-by: John McNamara Acked-by: Harry van Haaren --- doc/guides/conf.py| 1 -

[dpdk-dev] [PATCH v2 0/2] Fix two issues in lpm

2015-11-01 Thread Thomas Monjalon
2015-10-30 21:14, Jijiang Liu: > Jijiang Liu (2): > fix an issue of condition check in delete_depth_small(). > fix an initialization issue of valid_group in the delete_depth_small() There is an authorship issue. It seems Jijiang is not the author of these patches but the From: line is

[dpdk-dev] [PATCH v2] doc: change sphinx theme to the read the docs theme

2015-11-01 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Sunday, November 1, 2015 6:37 PM > To: Mcnamara, John > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] doc: change sphinx theme to the read > the docs theme > > 2015-11-01 16:41,

[dpdk-dev] [PATCH v2] doc: remove dejavu font from doc build

2015-11-01 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Sunday, November 1, 2015 6:32 PM > To: Mcnamara, John > Cc: dev at dpdk.org > Subject: Re: [PATCH v2] doc: remove dejavu font from doc build > > 2015-11-01 16:35, Mcnamara, John: > > > -Original

[dpdk-dev] [PATCH v2] doc: change sphinx theme to the read the docs theme

2015-11-01 Thread Thomas Monjalon
2015-11-01 16:41, Mcnamara, John: > I'll submit a V3 with a logo for the html and pdf docs. > > Note, the SVG logos are quite big (2 are required) and converting them to pdf > for the Latex pdf docs requires another addition to the makefiles. This is a > case where the patch would be smaller

[dpdk-dev] [PATCH v2] doc: remove dejavu font from doc build

2015-11-01 Thread Thomas Monjalon
2015-11-01 16:35, Mcnamara, John: > > -Original Message- > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > Sent: Sunday, November 1, 2015 3:00 PM > > To: Mcnamara, John > > Cc: dev at dpdk.org > > Subject: Re: [PATCH v2] doc: remove dejavu font from doc build > > > > Why

[dpdk-dev] [PATCH 1/2] lpm: add strict if control etc. on version 1.2.3

2015-11-01 Thread Thomas Monjalon
Hi, This patch is not applicable. Please check how to submit a patch here: http://dpdk.org/dev#send 2015-10-23 15:38, mablexidana: > hi: > This is test on dpdk version 1.2.3. > Fixes: 2a2174801fa4 ("fix lpm bugs add strict if control,do not let > tbl24 process run into

[dpdk-dev] [PATCH v6 3/4] bond mode 4: allow external state machine

2015-11-01 Thread Thomas Monjalon
2015-10-19 08:36, Eric Kinzie: > Size of struct rte_eth_bond_8023ad_conf changed. Increment LIBABIVER > and version bond_mode_8023ad_setup and bond_mode_8023ad_conf_get > functions. [...] > +VERSION_SYMBOL(bond_mode_8023ad_setup, _v20, 2.0); [...] >

[dpdk-dev] [PATCH v7 0/9] Dynamic RSS Configuration for Bonding

2015-11-01 Thread Thomas Monjalon
> Tomasz Kulasek (9): > bonding: rss dynamic configuration > null: fix segfault when null_pmd added to bonding > null: extend number of virtual queues > null: export eth_dev_null_create > null: virtual dynamic rss configuration > test: dynamic rss configuration > bonding: per queue

[dpdk-dev] [PATCH] doc: turn off permalink symbols in sphinx html docs

2015-11-01 Thread John McNamara
Turn off the permalink symbol in the Sphinx generated html docs. This is a distracting mouseover when reading the docs and links to sections can still be obtained from the doc index. Signed-off-by: John McNamara --- doc/guides/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git

[dpdk-dev] [PATCH v2] doc: change sphinx theme to the read the docs theme

2015-11-01 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, October 26, 2015 2:34 PM > To: Mcnamara, John > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] doc: change sphinx theme to the read > the docs theme > > 2015-10-21 10:39, John

[dpdk-dev] [PATCH v2] doc: remove dejavu font from doc build

2015-11-01 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Sunday, November 1, 2015 3:00 PM > To: Mcnamara, John > Cc: dev at dpdk.org > Subject: Re: [PATCH v2] doc: remove dejavu font from doc build > > Why not keep minimum requirements? (TexLive-core and

[dpdk-dev] [PATCH v4 0/4] fm10k: add VMDQ support

2015-11-01 Thread Thomas Monjalon
2015-10-31 10:44, Shaopeng He: > This patch series adds VMDQ support for fm10k. > It includes the functions to configure VMDQ mode and > add MAC address for each VMDQ queue pool. > It also includes logic to do sanity check for > multi-queue settings. Applied, thanks

[dpdk-dev] [PATCH v2] doc: remove dejavu font from doc build

2015-11-01 Thread Thomas Monjalon
2015-11-01 14:13, John McNamara: > Remove requirement for occasionally hard to find/install > DejaVuSansMono font. It isn't gnerally required anyway. > The default mono font is sufficient. > > Signed-off-by: John McNamara > Acked-by: Harry van Haaren [...] > ---

[dpdk-dev] [PATCH v3 1/1] vhost_xen: fix compile error in main.c

2015-11-01 Thread Bernard Iremonger
/examples/vhost_xen/main.c:659:61: error: ?as no member named ? ata, rte_pktmbuf_data_len(buff)); rte_memcpy((void *)(uintptr_t)buff_addr, (const void*)buff->data, rte_pktmbuf_data_len(buff)); make[1]: *** [main.o] Error 1^ make[1]: *** [main.o] Error 1

[dpdk-dev] [PATCH v3 0/1] vhost_xen: fix compile error

2015-11-01 Thread Bernard Iremonger
changes in v3: rebase. add error details to patch description changes in v2: update release notes Bernard Iremonger (1): vhost_xen: fix compile error in main.c doc/guides/rel_notes/release_2_2.rst | 3 +++ examples/vhost_xen/main.c| 8 +--- 2 files changed, 8 insertions(+), 3

[dpdk-dev] [PATCH v3 1/3] ethdev: extend struct to support flow director in VFs

2015-11-01 Thread Thomas Monjalon
2015-11-01 14:33, Wu, Jingjing: > Hi, Thomas > > > > -Original Message- > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > Sent: Sunday, November 1, 2015 10:28 PM > > To: Wu, Jingjing > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v3 1/3] ethdev: extend

[dpdk-dev] [PATCH v3 3/3] testpmd: extend commands

2015-11-01 Thread Thomas Monjalon
2015-11-01 00:24, Jingjing Wu: > This patch extends commands to support filtering in VFs of flow director. [...] > --- a/app/test-pmd/cmdline.c > +++ b/app/test-pmd/cmdline.c > - " (drop|fwd) queue (queue_id) fd_id (fd_id_value)\n" > + " (drop|fwd)

[dpdk-dev] [PATCH v3 2/3] i40e: extend flow diretcor to support filtering in VFs

2015-11-01 Thread Thomas Monjalon
2015-11-01 00:24, Jingjing Wu: > This patch extends flow director to filtering in VFs. > It also corrects to disable interrupt on queues when stop device. It should be in a separate patch.

[dpdk-dev] [PATCH v3 1/3] ethdev: extend struct to support flow director in VFs

2015-11-01 Thread Thomas Monjalon
2015-11-01 00:24, Jingjing Wu: > This patch extends struct rte_eth_fdir_flow_ext to support flow > director in VFs. [...] > --- a/lib/librte_ether/rte_eth_ctrl.h > +++ b/lib/librte_ether/rte_eth_ctrl.h > @@ -426,6 +426,8 @@ struct rte_eth_fdir_flow_ext { > uint16_t vlan_tci; > uint8_t

[dpdk-dev] [PATCH v3 0/3] extend flow director to support VF filtering in i40e driver

2015-11-01 Thread Thomas Monjalon
2015-11-01 00:24, Jingjing Wu: > This patch set extends flow director to VF filtering in i40e driver. > > v2 change: > - rework the doc, including release notes and testpmd guide > > v3 change: > - rebase doc update to the same commit with code change > > Jingjing Wu (3): > ethdev: extend

[dpdk-dev] mbuf cleanup in i40e/ixgbe

2015-11-01 Thread Evgeniy Marchenko
Hello I'm checking mbuf consumption issues in TX path and it looks like i40e and ixgbe drivers consume all mbufs in "full featured" path and free them one-by- one only after TX queue wraps. Upstream drivers are more conservative with memory consumption and free up to 256 SKBs on every

[dpdk-dev] [PATCH v3 0/9] enable DCB feature on Intel XL710/X710 NIC

2015-11-01 Thread Thomas Monjalon
2015-10-31 23:57, Jingjing Wu: > The patch set enables DCB feature on Intel XL710/X710 NICs, including: > - Receive queue classification based on traffic class > - Round Robin ETS schedule (rx and tx). > - Priority flow control > To make the testpmd and ethdev lib more generic on DCB

[dpdk-dev] [PATCH v3 1/3] ethdev: extend struct to support flow director in VFs

2015-11-01 Thread Wu, Jingjing
Hi, Thomas > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Sunday, November 1, 2015 10:28 PM > To: Wu, Jingjing > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 1/3] ethdev: extend struct to support flow > director in VFs > >

[dpdk-dev] [PATCH v2] doc: remove dejavu font from doc build

2015-11-01 Thread John McNamara
Remove requirement for occasionally hard to find/install DejaVuSansMono font. It isn't gnerally required anyway. The default mono font is sufficient. Signed-off-by: John McNamara Acked-by: Harry van Haaren --- doc/guides/conf.py| 1 -

[dpdk-dev] [PATCH] vhost-user: enable virtio 1.0

2015-11-01 Thread Marcel Apfelbaum
On 11/01/2015 11:53 AM, Thomas Monjalon wrote: > 2015-11-01 11:00, Marcel Apfelbaum: >> On 10/30/2015 07:48 PM, Thomas Monjalon wrote: >>> 2015-10-18 10:04, Michael S. Tsirkin: This will require more work then as 1.0 is a different endian-ness from 0.9. It's up to you guys to decide

[dpdk-dev] |ERROR| pw 8279-8293 maintainers: claim responsibility for ARMv7

2015-11-01 Thread Liu, Yong
Hi Viktorin, I think the error is not related to your patch. Let me check it first. > -Original Message- > From: Jan Viktorin [mailto:viktorin at rehivetech.com] > Sent: Saturday, October 31, 2015 4:38 PM > To: dev at dpdk.org > Cc: Cao, Waterman; Liu, Yong; Mo, YufengX; Hunt, David;

[dpdk-dev] [PATCH v2 0/3] Add link status notification support to Mellanox PMDs

2015-11-01 Thread Thomas Monjalon
2015-10-30 19:57, Adrien Mazarguil: > Mellanox PMDs (mlx4 and mlx5) support link status notification with > libibverbs through a file descriptor, in a manner reminiscent of UIO/VFIO. > > It still requires a new "external" interrupt handler type since contrary > to other types, this file

[dpdk-dev] [PATCH] vhost-user: enable virtio 1.0

2015-11-01 Thread Marcel Apfelbaum
On 10/30/2015 07:48 PM, Thomas Monjalon wrote: > 2015-10-18 10:04, Michael S. Tsirkin: >> On Fri, Oct 16, 2015 at 02:52:30PM +0100, Bruce Richardson wrote: >>> On Thu, Oct 15, 2015 at 04:18:59PM +0300, Michael S. Tsirkin wrote: On Thu, Oct 15, 2015 at 02:08:39PM +0300, Marcel Apfelbaum wrote:

[dpdk-dev] [PATCH] vhost-user: enable virtio 1.0

2015-11-01 Thread Thomas Monjalon
2015-11-01 11:00, Marcel Apfelbaum: > On 10/30/2015 07:48 PM, Thomas Monjalon wrote: > > 2015-10-18 10:04, Michael S. Tsirkin: > >> This will require more work then as 1.0 is a different > >> endian-ness from 0.9. It's up to you guys to decide > >> whether correct BE support is now a requirement

[dpdk-dev] Hyper-V Driver

2015-11-01 Thread Thomas Monjalon
2015-10-30 18:57, John McDowall: > 1. Is it likely we are going to see Hyper-V support in 2.2? No, sorry, no Hyper-V in 2.2. I heard that it is not ready enough yet.

[dpdk-dev] Reshuffling of rte_mbuf structure.

2015-11-01 Thread Arnon Warshavsky
My 2 cents, This was brought up in the recent user space summit, and it seems that indeed there is no one cache lines arrangement that fits all. OTOH multiple compile time options to suffice all flavors, would make it unpleasant to read maintain test and debug. (I think there was quiet a

[dpdk-dev] [PATCH v3 3/3] testpmd: extend commands

2015-11-01 Thread Jingjing Wu
This patch extends commands to support filtering in VFs of flow director. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 41 ++--- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 15 ++- 2 files changed, 46 insertions(+), 10

[dpdk-dev] [PATCH v3 2/3] i40e: extend flow diretcor to support filtering in VFs

2015-11-01 Thread Jingjing Wu
This patch extends flow director to filtering in VFs. It also corrects to disable interrupt on queues when stop device. Signed-off-by: Jingjing Wu --- doc/guides/rel_notes/release_2_2.rst | 2 ++ drivers/net/i40e/i40e_ethdev.c | 4 ++-- drivers/net/i40e/i40e_fdir.c | 15

[dpdk-dev] [PATCH v3 1/3] ethdev: extend struct to support flow director in VFs

2015-11-01 Thread Jingjing Wu
This patch extends struct rte_eth_fdir_flow_ext to support flow director in VFs. Signed-off-by: Jingjing Wu --- doc/guides/rel_notes/deprecation.rst | 4 doc/guides/rel_notes/release_2_2.rst | 3 +++ lib/librte_ether/rte_eth_ctrl.h | 2 ++ 3 files changed, 5 insertions(+), 4

[dpdk-dev] [PATCH v3 0/3] extend flow director to support VF filtering in i40e driver

2015-11-01 Thread Jingjing Wu
This patch set extends flow director to VF filtering in i40e driver. v2 change: - rework the doc, including release notes and testpmd guide v3 change: - rebase doc update to the same commit with code change Jingjing Wu (3): ethdev: extend struct to support flow director in VFs i40e:

[dpdk-dev] [PATCH v3 9/9] app/testpmd: add command to display DCB info

2015-11-01 Thread Jingjing Wu
This patch adds a command to display DCB info in ports. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 15 ++ app/test-pmd/config.c | 43 + app/test-pmd/testpmd.h | 1 +

[dpdk-dev] [PATCH v3 8/9] app/testpmd: set up DCB forwarding based on traffic class

2015-11-01 Thread Jingjing Wu
This patch changes the testpmd DCB forwarding stream to make it based on traffic class. It also fixes some coding style issues. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 39 +++- app/test-pmd/config.c | 159 +

[dpdk-dev] [PATCH v3 7/9] i40e: get_dcb_info ops implement

2015-11-01 Thread Jingjing Wu
This patch implements the get_dcb_info ops in i40e driver. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 42 ++ 1 file changed, 42 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index

[dpdk-dev] [PATCH v3 6/9] ixgbe: get_dcb_info ops implement

2015-11-01 Thread Jingjing Wu
This patch implements the get_dcb_info ops in ixgbe driver. Signed-off-by: Jingjing Wu --- drivers/net/ixgbe/ixgbe_ethdev.c | 79 1 file changed, 79 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index

[dpdk-dev] [PATCH v3 5/9] ethdev: new API to get dcb related information

2015-11-01 Thread Jingjing Wu
This patch adds one new API to get dcb related info. rte_eth_dev_get_dcb_info Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_ethdev.c | 18 lib/librte_ether/rte_ethdev.h | 54 ++ lib/librte_ether/rte_ether_version.map | 7

[dpdk-dev] [PATCH v3 4/9] ixgbe: enable DCB+RSS multi-queue mode

2015-11-01 Thread Jingjing Wu
This patch enables DCB+RSS multi-queue mode, and also fix some coding style. Signed-off-by: Jingjing Wu --- drivers/net/ixgbe/ixgbe_rxtx.c | 48 +- 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c

[dpdk-dev] [PATCH v3 3/9] i40e: enable DCB feature on FVL

2015-11-01 Thread Jingjing Wu
This patch enables DCB feature on Intel XL710/X710 NICs. It includes: Receive queue classification based on traffic class Round Robin ETS schedule (rx and tx) Priority flow control Signed-off-by: Jingjing Wu --- doc/guides/rel_notes/release_2_2.rst | 2 + drivers/net/i40e/i40e_ethdev.c

[dpdk-dev] [PATCH v3 2/9] ethdev: move the multi-queue checking to specific drivers

2015-11-01 Thread Jingjing Wu
Differnet NIC has its specific constraint on the multi-queue configuration, so move the checking from ethdev lib to drivers. Signed-off-by: Jingjing Wu --- drivers/net/e1000/igb_ethdev.c | 84 - drivers/net/ixgbe/ixgbe_ethdev.c | 171 +

[dpdk-dev] [PATCH v3 1/9] ethdev: rename dcb_queue to dcb_tc in dcb config struct

2015-11-01 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- app/test-pmd/testpmd.c | 8 doc/guides/rel_notes/release_2_2.rst | 4 drivers/net/ixgbe/ixgbe_rxtx.c | 10 +- examples/vmdq_dcb/main.c | 4 ++-- lib/librte_ether/rte_ethdev.h| 14 +++--- 5

[dpdk-dev] [PATCH v3 0/9] enable DCB feature on Intel XL710/X710 NIC

2015-11-01 Thread Jingjing Wu
The patch set enables DCB feature on Intel XL710/X710 NICs, including: - Receive queue classification based on traffic class - Round Robin ETS schedule (rx and tx). - Priority flow control To make the testpmd and ethdev lib more generic on DCB feature, this patch set also - adds a new API