From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-f47.google.com (mail-yw1-f47.google.com [209.85.161.47]) by dpdk.org (Postfix) with ESMTP id 18DBD4CBD for ; Mon, 5 Nov 2018 20:42:29 +0100 (CET) Received: by mail-yw1-f47.google.com with SMTP id h21-v6so4164190ywa.3 for ; Mon, 05 Nov 2018 11:42:29 -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=mB23eoCGBHVB1uAh6deq1PfNRwYpt9PMqWD7jkL0bOw=; b=pxuKXd9ayCc4w7fG71X71XM5l+V3YrmPRaa2dob1eyn7xiiGWuLZqa82GRtpFMx9AD PZp2lAmYzpaICJld3sD156lbZveZ5p0iNAqy761RGCX7uOJxsOIhiV3ieUqJkIf+SMpQ ZvBhcm8FoRJG3zpXOgM4NyYLtevCVwzJSUYNmux46XN4HUxBBdBvxFo+H/sxcEjsmsF3 IicEVQf3EQTlRy/IbDJ0eHGqFyx1yruO6CBk5BdvMmsxcZHvZa3maL02ThbOymnaDuaB g8XSwcy4gI3uVo1PcDj++5GGWfv9keoI+h4Qr+0Tg4wmLvQuiLILMZbzTcMvu4DmFR/a FfZA== 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=mB23eoCGBHVB1uAh6deq1PfNRwYpt9PMqWD7jkL0bOw=; b=f73sD2nBzlCp/EfoHbegxL0eqIGBtdDWQimpVw8ZTPS1JFAepwRA3kWz5+ryLh/oTM qOHP8n2cAoih/irVFCxOXtasWMYHmw02bMs4szVtWJ+udRlDIKilvPdVQ0lt6/8KRMq1 XPAjRzuUIyJgJpJEd+LLdfk+JHSJ4SkncFemz/8MtTSK8AWL1E/hIW06dH+eO2O6CowZ h6UwY4GMOVIs5jZpX53UwmeOUWP4huJVdIBcCNerjGp6FTiJkXSbTwNU/mes9tSdgBxR V2ZUIuHGOVQvmlvQallTyJJ+n0LUCyQWjnORiGxsFYYIrTdXpvyET7fOHDX5vT/A5q8e F9Ig== X-Gm-Message-State: AGRZ1gJP6XujEhtJ83jRVPefcH2th+qFuA99A/YQxsbAoSTiPS7FdkoZ EPKxDBhaQ2PqFj9qDmDMO/4G1xsixFjPl1inTg0= X-Google-Smtp-Source: AJdET5credc5uFthL66Tx0+C57LoIbNo8zZUlQjVIl6lvoP4D51OZdFLPrLfSIySGvMrmpJEa8k/Ix9O0vYPlV4mhEI= X-Received: by 2002:a0d:fbc2:: with SMTP id l185-v6mr21288180ywf.446.1541446948153; Mon, 05 Nov 2018 11:42:28 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Cliff Burdick Date: Mon, 5 Nov 2018 11:42:16 -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: Mon, 05 Nov 2018 19:42:29 -0000 Thanks Ori. I confirmed that the latest patch works with VLAN tags as well. 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 / IP= V4 > 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 removing > 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 Kam > > > > 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 offloa= ds > > > 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? > >