From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) by dpdk.org (Postfix) with ESMTP id 434BC559A for ; Tue, 6 Nov 2018 02:18:40 +0100 (CET) Received: by mail-yb1-f173.google.com with SMTP id 131-v6so4654554ybe.12 for ; Mon, 05 Nov 2018 17:18:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1W4eZ3kTEntRPOBtPUKA2oMdGVWepqUH8Ia1eqLwDnQ=; b=IM/nTJSRj+ERZQ36a4LEctxgGTplQWKe+DF0cN2oaebOxMGscS773lLdSJjYmpzCia H+E4UAMwmADobXkhV3/ghIrC7FsZ8as58SOQMjpddmuQmvOy5f7O/RxAswXSIQVxiLHo fdTgFhiOBbPvLPNvN792a+kmywd2VQDd5QDnq9qBIGaq8RPJrLr5EGGQSGOUpNxRrsaO d1jbw9+n1gqVH4md/8kqMySHBHrboYHkgo/c0ax+EocnTVNJToFTwvJGE3f99vPk6iJU xgY25LdOTksTyQH6UEpf8VkuokPoAt6lMFyUGfUkU5h1qBVXP9yRQCfGWnPw7Lglsr2O CP/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1W4eZ3kTEntRPOBtPUKA2oMdGVWepqUH8Ia1eqLwDnQ=; b=SySpKc2KPoN94OLUwwbdvYZKVF12+tvrYU9Z5NMt1zsR9/sVoZAdrX6lK1cbTC0cVs GIGfWSKN8lol4JlCA7zLPxMcFQs8kgGUgB/59lPedtJZwpKSuwyLbbUPkKGaE79pwJjQ vvj/XNmQ2rztmsT4HJOgjuM9Hv9mTBV/YBr9bUtGUT6+Y7f3uYX1IygtSBq4H5KGJcA5 wUp4vGz44bAftE4uwd+bt1Ez9c1X6IcUsNA66ojE/jnf5yqRZJ/iyzL3q2gZLSRY3ZnZ RmXRwzoGMEGRkkO3aqcfsTooTxyvgmoF5mu8a9QxNDiwyVADY/K4juMct1WGjsbNDV8P GolQ== X-Gm-Message-State: AGRZ1gKq3KTS+ntpLTrseximTnAmAHFZ0vtocTE3fAA82PcCYz1XDzHa jTZ9BAWtFoD1F9E2M2WIY2xonxn2qFk565de+1M= X-Google-Smtp-Source: AJdET5c8ll16+Dr6bZnQsHL+y2FA6cQ647mEWSmaPdTaMe7iHvEEkffHk7HwtAbpRKSA2OOUK/2494fXABpKvCZNCfk= X-Received: by 2002:a25:2d60:: with SMTP id s32-v6mr9127244ybe.471.1541467119376; Mon, 05 Nov 2018 17:18:39 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Cliff Burdick Date: Mon, 5 Nov 2018 17:18:28 -0800 Message-ID: To: Ori Kam Cc: Shahaf Shuler , users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] flow_filtering failed on mlx5 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2018 01:18:40 -0000 Hi Ori, your patch has: port_conf.txmode.offloads &=3D dev_info.rx_offload_capa; Should that right side by rx_offload_capa instead? On Mon, Nov 5, 2018 at 11:42 AM Cliff Burdick wrote: > Thanks Ori. I confirmed that the latest patch works with VLAN tags as wel= l. > > On Mon, Nov 5, 2018 at 6:05 AM Ori Kam wrote: > >> Just verified by running the code at least in Mellanox there is no >> difference. >> >> >> >> Best, >> >> Ori >> >> >> >> *From:* Cliff Burdick >> *Sent:* Monday, November 5, 2018 3:57 PM >> *To:* Ori Kam >> *Cc:* Shahaf Shuler ; users >> *Subject:* Re: [dpdk-users] flow_filtering failed on mlx5 >> >> >> >> The example code used to allow a VLAN tag, but with this patch it seems >> like it will not anymore. I'm on a connectx-5. Should we set the mask to >> NULL to achieve the same functionality as before? >> >> >> >> Thanks >> >> >> >> On Mon, Nov 5, 2018, 05:54 Ori Kam > >> Glad to help, >> >> >> >> That=E2=80=99s depends on the NIC but normally it should just be ETH / I= PV4 >> traffic. >> >> >> >> Best, >> >> Ori >> >> >> >> *From:* Cliff Burdick >> *Sent:* Monday, November 5, 2018 3:42 PM >> *To:* Ori Kam >> *Cc:* Shahaf Shuler ; users >> *Subject:* Re: [dpdk-users] flow_filtering failed on mlx5 >> >> >> >> Thanks Ori! I'll test out the patch today. Just to make sure, by removin= g >> the vlan item, does that not allow vlan tags anymore, or is it just >> ignoring one if present? >> >> >> >> On Mon, Nov 5, 2018, 05:18 Ori Kam > >> Hi Cliff, >> >> There was an issue I solved it, and submitted relevant patches. >> You can look at them: >> >> http://patches.dpdk.org/patch/47806/ >> >> http://patches.dpdk.org/patch/47807/ >> >> >> Best, >> Ori >> >> > -----Original Message----- >> > From: Shahaf Shuler >> > Sent: Monday, November 5, 2018 9:10 AM >> > To: Cliff Burdick ; users ; Ori Ka= m >> > >> > Subject: RE: [dpdk-users] flow_filtering failed on mlx5 >> > >> > +Ori the maintainer of the example code. >> > >> > Saturday, November 3, 2018 5:31 AM, Cliff Burdick: >> > > Subject: [dpdk-users] flow_filtering failed on mlx5 >> > > >> > > Hi I'm trying to run the flow_filtering example on a connectx-5, and >> it seems >> > > to fail with dpdk 18.08: >> > > >> > > $ sudo ./build/flow -l 1 -n 1 >> > > EAL: Detected 48 lcore(s) >> > > EAL: Detected 2 NUMA nodes >> > > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket >> > > EAL: Probing VFIO support... >> > > EAL: PCI device 0000:01:00.0 on NUMA socket 0 >> > > EAL: probe driver: 15b3:1013 net_mlx5 >> > > EAL: PCI device 0000:01:00.1 on NUMA socket 0 >> > > EAL: probe driver: 15b3:1013 net_mlx5 >> > > EAL: PCI device 0000:81:00.0 on NUMA socket 1 >> > > EAL: probe driver: 8086:1528 net_ixgbe >> > > EAL: PCI device 0000:81:00.1 on NUMA socket 1 >> > > EAL: probe driver: 8086:1528 net_ixgbe >> > > EAL: PCI device 0000:82:00.0 on NUMA socket 1 >> > > EAL: probe driver: 15b3:1013 net_mlx5 >> > > EAL: PCI device 0000:82:00.1 on NUMA socket 1 >> > > EAL: probe driver: 15b3:1013 net_mlx5 >> > > :: warn: 5 ports detected, but we use only one: port 0 >> > > :: initializing port: 0 >> > > Ethdev port_id=3D0 requested Tx offloads 0x3f doesn't match Tx offlo= ads >> > > capabilities 0xc86af in rte_eth_dev_configure() >> > > EAL: Error - exiting with code: 1 >> > > Cause: :: cannot configure device: err=3D-22, port=3D0 >> > > >> > > >> > > Has anyone got this to work? >> >>