From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 64541A0A03 for ; Sun, 17 Jan 2021 23:04:34 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8E842140D37; Sun, 17 Jan 2021 23:04:20 +0100 (CET) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by mails.dpdk.org (Postfix) with ESMTP id E3731140DCB for ; Sat, 16 Jan 2021 09:45:59 +0100 (CET) Received: by mail-qk1-f182.google.com with SMTP id f26so14157681qka.0 for ; Sat, 16 Jan 2021 00:45:59 -0800 (PST) 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=9gLeWMdPWX05Wvb6gN7dBCnSjUzytY7Q+DKilTJBy/s=; b=SETJfxGehpdiaBCpzM7UiTFDS/gvBjcfg8BTUWJ76udvE6MG8yLeJP8PhktCBiTScf O4Q2NVn/S8XmG3lVMpMkGWBdMc5Zz20k7M8kSkW6z21jthVEOEIEGRfrk67QlyF2ZCab ZNF+JsOfvKuhU84FSmfzKqkpGRZFH+kyd2m0p8qW/gXe3INt3xk/vQ6WYZkIya631DTd 7I15KjzaORgyrhrBVONdGt8rrov2R6cHywruN+qGoo7NI3p2YelY4hr3fuBHk42vNzO+ OOTW5YUJT0t3zATQtYwcFrBg479dUaJAgmBtmT8WHCcv40bhnDcOKEX20RbU/QfhGHrM O0cg== 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=9gLeWMdPWX05Wvb6gN7dBCnSjUzytY7Q+DKilTJBy/s=; b=O9YXKGPu/Xg4ocZSfWAuztfyUHv0zWQnGSeXM/urSYayyskwAtWvM0iCHexdSptSCp EIYMr/8I8hz1aVhDgDJB5ychKZjn+zMeHI0Rdtz60A0E6x2JZ055rd/8kyZhlcQ2DyKs 1RjmQmtuYwqNfU5qBMmkhyk+L9fXsZvoXO3xLwoG3XWRM4oJ0cvv/VQauIMV4K477A19 W8DJwUKm8lkwkU6tDoA4EAJ+wHGYhQvgXolINCYEAXP9gp4lQjALk7t99NAz8gRAChFZ x60qpZNSaMZPS2dZLEwoF4LoTF862bcn82AD4rnbF5TAC1X2jDaM0cPNrA2PgGwBPJvS 9rwA== X-Gm-Message-State: AOAM531QCHBC8tL2hgBgkadjcgnFint20o8xs82A4aAENXFncSL4hG9z x7IWYZOIzkVoFhD/mR6+SEtnv5uFTD9CuOBKv+m1TBcKLt/ezw== X-Google-Smtp-Source: ABdhPJxOUY8Sb8JiI2T602E8wt1LuEZQX47+PP7HZa9DyRQyt7yWZRHL7fDLK3+NW9H6XyqPxlw6MLf1tjIayq/Yfs0= X-Received: by 2002:a05:620a:1392:: with SMTP id k18mr16332969qki.225.1610786758988; Sat, 16 Jan 2021 00:45:58 -0800 (PST) MIME-Version: 1.0 From: raktim bhatt Date: Sat, 16 Jan 2021 14:15:46 +0530 Message-ID: To: users@dpdk.org X-Mailman-Approved-At: Sun, 17 Jan 2021 23:04:17 +0100 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-users] DPDK: MPLS packet processing X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi All, I am trying to build a multi-RX-queue dpdk program, using RSS to split the incoming traffic into RX queues on a single port. Mellanox ConnectX-5 and DPDK Version 19.11 is used for this purpose. It works fine when I use IP over Ethernet packets as input. However when the packet contains IP over MPLS over Ethernet, RSS does not seem to work. As a result, all packets belonging to various flows (with different src & dst IPs, ports over MPLS) are all sent into the same RX queue. My queries are 1. Is there any parameter/techniques in DPDK to distribute MPLS packets to multiple RX queues? 2. Is there any way to strip off MPLS tags (between Eth and IP) in hardware, something like hw_vlan_strip? My Port configuration is const struct rte_eth_conf default_port_conf = { .rxmode = { .hw_vlan_strip = 0, /* VLAN strip enabled. */ .header_split = 0, /* Header Split disabled. */ .hw_ip_checksum = 0, /* IP checksum offload disabled. */ .hw_strip_crc = 0, /* CRC stripping by hardware disabled. */ }, .rx_adv_conf = { .rss_conf = { .rss_key = NULL, .rss_key_len = 0, .rss_hf = ETH_RSS_IP, }, } }; _______________________ Thanks and Regards Raktim Bhatt