From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by dpdk.org (Postfix) with ESMTP id 03D9E5A0C for ; Wed, 5 Aug 2015 16:53:53 +0200 (CEST) Received: by oihn130 with SMTP id n130so23789989oih.2 for ; Wed, 05 Aug 2015 07:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sidebandnetworks.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ztDkOv2vyDcXuXuVoCImpEYN1wUxeOf9Jtkg7xNgVSo=; b=EqpGkN/kKFUj3m/ClFTNhOPwtE3vlVQIxi8t/PWxHF7v/yoVFixMstALuzViDET5JF gswEzpPM2/anRtHinozwHaCbvsxaoPbZbuJRw4HCiIv4ycn9o7wtf7yluK5VuCevYVau U1Gcmurl5iGFnvaA5WhGtosqAMsXXwPi0GVnY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ztDkOv2vyDcXuXuVoCImpEYN1wUxeOf9Jtkg7xNgVSo=; b=YPQtvNDGcq1513t5EMVl+aZXlFEAtK2T6sWR53xd/6+UQ9sfw6CuVj0uF9oQL635UY tvKNa5qj/LRQ5jEWhbMysnQZYZcaWOvLz/D6DZUNBUfZDxCwUyO5Xl1d1b2270nnHDXI E+N4NTpAVggHTU1OzIzj6DLUIoevNuG55HCeaFeg2zuXqMARIQT0MGv3770P7lb2vniv a5B1LcKEPJJx3eSvT5acSLWB5H3KmqBCUy10FGCMPXfdg36DsQ2Uns/JrmNW1fIpIl6R v3iq6CpN8bBTwcyBN6mubgVs8ryXe8KgYtI8OTCZpcLEvRQZce85WCEazpSOAvB71fU+ 9ARw== X-Gm-Message-State: ALoCoQkSJ07e05VBJCb52KMDqxbamFcxxfbfjrM/TBV+PwtBi57j1t2s8zgvxWUiOGm+5izm+0AP MIME-Version: 1.0 X-Received: by 10.202.82.151 with SMTP id g145mr216813oib.30.1438786432474; Wed, 05 Aug 2015 07:53:52 -0700 (PDT) Received: by 10.202.226.146 with HTTP; Wed, 5 Aug 2015 07:53:52 -0700 (PDT) In-Reply-To: References: Date: Wed, 5 Aug 2015 10:53:52 -0400 Message-ID: From: Kamraan Nasim To: Vladimir Medvedkin Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" , Jun Du Subject: Re: [dpdk-dev] Changes to 5tuple IPv4 filters in dpdk v2.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2015 14:53:53 -0000 Hi Vladimir, Thank you for the link. Seems to simply be an abstraction over the existing filters so it is safe for me to upgrade to v2.0 :) Since we are on the subject, are you aware of any filters on 82599 or Fortville that may provide subnet filtering(I can specify something like 192.168.0.0/16 instead of host addresses)? What about flow director filters? --Kam On Tue, Aug 4, 2015 at 5:40 PM, Vladimir Medvedkin wrote: > Hi Kam, > > 1) The reason is discussed in > http://dpdk.org/ml/archives/dev/2014-September/005179.html > 2) No, it's still not supported (on current NICs). At the moment ntuple is > supported only by igb and ixgbe. If you look at > drivers/net/ixgbe/ixgbe_ethdev.c you can see ntuple_filter_to_5tuple > function which translate rte_eth_ntuple_filter to ixgbe_5tuple_filter_info, > so mask can be either UINT32_MAX or 0. It's hardware limitation (see 82599 > datasheet 7.1.2.5 L3/L4 5-tuple Filters). > > Regards, > Vladimir > > 2015-08-04 23:44 GMT+03:00 Kamraan Nasim : > >> Hi DPDK community, >> >> I've been using DPDK v1.7 and v1.8 for the past year. On updating to >> v2.0.0, I see that *rte_5tuple_filter* has been deprecated as well as the >> associated install/remove call,* rte_eth_dev_add_5tuple_filter()* >> >> I now see that rte_eth_ntuple_filter has been added in place. >> >> 1) Is there a specific reason for removing backward compatibility? As in >> is >> there a known issue with rte_5tuple_filter infra that was discovered in >> v2.0? >> >> >> 2) One limitation of rte_5tuple_filter was that it could not be used to >> filter /24 or /16 ip addresses(subnet filtering). I now see that the >> src_ip_mask and dst_ip_mask is 32 bits and a separate >> RTE_NTUPLE_FLAGS_SRC_IP >> < >> http://dpdk.org/doc/api/rte__eth__ctrl_8h.html#aff1204ca0b33628610956f840dd9b206 >> > >> has been introduced. Does this imply that we NOW support subnet >> filtering(use mask for wildcard masking)? >> >> >> Any help or pointers on the subject will be greatly appreciated!!! >> >> >> Thanks, >> Kam >> > >