[dpdk-dev] [PATCH 02/10] examples/test-cxgbe-filters: add example to test cxgbe fdir support

2016-02-25 Thread Rahul Lakkireddy
Hi Bruce, On Wednesday, February 02/24/16, 2016 at 06:40:56 -0800, Bruce Richardson wrote: > On Wed, Feb 03, 2016 at 02:02:23PM +0530, Rahul Lakkireddy wrote: > > Add a new test_cxgbe_filters command line example to test support for > > Chelsio T5 hardware filtering. Shows how to pass the Chelsio

[dpdk-dev] [PATCH 01/10] ethdev: add a generic flow and new behavior switch to fdir

2016-02-25 Thread Rahul Lakkireddy
Hi Thomas, On Wednesday, February 02/24/16, 2016 at 07:02:42 -0800, Thomas Monjalon wrote: > 2016-02-24 14:43, Bruce Richardson: > > On Wed, Feb 03, 2016 at 02:02:22PM +0530, Rahul Lakkireddy wrote: > > > Add a new raw packet flow that allows specifying generic flow input. > > > > > > Add the abi

[dpdk-dev] [PATCH] enic: fix dma addr of outgoing packets

2016-02-25 Thread Yoann Desmouceaux
The enic PMD driver send function uses a constant offset instead of relying on the data_off in the mbuf to find the start of the packet. Signed-off-by: Yoann Desmouceaux --- drivers/net/enic/enic_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/enic/enic_mai

[dpdk-dev] [PATCH v2] i40e: add VEB switching support for i40e

2016-02-25 Thread Wu, Jingjing
> -Original Message- > From: Tao, Zhe > Sent: Tuesday, February 23, 2016 4:11 PM > To: dev at dpdk.org > Cc: Tao, Zhe; Wu, Jingjing > Subject: [dpdk-dev][PATCH v2] i40e: add VEB switching support for i40e > > Signed-off-by: Zhe Tao > > VEB switching feature for i40e is used to enable t

[dpdk-dev] [PATCH 1/2 v2] i40e: support floating VEB config

2016-02-25 Thread Wu, Jingjing
> @@ -68,6 +68,7 @@ struct internal_config { > volatile unsigned xen_dom0_support; /**< support app running on > Xen Dom0*/ > volatile unsigned no_pci; /**< true to disable PCI */ > volatile unsigned no_hpet;/**< true to disable HPET */ > + volatile unsigned fl

[dpdk-dev] [PATCH 2/2 v2] i40e: Add floating VEB support in i40e

2016-02-25 Thread Wu, Jingjing
> if (ret != I40E_SUCCESS) { > PMD_DRV_LOG(ERR, "Add veb failed, aq_err: %d", @@ - > 3688,20 +3702,21 @@ i40e_vsi_release(struct i40e_vsi *vsi) > i40e_veb_release(vsi->veb); > } > > + if (vsi->floating_veb) { > + TAILQ_FOREACH(vsi_list, &vsi-

[dpdk-dev] [PATCH v2] ixgbe: fix link down issue on x550em_x

2016-02-25 Thread Lu, Wenzhuo
Hi Bruce, > -Original Message- > From: Richardson, Bruce > Sent: Wednesday, February 24, 2016 10:26 PM > To: He, Shaopeng > Cc: Lu, Wenzhuo; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] ixgbe: fix link down issue on x550em_x > > On Thu, Feb 04, 2016 at 06:21:04AM +, He, Shaope

[dpdk-dev] [PATCH v2] ixgbe: fix link down issue on x550em_x

2016-02-25 Thread Lu, Wenzhuo
Hi Bruce, > -Original Message- > From: Richardson, Bruce > Sent: Wednesday, February 24, 2016 10:27 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] ixgbe: fix link down issue on x550em_x > > On Mon, Feb 01, 2016 at 04:42:39PM +0800, Wenzhuo Lu wrote: > > No

[dpdk-dev] [PATCH v5 3/4] driver/i40e: implement tunnel filter for IP in GRE

2016-02-25 Thread Wu, Jingjing
> @@ -5833,16 +5839,22 @@ i40e_dev_tunnel_filter_set(struct i40e_pf *pf, > (void)rte_memcpy(&pfilter->inner_mac, &tunnel_filter->inner_mac, > ETHER_ADDR_LEN); > > - pfilter->inner_vlan = tunnel_filter->inner_vlan; > + pfilter->inner_vlan = rte_cpu_to_le_16(tunn

[dpdk-dev] [PATCH] doc: Malicious Driver Detection not supported by ixgbe

2016-02-25 Thread Lu, Wenzhuo
Hi Stephen, > -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Thursday, February 25, 2016 1:04 AM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] doc: Malicious Driver Detection not supported > by ixgbe > > On Wed, 24

[dpdk-dev] [PATCH v5 1/4] lib/ether: optimize the'rte_eth_tunnel_filter_conf' structure

2016-02-25 Thread Wu, Jingjing
> -Original Message- > From: Sun, Xutao > Sent: Friday, February 19, 2016 3:32 PM > To: dev at dpdk.org > Cc: Zhang, Helin; Wu, Jingjing; De Lara Guarch, Pablo; Sun, Xutao; Liu, > Jijiang > Subject: [PATCH v5 1/4] lib/ether: optimize the'rte_eth_tunnel_filter_conf' > structure > > Chang

[dpdk-dev] [PATCH 01/10] ethdev: add a generic flow and new behavior switch to fdir

2016-02-25 Thread Wu, Jingjing
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Rahul Lakkireddy > Sent: Wednesday, February 03, 2016 4:32 PM > To: dev at dpdk.org > Cc: Kumar Sanghvi; Nirranjan Kirubaharan > Subject: [dpdk-dev] [PATCH 01/10] ethdev: add a generic flow and new > behavior s

[dpdk-dev] [PATCH RFC 4/4] doc: add note about rte_vhost_enqueue_burst thread safety.

2016-02-25 Thread Xie, Huawei
On 2/24/2016 1:07 PM, Ilya Maximets wrote: > On 23.02.2016 08:56, Xie, Huawei wrote: >> On 2/22/2016 6:16 PM, Thomas Monjalon wrote: >>> 2016-02-22 02:07, Xie, Huawei: On 2/19/2016 5:05 PM, Ilya Maximets wrote: > On 19.02.2016 11:36, Xie, Huawei wrote: >> On 2/19/2016 3:10 PM, Yuanhan

[dpdk-dev] [PATCH 0/2 v3] i40e: Add floating VEB support for i40e

2016-02-25 Thread Zhe Tao
This patch-set add the support for floating VEB in i40e. All the VFs VSIs can decide whether to connect to the legacy VEB/VEPA or the floating VEB. When connect to the floating VEB a new floating VEB is created. Now all the VFs need to connect to floating VEB or legacy VEB, cannot connect to bot

[dpdk-dev] [PATCH 1/2 v3] i40e: support floating VEB config

2016-02-25 Thread Zhe Tao
Add the new floating related argument option in the EAL. Using this parameter, all the samples can decide whether to use legacy VEB/VEPA, or floating VEB. Even the floating argument is provided in the EAL, but this floating feature are only support for FVL so far. Signed-off-by: Zhe Tao --- doc

[dpdk-dev] [PATCH 2/2 v3] i40e: Add floating VEB support in i40e

2016-02-25 Thread Zhe Tao
This patch add the support for floating VEB in i40e. All the VFs VSIs can decide whether to connect to the legacy VEB/VEPA or the floating VEB. When connect to the floating VEB a new floating VEB is created. Now all the VFs need to connect to floating VEB or legacy VEB, cannot connect to both of

[dpdk-dev] [PATCH v2 07/12] pmd/ixgbe: add dev_ptype_info_get implementation

2016-02-25 Thread Tan, Jianfeng
Hi Konstantin, On 1/15/2016 10:50 PM, Ananyev, Konstantin wrote: > >> -Original Message- >> From: Tan, Jianfeng >> Sent: Friday, January 15, 2016 5:46 AM >> To: dev at dpdk.org >> Cc: Zhang, Helin; Ananyev, Konstantin; Tan, Jianfeng >> Subject: [PATCH v2 07/12] pmd/ixgbe: add dev_ptype_inf

[dpdk-dev] [PATCH v2 01/12] ethdev: add API to query packet type filling info

2016-02-25 Thread Tan, Jianfeng
Hi Konstantin, On 1/15/2016 11:03 PM, Ananyev, Konstantin wrote: > >> -Original Message- >> From: Tan, Jianfeng >> Sent: Friday, January 15, 2016 5:46 AM >> To: dev at dpdk.org >> Cc: Zhang, Helin; Ananyev, Konstantin; Tan, Jianfeng >> Subject: [PATCH v2 01/12] ethdev: add API to query pac

[dpdk-dev] [PATCH v2 1/3] i40e: enable DCB in VMDQ VSIs

2016-02-25 Thread Wu, Jingjing
> > + /* 4 bits per TC, 4th bit is reserved */ > > + veb->bw_info.bw_ets_max[i] = > > + (uint8_t)((bw_max >> (i * I40E_4_BIT_WIDTH)) & > > + I40E_3_BIT_MASK); > Use RTE_LEN2MASK() to replace I40E_3_BIT_MASK. OK. > > > +

[dpdk-dev] [PATCH v3 0/3] extend vmdq_dcb sample for X710 supporting

2016-02-25 Thread Jingjing Wu
Currently, the example vmdq_dcb only works on Intel(R) 82599 NICs. This patchset extended this sample to make it works both on Intel(R) 82599 and X710/XL710 NICs. This patch set also enabled DCB VMDQ mode in i40e driver and added unsupported mode checking in ixgbe driver. v2 changes: - commit log

[dpdk-dev] [PATCH v3 1/3] i40e: enable DCB in VMDQ VSIs

2016-02-25 Thread Jingjing Wu
Previously, DCB(Data Center Bridging) is only enabled on PF, queue mapping and BW configuration is only done on PF. This patch enabled DCB for VMDQ VSIs(Virtual Station Interfaces) by following steps: 1. Take BW and ETS(Enhanced Transmission Selection) configuration on VEB(Virtual Ethernet B

[dpdk-dev] [PATCH v3 2/3] ixgbe: disallow unsupported RX mode

2016-02-25 Thread Jingjing Wu
The multi queue mode ETH_MQ_RX_VMDQ_DCB_RSS is not supported in ixgbe driver. This patch added the checking. Signed-off-by: Jingjing Wu --- drivers/net/ixgbe/ixgbe_ethdev.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.

[dpdk-dev] [PATCH v3 3/3] examples/vmdq_dcb: extend sample for X710 supporting

2016-02-25 Thread Jingjing Wu
Currently, the example vmdq_dcb only works on Intel(R) 82599 NICs. This patch extended this sample to make it work both on Intel(R) 82599 and X710/XL710 NICs by following changes: 1. add VMDQ base queue checking to avoid forwarding on PF queues. 2. assign each VMDQ pools with MAC address. 3.

[dpdk-dev] [PATCH 00/12] extend flow director's fields in i40e driver

2016-02-25 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Wednesday, February 24, 2016 7:45 PM > To: Wu, Jingjing > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 00/12] extend flow director's fields in i40e > driver > > On Tue, Jan 26,

[dpdk-dev] [PATCH v9 0/2] Add VHOST PMD

2016-02-25 Thread Qiu, Michael
On 2/24/2016 1:10 PM, Tetsuya Mukawa wrote: > On 2016/02/24 11:45, Qiu, Michael wrote: >> Hi, Tetsuya >> >> When I applied your v6 patch, I could reach 9.5Mpps with 64B packet. >> >> But when apply v9 only 8.4 Mpps, could you figure out why has >> performance drop? > Hi Michael, > > Thanks for che

[dpdk-dev] [PATCH] vhost: broadcast RARP pkt by injecting it to receiving mbuf array

2016-02-25 Thread Qiu, Michael
On 2/24/2016 4:27 PM, Yuanhan Liu wrote: > On Wed, Feb 24, 2016 at 08:15:36AM +, Qiu, Michael wrote: >> On 2/22/2016 10:35 PM, Yuanhan Liu wrote: >>> Broadcast RARP packet by injecting it to receiving mbuf array at >>> rte_vhost_dequeue_burst(). >>> >>> Commit 33226236a35e ("vhost: handle reque

[dpdk-dev] [PATCH 02/12] i40e: split function for input set change of hash and fdir

2016-02-25 Thread Zhang, Helin
Jingjing Your patches have depencies on my i40e base driver udpate patch set. Some registers should be read/written by AQ commands, with using interfaces of i40e_read_rx_ctl() and i40e_write_rx_ctl(). Please check below link and see the list of those registers. http://www.dpdk.org/dev/patchwork/p

[dpdk-dev] [PATCH 01/10] ethdev: add a generic flow and new behavior switch to fdir

2016-02-25 Thread Rahul Lakkireddy
Hi Jingjing, On Wednesday, February 02/24/16, 2016 at 19:26:54 -0800, Wu, Jingjing wrote: > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Rahul Lakkireddy > > Sent: Wednesday, February 03, 2016 4:32 PM > > To: dev at dpdk.org > > Cc: Kumar Sanghvi;

[dpdk-dev] [PATCH 01/10] ethdev: add a generic flow and new behavior switch to fdir

2016-02-25 Thread Rahul Lakkireddy
Hi Thomas, On Wednesday, February 02/24/16, 2016 at 14:17:58 -0800, Thomas Monjalon wrote: > Caution: I truly respect the work done by Chelsio on DPDK. Thank you. And Chelsio will continue to support DPDK community and will continue to contribute. > And I'm sure you can help to build a good filt

[dpdk-dev] [PATCH v2] cxgbe: fix to copy pci info to ports under same PF

2016-02-25 Thread Rahul Lakkireddy
Chelsio NIC ports share a single PF. Move rte_eth_copy_pci_info() to copy the pci device information to the remaining ports as well. Also update license year to 2016. Fixes: eeefe73f0af1 ("drivers: copy PCI device info to ethdev data") Signed-off-by: Rahul Lakkireddy Signed-off-by: Kumar Sanghv

[dpdk-dev] [PATCH v3 1/3] fm10k: enable FTAG based forwarding

2016-02-25 Thread Chen, Jing D
Hi, Bruce, Thomas, Best Regards, Mark > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Thursday, February 25, 2016 12:38 AM > To: Richardson, Bruce; Wang, Xiao W > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 1/3] fm10k: ena

[dpdk-dev] [PATCH v4 1/1] examples/l3fwd: modify and modularize l3fwd code

2016-02-25 Thread Piotr Azarewicz
The main problem with l3fwd is that it is too monolithic with everything being in one file, and the various options all controlled by compile time flags. This means that it's hard to read and understand, and when making any changes, you need to go to a lot of work to try and ensure you cover all th

[dpdk-dev] [PATCH v2 12/12] examples/l3fwd: add option to parse ptype

2016-02-25 Thread Tan, Jianfeng
Hi Konstantin, On 1/15/2016 10:47 PM, Ananyev, Konstantin wrote: > Hi Jianfeng, > >> -Original Message- >> From: Tan, Jianfeng >> Sent: Friday, January 15, 2016 5:46 AM >> To: dev at dpdk.org >> Cc: Zhang, Helin; Ananyev, Konstantin; Tan, Jianfeng >> Subject: [PATCH v2 12/12] examples/l3fw

[dpdk-dev] [PATCH v2 12/12] examples/l3fwd: add option to parse ptype

2016-02-25 Thread Ananyev, Konstantin
Hi Jianfeng, > -Original Message- > From: Tan, Jianfeng > Sent: Thursday, February 25, 2016 10:41 AM > To: Ananyev, Konstantin; dev at dpdk.org > Cc: Zhang, Helin > Subject: Re: [PATCH v2 12/12] examples/l3fwd: add option to parse ptype > > Hi Konstantin, > > On 1/15/2016 10:47 PM, Anan

[dpdk-dev] [PATCH v2 07/12] pmd/ixgbe: add dev_ptype_info_get implementation

2016-02-25 Thread Ananyev, Konstantin
> >> > >> +static int > >> +ixgbe_dev_ptype_info_get(struct rte_eth_dev *dev, uint32_t ptypes[]) > >> +{ > >> + int num = 0; > >> + > >> + if (dev->rx_pkt_burst == ixgbe_recv_pkts || > >> + dev->rx_pkt_burst == ixgbe_recv_pkts_lro_single_alloc || > >> + dev->rx_pkt_burst == ixgbe_recv_

[dpdk-dev] [PATCH v2 01/12] ethdev: add API to query packet type filling info

2016-02-25 Thread Ananyev, Konstantin
> >> +int > >> +rte_eth_dev_get_ptype_info(uint8_t port_id, uint32_t ptype_mask, > >> + uint32_t ptypes[], int num) > >> +{ > >> + int ret, i, j; > >> + struct rte_eth_dev *dev; > >> + uint32_t all_ptypes[RTE_PTYPE_MAX_NUM]; > >> + > >> + RTE_ETH_VALID_PORTID_OR_ERR_RET(por

[dpdk-dev] virtio PMD is not working with master version

2016-02-25 Thread Mauricio Vásquez
Hello, I am trying to connect two virtual machines through Open vSwitch using vhost-user ports, on the host side everything looks fine. When using the standard virtio drivers both virtual machines are able to exchange traffic, but when I load the virtio PMD and run a DPDK application it shows the

[dpdk-dev] virtio PMD is not working with master version

2016-02-25 Thread Santosh Shukla
On Thu, Feb 25, 2016 at 5:00 PM, Mauricio V?squez wrote: > Hello, > > I am trying to connect two virtual machines through Open vSwitch using > vhost-user ports, on the host side everything looks fine. > When using the standard virtio drivers both virtual machines are able to > exchange traffic, bu

[dpdk-dev] [PATCH v2] ixgbe: fix link down issue on x550em_x

2016-02-25 Thread Bruce Richardson
On Thu, Feb 25, 2016 at 01:32:33AM +, Lu, Wenzhuo wrote: > Hi Bruce, > > > -Original Message- > > From: Richardson, Bruce > > Sent: Wednesday, February 24, 2016 10:26 PM > > To: He, Shaopeng > > Cc: Lu, Wenzhuo; dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v2] ixgbe: fix link dow

[dpdk-dev] virtio PMD is not working with master version

2016-02-25 Thread David Marchand
On Thu, Feb 25, 2016 at 12:30 PM, Mauricio V?squez wrote: > ... > EAL: PCI device :00:04.0 on NUMA socket -1 > EAL: probe driver: 1af4:1000 rte_virtio_pmd > EAL: PCI memory mapped at 0x7f892dc0 > PMD: virtio_read_caps(): [40] skipping non VNDR cap id: 11 > PMD: virtio_read_caps(): no m

[dpdk-dev] [PATCH v3 1/3] fm10k: enable FTAG based forwarding

2016-02-25 Thread Bruce Richardson
On Thu, Feb 25, 2016 at 10:04:02AM +, Chen, Jing D wrote: > Hi, Bruce, Thomas, > > Best Regards, > Mark > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > > Sent: Thursday, February 25, 2016 12:38 AM > > To: Richardson, Bruce; Wang,

[dpdk-dev] [PATCH v2] cxgbe: fix to copy pci info to ports under same PF

2016-02-25 Thread Bruce Richardson
On Thu, Feb 25, 2016 at 03:07:53PM +0530, Rahul Lakkireddy wrote: > Chelsio NIC ports share a single PF. Move rte_eth_copy_pci_info() > to copy the pci device information to the remaining ports as well. > > Also update license year to 2016. > > Fixes: eeefe73f0af1 ("drivers: copy PCI device info

[dpdk-dev] [PATCH 02/10] examples/test-cxgbe-filters: add example to test cxgbe fdir support

2016-02-25 Thread Bruce Richardson
On Thu, Feb 25, 2016 at 12:05:34AM +0530, Rahul Lakkireddy wrote: > Hi Bruce, > > On Wednesday, February 02/24/16, 2016 at 06:40:56 -0800, Bruce Richardson > wrote: > > On Wed, Feb 03, 2016 at 02:02:23PM +0530, Rahul Lakkireddy wrote: > > > Add a new test_cxgbe_filters command line example to tes

[dpdk-dev] [PATCH v3 5/5] ixgbe: support VxLAN & NVGRE TX checksum off-load

2016-02-25 Thread Ananyev, Konstantin
Hi Wenzhuo, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Thursday, February 18, 2016 3:18 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 5/5] ixgbe: support VxLAN & NVGRE TX checksum > off-load > > The patch add VxLAN & NVGRE

[dpdk-dev] [PATCH v3 00/12] Add API to get packet type info

2016-02-25 Thread Jianfeng Tan
To achieve this, a new function pointer, dev_ptype_info_get, is added into struct eth_dev_ops. For those devices who do not implement it, it means it will not provide any ptype info. v3: - Change how to use this API: api to allocate mem for storing ptype array; and caller to free the mem.

[dpdk-dev] [PATCH v3 01/12] ethdev: add API to query packet type filling info

2016-02-25 Thread Jianfeng Tan
Add a new API rte_eth_dev_get_ptype_info to query whether/what packet type can be filled by given pmd rx burst function. Signed-off-by: Jianfeng Tan --- lib/librte_ether/rte_ethdev.c | 32 lib/librte_ether/rte_ethdev.h | 23 +++ 2 files change

[dpdk-dev] [PATCH v3 02/12] pmd/cxgbe: add dev_ptype_info_get implementation

2016-02-25 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan --- drivers/net/cxgbe/cxgbe_ethdev.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c index 97ef152..33bd815 100644 --- a/drivers/net/cxgbe/cxgbe_ethdev.c +++ b/drivers/net/cxgbe/cxg

[dpdk-dev] [PATCH v3 03/12] pmd/e1000: add dev_ptype_info_get implementation

2016-02-25 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan --- drivers/net/e1000/igb_ethdev.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index 4ed5e95..b3a3ee6 100644 --- a/drivers/net/e1000/igb_ethdev.c +++ b/drivers/net/e

[dpdk-dev] [PATCH v3 04/12] pmd/enic: add dev_ptype_info_get implementation

2016-02-25 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan --- drivers/net/enic/enic_ethdev.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c index 2a88043..fbeab6f 100644 --- a/drivers/net/enic/enic_ethdev.c +++ b/drivers/net/enic/enic_ethd

[dpdk-dev] [PATCH v3 05/12] pmd/fm10k: add dev_ptype_info_get implementation

2016-02-25 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan --- drivers/net/fm10k/fm10k_ethdev.c | 50 ++ drivers/net/fm10k/fm10k_rxtx.c | 3 +++ drivers/net/fm10k/fm10k_rxtx_vec.c | 3 +++ 3 files changed, 56 insertions(+) diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/

[dpdk-dev] [PATCH v3 06/12] pmd/i40e: add dev_ptype_info_get implementation

2016-02-25 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan --- drivers/net/i40e/i40e_ethdev.c| 1 + drivers/net/i40e/i40e_ethdev_vf.c | 1 + drivers/net/i40e/i40e_rxtx.c | 46 ++- drivers/net/i40e/i40e_rxtx.h | 1 + 4 files changed, 48 insertions(+), 1 deletion(-) diff --gi

[dpdk-dev] [PATCH v3 07/12] pmd/ixgbe: add dev_ptype_info_get implementation

2016-02-25 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan --- drivers/net/ixgbe/ixgbe_ethdev.c | 38 ++ drivers/net/ixgbe/ixgbe_ethdev.h | 2 ++ drivers/net/ixgbe/ixgbe_rxtx.c | 4 +++- 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/dri

[dpdk-dev] [PATCH v3 08/12] pmd/mlx4: add dev_ptype_info_get implementation

2016-02-25 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan --- drivers/net/mlx4/mlx4.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c index ee00151..85fdebf 100644 --- a/drivers/net/mlx4/mlx4.c +++ b/drivers/net/mlx4/mlx4.c @@ -2835,6 +2835,8 @@ rxq_

[dpdk-dev] [PATCH v3 09/12] pmd/mlx5: add dev_ptype_info_get implementation

2016-02-25 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan --- drivers/net/mlx4/mlx4.c| 2 +- drivers/net/mlx5/mlx5.c| 1 + drivers/net/mlx5/mlx5.h| 1 + drivers/net/mlx5/mlx5_ethdev.c | 20 drivers/net/mlx5/mlx5_rxtx.c | 2 ++ 5 files changed, 25 insertions(+), 1 deletion(-)

[dpdk-dev] [PATCH v3 10/12] pmd/nfp: add dev_ptype_info_get implementation

2016-02-25 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan --- drivers/net/nfp/nfp_net.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c index fd4dd39..5894a9d 100644 --- a/drivers/net/nfp/nfp_net.c +++ b/drivers/net/nfp/nfp_net.c @@ -1073,6 +1073,2

[dpdk-dev] [PATCH v3 11/12] pmd/vmxnet3: add dev_ptype_info_get implementation

2016-02-25 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c index c363bf6..ac120a1 100644 --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c +++ b/dr

[dpdk-dev] [PATCH v3 12/12] examples/l3fwd: add option to parse ptype

2016-02-25 Thread Jianfeng Tan
As a example to use ptype info, l3fwd needs firstly to use rte_eth_dev_get_ptype_info() API to check if device and/or PMD driver will parse and fill the needed packet type; if not, use the newly added option, --parse-ptype, to analyze it in the callback softly. Under the mode of EXACT_MATCH, ip pa

[dpdk-dev] [PATCH v2 01/12] ethdev: add API to query packet type filling info

2016-02-25 Thread Tan, Jianfeng
On 2/25/2016 7:17 PM, Ananyev, Konstantin wrote: +int +rte_eth_dev_get_ptype_info(uint8_t port_id, uint32_t ptype_mask, + uint32_t ptypes[], int num) +{ + int ret, i, j; + struct rte_eth_dev *dev; + uint32_t all_ptypes[RTE_PTYPE_MAX_NUM];

[dpdk-dev] [PATCH v2 4/6] bond mode 4: allow external state machine

2016-02-25 Thread Iremonger, Bernard
Hi Eric, > > @@ -157,6 +159,7 @@ struct rte_eth_bond_8023ad_conf { > > uint32_t tx_period_ms; > > uint32_t rx_marker_period_ms; > > uint32_t update_timeout_ms; > > + rte_eth_bond_8023ad_ext_slowrx_fn slowrx_cb; > > }; > > This still is a likely an ABI break, previously discussed

[dpdk-dev] [PATCH v3 1/3] fm10k: enable FTAG based forwarding

2016-02-25 Thread Chen, Jing D
Hi, Bruce, > -Original Message- > From: Richardson, Bruce > Sent: Thursday, February 25, 2016 9:35 PM > To: Chen, Jing D > Cc: Thomas Monjalon ; Wang, Xiao W > ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 1/3] fm10k: enable FTAG based > forwarding > > On Thu, Feb 25, 2016 at 10:

[dpdk-dev] [PATCH v3 01/12] ethdev: add API to query packet type filling info

2016-02-25 Thread Ananyev, Konstantin
Hi Jainfeng, > > Add a new API rte_eth_dev_get_ptype_info to query whether/what packet > type can be filled by given pmd rx burst function. > > Signed-off-by: Jianfeng Tan > --- > lib/librte_ether/rte_ethdev.c | 32 > lib/librte_ether/rte_ethdev.h | 23

[dpdk-dev] [PATCH v3 1/3] fm10k: enable FTAG based forwarding

2016-02-25 Thread Bruce Richardson
On Thu, Feb 25, 2016 at 03:45:45PM +, Chen, Jing D wrote: > Hi, Bruce, > > > -Original Message- > > From: Richardson, Bruce > > Sent: Thursday, February 25, 2016 9:35 PM > > To: Chen, Jing D > > Cc: Thomas Monjalon ; Wang, Xiao W > > ; dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATC

[dpdk-dev] [PATCH v2 0/2] add support for buffered tx to ethdev

2016-02-25 Thread Ananyev, Konstantin
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tomasz Kulasek > Sent: Wednesday, February 24, 2016 5:09 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 0/2] add support for buffered tx to ethdev > > Many sample apps include internal buffering for single-packet-at-a-time > opera

[dpdk-dev] [PATCH 00/19] fix hard-coded references in sample apps guide

2016-02-25 Thread Mauricio Vasquez B
MANY references in the sample applications user guide are wrong because they are hard-coded and section numbers have changed over the time. This patch set changes thoses references to dynamic ones, in this way if section numbers change the reference get updated automatically. Mauricio Vasquez B (

[dpdk-dev] [PATCH 02/19] doc: fix distributor sample application hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/dist_app.rst| 10 +- doc/guides/sample_app_ug/l2_forward_real_virtual.rst | 10 ++ 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/doc/guides/sample_app_ug/dist_app.rst b/doc/guides/sam

[dpdk-dev] [PATCH 01/19] doc: fix vhost sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/vhost.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guides/sample_app_ug/vhost.rst b/doc/guides/sample_app_ug/vhost.rst index e5d1326..751656c 100644 --- a/doc/guides/sample_app_ug/vhost.rst +++ b/

[dpdk-dev] [PATCH 03/19] doc: fix exception path sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/exception_path.rst | 5 ++--- doc/guides/sample_app_ug/l2_forward_real_virtual.rst | 4 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/guides/sample_app_ug/exception_path.rst b/doc/guides/sample_app_

[dpdk-dev] [PATCH 04/19] doc: fix intel quickAssist technology sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/intel_quickassist.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/sample_app_ug/intel_quickassist.rst b/doc/guides/sample_app_ug/intel_quickassist.rst index a80d4ca..04d1593 100644 --- a/doc/guides/

[dpdk-dev] [PATCH 05/19] doc: fix ip fragmentation sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/ip_frag.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/guides/sample_app_ug/ip_frag.rst b/doc/guides/sample_app_ug/ip_frag.rst index 0c18fff..0c8da19 100644 --- a/doc/guides/sample_app_ug/ip_frag.rst ++

[dpdk-dev] [PATCH 10/19] doc: fix l2 fwd sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/l2_forward_real_virtual.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/sample_app_ug/l2_forward_real_virtual.rst b/doc/guides/sample_app_ug/l2_forward_real_virtual.rst index 12f0d27..2a576f3 10

[dpdk-dev] [PATCH 07/19] doc: fix multicast sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/ipv4_multicast.rst | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/guides/sample_app_ug/ipv4_multicast.rst b/doc/guides/sample_app_ug/ipv4_multicast.rst index ec76087..67ea944 100644 --- a/doc/guides/sam

[dpdk-dev] [PATCH 08/19] doc: fix kepp alive sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/keep_alive.rst | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/guides/sample_app_ug/keep_alive.rst b/doc/guides/sample_app_ug/keep_alive.rst index 080811b..b00f43b 100644 --- a/doc/guides/sample_app_ug/k

[dpdk-dev] [PATCH 06/19] doc: fix ip reassembly sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/ip_reassembly.rst | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/guides/sample_app_ug/ip_reassembly.rst b/doc/guides/sample_app_ug/ip_reassembly.rst index 6bf5938..3c5cc70 100644 --- a/doc/guides/sample

[dpdk-dev] [PATCH 11/19] doc: fix l3 fwd sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/l3_forward.rst | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/guides/sample_app_ug/l3_forward.rst b/doc/guides/sample_app_ug/l3_forward.rst index 4ce734b..1aac7dd 100644 --- a/doc/guides/sample_app_ug/l

[dpdk-dev] [PATCH 14/19] doc: fix l3fwd virtual sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/l2_forward_real_virtual.rst | 1 + doc/guides/sample_app_ug/l3_forward.rst | 2 ++ doc/guides/sample_app_ug/l3_forward_virtual.rst | 7 +++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/guide

[dpdk-dev] [PATCH 09/19] doc: fix kni sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/kernel_nic_interface.rst | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/guides/sample_app_ug/kernel_nic_interface.rst b/doc/guides/sample_app_ug/kernel_nic_interface.rst index 985c664..2ae9b70 100644 -

[dpdk-dev] [PATCH 13/19] doc: fix l3fwd power man sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/l3_forward_power_man.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/guides/sample_app_ug/l3_forward_power_man.rst b/doc/guides/sample_app_ug/l3_forward_power_man.rst index ac688f8..ea9c404 100644 ---

[dpdk-dev] [PATCH 19/19] doc: fix vm power man sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/vm_power_management.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/sample_app_ug/vm_power_management.rst b/doc/guides/sample_app_ug/vm_power_management.rst index da8be12..7f299e0 100644 --- a/d

[dpdk-dev] [PATCH 12/19] doc: fix l3fwd access control sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/l3_forward_access_ctrl.rst | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst b/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst index dbf47c7..4049e01 100

[dpdk-dev] [PATCH 18/19] doc: fix vmdq and dcb fwd sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/vmdq_dcb_forwarding.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guides/sample_app_ug/vmdq_dcb_forwarding.rst b/doc/guides/sample_app_ug/vmdq_dcb_forwarding.rst index 9140a22..e9ced9f 100644 --- a

[dpdk-dev] [PATCH 15/19] doc: fix link status int sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/link_status_intr.rst | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guides/sample_app_ug/link_status_intr.rst b/doc/guides/sample_app_ug/link_status_intr.rst index de0dff8..a4dbb54 100644 --- a/doc/gu

[dpdk-dev] [PATCH 16/19] doc: fix multi-process sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/multi_process.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/sample_app_ug/multi_process.rst b/doc/guides/sample_app_ug/multi_process.rst index 6c3f3d2..ffe7ee6 100644 --- a/doc/guides/sample_a

[dpdk-dev] [PATCH 17/19] doc: fix tep termination sample app hard-coded references

2016-02-25 Thread Mauricio Vasquez B
Signed-off-by: Mauricio Vasquez B --- doc/guides/sample_app_ug/tep_termination.rst | 8 doc/guides/sample_app_ug/vhost.rst | 7 +++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/doc/guides/sample_app_ug/tep_termination.rst b/doc/guides/sample_app_ug/tep_t

[dpdk-dev] [PATCH v3 01/12] ethdev: add API to query packet type filling info

2016-02-25 Thread Ananyev, Konstantin
> -Original Message- > From: Tan, Jianfeng > Sent: Thursday, February 25, 2016 4:36 PM > To: Ananyev, Konstantin; dev at dpdk.org > Cc: Zhang, Helin; nelio.laranjeiro at 6wind.com; adrien.mazarguil at > 6wind.com; rahul.lakkireddy at chelsio.com > Subject: Re: [PATCH v3 01/12] ethdev: ad

[dpdk-dev] [PATCH] Updating QAT documentation

2016-02-25 Thread Fiona Trahe
Signed-off-by: Fiona Trahe --- doc/guides/cryptodevs/qat.rst | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst index 23402b4..1b4be0c 100644 --- a/doc/guides/cryptodevs/qat.rst +++ b/doc/gu

[dpdk-dev] DPDK-QoS - link sharing across classes

2016-02-25 Thread Dumitrescu, Cristian
From: sreenaath vasudevan [mailto:sreenaat...@gmail.com] Sent: Wednesday, February 24, 2016 11:23 PM To: Dumitrescu, Cristian Cc: dev at dpdk.org Subject: Re: [dpdk-dev] DPDK-QoS - link sharing across classes [Cristian] It does to me, as high priority traffic is usually low bandwidth and typic

[dpdk-dev] [PATCH 01/10] ethdev: add a generic flow and new behavior switch to fdir

2016-02-25 Thread Thomas Monjalon
2016-02-25 15:03, Rahul Lakkireddy: > On Wednesday, February 02/24/16, 2016 at 14:17:58 -0800, Thomas Monjalon > wrote: > > > A raw flow provides a generic way for vendors to add their vendor > > > specific input flow. > > > > Please, "generic" and "vendor specific" in the same sentence. > > It's

[dpdk-dev] [PATCH 0/8] Various fixes to compile with gcc6

2016-02-25 Thread Aaron Conole
This series brings a number of code cleanups to allow building using gcc6, with various legitimate warnings being fixed. In particular, patch 3 ("drivers/net/e1000: Fix missing brackets") should be checked for correctness (it does not alter any behavior from a functional standpoint, but it may be

[dpdk-dev] [PATCH 1/8] lpm: Fix pointer aliasing issues

2016-02-25 Thread Aaron Conole
The current implementation attempts to use a uint16_t to alias the lpm table structures. Such aliasing can break optimizer performance. This patch uses union type indirection and adds static inline functions for performing the aliasing. Signed-off-by: Aaron Conole --- lib/librte_lpm/rte_lpm.h |

[dpdk-dev] [PATCH 2/8] app/test/test: Fix missing brackets

2016-02-25 Thread Aaron Conole
The test application calls printf(...) with the suite->suite_name argument. The intent (based on whitespace) in the printf is to check suite->suite_name first and then apply the printf. This doesn't happen due to missing brackets. Signed-off-by: Aaron Conole --- app/test/test.c | 3 ++- 1 file c

[dpdk-dev] [PATCH 3/8] drivers/net/e1000: Fix missing brackets

2016-02-25 Thread Aaron Conole
The register read/write mphy functions have misleading whitespace around the locked check. This cleanup merely preserves the existing functionality while improving the ready check. Signed-off-by: Aaron Conole --- drivers/net/e1000/base/e1000_phy.c | 12 ++-- 1 file changed, 6 insertions(

[dpdk-dev] [PATCH 4/8] drivers/net/e1000: Fix missing lsc interrupt check brackets

2016-02-25 Thread Aaron Conole
The device lsc interupt check has a misleading whitespace around it which can be improved by adding appropriate braces to the check. Since the ret variable was checked after previous assignment, this introduces no functional change. Signed-off-by: Aaron Conole --- drivers/net/e1000/em_ethdev.c |

[dpdk-dev] [PATCH 5/8] drivers/net/ixgbe: Fix vlan filter missing brackets

2016-02-25 Thread Aaron Conole
The ixgbe vlan filter code has an if check with an incorrect whitespace. Signed-off-by: Aaron Conole --- drivers/net/ixgbe/ixgbe_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 3e6fe86..2e1c3

[dpdk-dev] [PATCH 6/8] drivers/net/e1000/igb: Signed left shift operator

2016-02-25 Thread Aaron Conole
Tell the compiler to use an unsigned constant for the config shifts. Signed-off-by: Aaron Conole --- drivers/net/e1000/igb_pf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000/igb_pf.c b/drivers/net/e1000/igb_pf.c index 1d00dda..afe80f5 100644 --- a/driv

[dpdk-dev] [PATCH 7/8] drivers/net/ixgbe: Signed left shift operator

2016-02-25 Thread Aaron Conole
Tell the compiler to use an unsigned constant for the config shifts. Signed-off-by: Aaron Conole --- drivers/net/ixgbe/ixgbe_pf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_pf.c b/drivers/net/ixgbe/ixgbe_pf.c index 2ffbd1f..8b5119f 100644 ---

[dpdk-dev] [PATCH 8/8] drivers/net/ixgbe: Fix uninitialized warning

2016-02-25 Thread Aaron Conole
Silence a compiler warning that this variable may be used uninitialized. Signed-off-by: Aaron Conole --- drivers/net/ixgbe/ixgbe_rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c index e95e6b7..775edc7 1

[dpdk-dev] [PATCH] eal: add missing long-options for short option arguments

2016-02-25 Thread Keith Wiles
A number of short options for EAL are missing long options and this patch adds those missing options. The missing long options are for: -c add --coremask -d add --driver -l add --corelist -m add --memsize -n add --mem-channels -r add --mem-ranks -v add --version Add an alias for --lcores using --l

[dpdk-dev] [PATCH v6] cfgfile: support looking up sections by index

2016-02-25 Thread Rich Lane
This is useful when sections have duplicate names. Signed-off-by: Rich Lane --- v5->v6: - Reordered sectionname argument in comment. v4->v5: - Reordered sectionname argument. v3->v4: - Added section name return value. - Updated API docs for other functions. v2->v3 - Added check for index < 0. v1-

[dpdk-dev] [PATCH v6] cfgfile: support looking up sections by index

2016-02-25 Thread Dumitrescu, Cristian
> -Original Message- > From: Rich Lane [mailto:rich.lane at bigswitch.com] > Sent: Thursday, February 25, 2016 8:43 PM > To: dev at dpdk.org > Cc: Dumitrescu, Cristian ; Panu Matilainen > > Subject: [PATCH v6] cfgfile: support looking up sections by index > > This is useful when section

[dpdk-dev] [PATCH 1/8] lpm: Fix pointer aliasing issues

2016-02-25 Thread Bruce Richardson
On Thu, Feb 25, 2016 at 01:48:34PM -0500, Aaron Conole wrote: > The current implementation attempts to use a uint16_t to alias the lpm table > structures. Such aliasing can break optimizer performance. This patch uses > union type indirection and adds static inline functions for performing the > al

  1   2   >