From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 252503B5; Fri, 28 Apr 2017 11:46:17 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id r190so41683776wme.1; Fri, 28 Apr 2017 02:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=l1gitkMsjL9khMEwgmjN5YBNZ7UREY+Nz+VDMJhZgiw=; b=PBY/WjGgP/+hgxaDRT3rHvTvwpR8nF3jiI9ZfI+F1NnR3Vk8YFiysMqeozWOTvM4w5 XpVKOXBkiDTSMuMaJykQ7vy5XAVAppdDwEdPMef5LUIBaF1tWQq1dFCC+10wOKgwcEsR 1jI4HCskwR9RDVSLRaxnSZRs+RWQOwn4A2mEIOtD3jaR8TledrtQ78BmcvFtIvb12MLN pu4/Jd0RJvS4Zu57P45GzsqBgWKPworfc2+mT7vjZB73yuZe1qSxoFRC4UOnsXG8uUJn PiBJPDDJJOT3RjOTzmsfiVINiCmFFvW/koMV6lGW8gqm/24YT+3h04bDNY7Of8jKMfjp eEow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=l1gitkMsjL9khMEwgmjN5YBNZ7UREY+Nz+VDMJhZgiw=; b=s0tT/5/aNNwS124r7kUjMiILHYcKT6dsSkty38IeAmL6CqiYju4eE8XvG4p3xRxV04 JdgVwfFGnId1idLYe/YGvIpoXaxm4ZxTGWSPlYrw21fbzXo3uLwe3RfnUsPGVFbCILKk 8h7KTTveSrTEcSa/iDCG0nseij5qY3YBVD8xipHg7dYaTPgs2xnXjSGC4hY9oxNAwlz9 ZSTu+DIoqvw0Z+TIaqoj+xUcvTSHYJn1MIKk8V0xWW+SLGWUvPNczZWXkTXLYBck+8t2 jeLgsmW4YYS1fy0dinE5XsBf6WSphOJJvV0FVnQSth9Sq7VVFrDU/MpVx8bxHyzL6v66 pBag== X-Gm-Message-State: AN3rC/7DNKYLdNnZBGxd7WXet8smix6Df6hH7n0l6TmeyYzZZ5SDHOQg 1F9dLol3Y5pJTp1s5LjHH5JhroigwA== X-Received: by 10.28.158.82 with SMTP id h79mr5229587wme.59.1493372776572; Fri, 28 Apr 2017 02:46:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.130.42 with HTTP; Fri, 28 Apr 2017 02:46:16 -0700 (PDT) From: Nidhia Varghese Date: Fri, 28 Apr 2017 15:16:16 +0530 Message-ID: To: dev@dpdk.org, users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Adding multiple fields as key in ip_pipeline application 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: Fri, 28 Apr 2017 09:46:17 -0000 Hi, I am developing an application in which I need to use both incoming port and vlan as the key for the flow table. Port field is available at 24th byte of mbuf and vlan(single tagged) will be at 268th byte (128 mbuf + 128 headroom + 12 ethernet header). How can I represent this in my config file in the src_mask field? Is there any way to take these fields separately and keep in headroom and then use them to calculate hash for lookup? Thanks for your reply and help. Regards, Nidhia Varghese