[dpdk-dev] Starting pktgen in Tx mode only, without calling RX handler - is it possible ?

2018-06-09 Thread Kevin Wilson
Hi, Is it possible to configure dpdk-pktgen so that it will start only transmitting packets, without Rx mode ? I could not find a way to achieve it. More specifically, I mean starting dpdk-pktgen so that it won't call rte_eth_rx_burst() ? (rte_eth_rx_burst() is called from pktgen_main_receive()

Re: [dpdk-dev] [RFC] ethdev: remove all offload API

2018-06-09 Thread Andrew Rybchenko
On 06/09/2018 01:41 AM, Ferruh Yigit wrote: Cc: Shahaf Shuler Signed-off-by: Ferruh Yigit --- <...> diff --git a/app/test-eventdev/test_perf_common.c b/app/test-eventdev/test_perf_common.c index d00f91802..9fe042ffe 100644 --- a/app/test-eventdev/test_perf_common.c +++ b/app/test-eventdev

Re: [dpdk-dev] [PATCH 1/4] mbuf: add accessor function for private data area

2018-06-09 Thread Andrew Rybchenko
Hi Dan, On 06/09/2018 03:24 AM, Dan Gora wrote: +{ +if (md->priv_size == 0) +return NULL; + +return RTE_PTR_ADD(md, sizeof(struct rte_mbuf)); Also a nit... I'd use sizeof(*md) (or sizeof(*m) in fact as described above) here. At least previous functions do it in such way. I

Re: [dpdk-dev] [PATCH] ethdev: force offloading API rules

2018-06-09 Thread Andrew Rybchenko
On 06/08/2018 10:51 PM, Ferruh Yigit wrote: On 5/31/2018 1:44 PM, Ferruh Yigit wrote: The error path was disabled in previous release to let apps to be more flexible. But this release they are enabled, applications have to obey offload API rules otherwise they will get errors from following API

Re: [dpdk-dev] [RFC] ethdev: add new offload flag to keep CRC

2018-06-09 Thread Andrew Rybchenko
On 06/09/2018 01:57 AM, Ferruh Yigit wrote: DEV_RX_OFFLOAD_KEEP_CRC offload flag added. DEV_RX_OFFLOAD_CRC_STRIP flag will remain one more release default behavior in PMDs is to keep the CRC until this flag removed Until DEV_RX_OFFLOAD_CRC_STRIP flag is removed: - Setting both KEEP_CRC & CRC_ST

Re: [dpdk-dev] 18.02.2 patches review and test

2018-06-09 Thread Luca Boccassi
On Fri, 2018-06-08 at 18:28 +, Ray Cai wrote: > Hi Luca: > > We did some basic testing with testpmd and pktgen 3.5.0 on Azure > environment with this DPDK version. We didn't see any problems. > > Thanks, > -Ray Great, thank you very much. > -Original Message- > From: dev On Behalf

Re: [dpdk-dev] Starting pktgen in Tx mode only, without calling RX handler - is it possible ?

2018-06-09 Thread Wiles, Keith
> On Jun 9, 2018, at 2:32 AM, Kevin Wilson wrote: > > Hi, > Is it possible to configure dpdk-pktgen so that it will start only > transmitting packets, without Rx mode ? > I could not find a way to achieve it. > > More specifically, I mean starting dpdk-pktgen so that it won't call > rte_eth_r

Re: [dpdk-dev] [PATCH] ethdev: force offloading API rules

2018-06-09 Thread Shahaf Shuler
Friday, June 8, 2018 11:02 PM, Stephen Hemminger: > Subject: Re: [dpdk-dev] [PATCH] ethdev: force offloading API rules > > On Thu, 31 May 2018 13:44:30 +0100 > Ferruh Yigit wrote: > > > The error path was disabled in previous release to let apps to be more > > flexible. > > > > But this release

Re: [dpdk-dev] [PATCH v3 27/27] net/ena: set link speed as none

2018-06-09 Thread Chas Williams
On Fri, Jun 8, 2018 at 3:37 PM Ferruh Yigit wrote: > On 6/7/2018 10:43 AM, Michal Krawczyk wrote: > > From: Rafal Kozik > > > > Link speed should is not limited to 10Gb/s and it shouldn't be hardcoded. > > > > They link speed is set to none instead and the applications shouldn't > > rely on this