From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it1-f175.google.com (mail-it1-f175.google.com [209.85.166.175]) by dpdk.org (Postfix) with ESMTP id 4EA655A4A for ; Mon, 28 Jan 2019 18:02:43 +0100 (CET) Received: by mail-it1-f175.google.com with SMTP id a6so20371338itl.4 for ; Mon, 28 Jan 2019 09:02:43 -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=1RsbvS5eMgENAYQAWiGvNRZnoIcDtMBvZkUG8HD2NHs=; b=UY/bmie+F8SqnQwySPD0zq8B6x/dBoM4kAjEl+KX2p2vqLRHhGRQHnfl1YK5YjJaFp EbKCsbLCvo+Z+7YbjfgeDaRyYpCCDY73Y8fNbcCoH4rUu/YCGAykPfu2IK5qUKT/0AfH D2jxNP5h6IZ6C8qnfB/efCaM3uQY/N7J1YKLk5COQs2RLw3KmU0/Ruf9yas3wZBIAqYA nTHQMBkaUYTABnvvf5Z4cxH0W7V6LyVrwrGgioiVIO0LkvVBEAOkNQ3IIIOZmcsUaPY+ LsaELUtHrVgR04MOQMdOkmX17S/RtJu7Q+K2LPwj9uP1fQlcqsxMtLYLx8fAmNU/kfOW LM2g== 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=1RsbvS5eMgENAYQAWiGvNRZnoIcDtMBvZkUG8HD2NHs=; b=c7x1cMHs2FBGVhLl2jUYCoPlWqCNjz5nv/YEczC1tfyULJVtwGjyTvElX4e1zU+oQh KXGWIt5a4YoVJ5kOZVXj5GPFe7nSdz62rAPpxjkTj2gJ0jWMMt8NYuwmu9aYTe86CShh 5iTlxwjZIjUeEtlfX/njZa3GEuK3BDY3YDDHtt/eXM/Zgb23bbjLjd1Gx4fIkcDrwbOl Gr1l+6ly4oZaPueztZYXNxiXKdZ9q4UG9LO81uhg8Kq/8bcFhIAOTNBYoJ5Jto4YtwSl dv/oozyqU1WyPpPfAu0kXU+fLZB4jC9gFkptus7wrIPoYv1S5S+X1Fy/UjzYQb0b5kVJ Aq2A== X-Gm-Message-State: AJcUukeElcIj+50/W0qOPpBBusXbwn/1yZ4hbU7JwtcXGJdqpD2zEpww 0y9XuQ07VyUPap5ECpwrzqw8BOv6nnceJhLVxNt1WAF7 X-Google-Smtp-Source: ALg8bN760ujiOTvCwaMpkXDBBHbJMxv4rDg8dAf7dvMxNiHTfOBUwSCIle9cdSh559/8zcl5kkJnU3fHSV9zlSTu35A= X-Received: by 2002:a05:660c:54d:: with SMTP id w13mr981473itk.50.1548694962467; Mon, 28 Jan 2019 09:02:42 -0800 (PST) MIME-Version: 1.0 From: ikuzar RABE Date: Mon, 28 Jan 2019 18:02:32 +0100 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] ERROR with rte_eth_dev_configure() call: return value: -22 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, 28 Jan 2019 17:02:43 -0000 Hi all, I work with DPDK LTS version 18.11 to read packets from XL710-QDA2 with configuration 2x40 So there are 2 ports: port 0 and port 1. Port 0 is not linked and it is down. Packets only arrive on port 1. I try to activate RSS but rte_eth_dev_configure() return value -22 and I get the following message error: Ethdev port_id=0 invalid rss_hf: 0x3afbc, valid value: 0x7ef8 What goes wrong with the call of this function ? #define RX_QUEUE_NUM 2 #define TX_QUEUE_NUM 1 #define SOCKET_ID 0 #define RX_QUEUE_DESC_NUM 1024 #define TX_QUEUE_DESC_NUM 0 struct rte_eth_conf port_conf = { .rxmode = { .mq_mode = ETH_MQ_RX_RSS, }, .rx_adv_conf = { .rss_conf = { .rss_hf = ETH_RSS_IP | ETH_RSS_TCP | ETH_RSS_UDP | ETH_RSS_SCTP, } }, }; ret = rte_eth_dev_configure(port_id, RX_QUEUE_NUM, TX_QUEUE_NUM, &port_conf); // ret = -22 Thanks for your help, ikuzar