[dpdk-dev] vhost-switch example: huge memory need and CRC off-loading issue

2015-08-09 Thread Thomas Monjalon
2015-08-08 09:17, Jan Kiszka: > On 2015-08-08 02:39, Ouyang, Changchun wrote: > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jan Kiszka > >> - MAX_QUEUES of 512 causes pretty high memory need for the application > >> (something between 1 and 2G) - is that really needed? I'm now runni

[dpdk-dev] [PATCH v1] Change rte_eal_vdev_init to update port_id

2015-08-09 Thread Thomas Monjalon
2015-08-07 15:06, Ravi Kerur: > On Thu, Aug 6, 2015 at 7:25 PM, Tetsuya Mukawa wrote: > > On 2015/08/07 3:04, Ravi Kerur wrote: > > Hi Thomas, > > > > Could you please make sure API consistency? > > Is it ok to add above functions to DPDK_2.1 even though we are in RC > > phase, or need to add to D

[dpdk-dev] [PATCH] examples/l3fwd: fix compilation issue when using exact-match

2015-08-09 Thread Thomas Monjalon
Hi Pablo, 2015-08-07 10:08, Pablo de Lara: > L3fwd was trying to use an inexistent function "simple_ipv6_fwd_4pkts", > instead it should be "simple_ipv6_fwd_8pkts". > > Fixes: 80fcb4d4 ("examples/l3fwd: increase lookup burst size to 8") There are 3 things wrong here. 1/ We must absolutely avoid

[dpdk-dev] [PATCH] examples/l3fwd: fix compilation issue when using exact-match

2015-08-09 Thread De Lara Guarch, Pablo
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Sunday, August 09, 2015 10:54 AM > To: De Lara Guarch, Pablo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] examples/l3fwd: fix compilation issue when > using exact-match > > Hi

[dpdk-dev] [PATCH v2] examples/l3fwd: fix compilation issue when using exact-match

2015-08-09 Thread Pablo de Lara
From: "Pablo de Lara" L3fwd was trying to use an inexistent function "simple_ipv6_fwd_4pkts", instead it should be "simple_ipv6_fwd_8pkts", and "simple_ipv8_fwd_4pkts" instead of "simple_ipv4_fwd_8pkts". Fixes: 80fcb4d4 ("examples/l3fwd: increase lookup burst size to 8") Signed-off-by: Pablo de

[dpdk-dev] [PATCH] ethdev: Fix illegal access of rte_eth_dev_is_detachable()

2015-08-09 Thread Thomas Monjalon
> > To obtain detachable flag, pci_drv is accessed in > > rte_eth_dev_is_detachable(). > > But pci_drv is only valid if port is enabled. Not to cause illegal access, > > add > > rte_eth_dev_is_valid_port() before accessing. > > > > Signed-off-by: Tetsuya Mukawa > > Acked-by: Bernard Iremonger

[dpdk-dev] [PATCH] i40e:remove unlikely check in i40e_xmit_pkts for checksum offload

2015-08-09 Thread Thomas Monjalon
> > The i40e_xmit_pkts() is called, which often means HW offload is used here, > > so we had better remove 'unlikely' check for checksum offload. > > > > Signed-off-by: Jijiang Liu > Acked-by: Marvin Liu Applied, thanks