From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ILCAS1.corp.radware.com (mailout1.radware.com [192.115.180.130]) by dpdk.org (Postfix) with ESMTP id EDF332E8F for ; Thu, 2 Apr 2015 12:26:48 +0200 (CEST) Received: from ILMB1.corp.radware.com ([169.254.1.165]) by ILCAS1.corp.radware.com ([176.200.120.121]) with mapi id 14.03.0210.002; Thu, 2 Apr 2015 13:26:47 +0300 From: Nissim Nisimov To: "'dev@dpdk.org'" Thread-Topic: calling rte_eth_rx_queue_setup from secondary processes Thread-Index: AQHQbS+FBze3VTrpUUKLXCfC5+L0PA== Date: Thu, 2 Apr 2015 10:26:47 +0000 Message-ID: <94AA676E9B9A384A844E7692F3CAD906423CC12E@ILMB1.corp.radware.com> References: <94AA676E9B9A384A844E7692F3CAD906423BDF6F@ILMB1.corp.radware.com> In-Reply-To: <94AA676E9B9A384A844E7692F3CAD906423BDF6F@ILMB1.corp.radware.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [176.200.121.201] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] calling rte_eth_rx_queue_setup from secondary processes 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: Thu, 02 Apr 2015 10:26:49 -0000 Hi all, I wonder if there is a possibility to call rte_eth_rx_queue_setup() from di= fferent processes (for different RSS queues off course) For example, the code will look something like: >>From Process 1: retval =3D rte_eth_rx_queue_setup(port_num, 0, rx_ring_size, rte_eth_dev_soc= ket_id(port_num), &rx_conf_default, dpdk_mp_handle); from process 2: retval =3D rte_eth_rx_queue_setup(port_num, 1, rx_ring_size, rte_eth_dev_soc= ket_id(port_num), &rx_conf_default, dpdk_mp_handle); I know that rte_eth_rx_queue_setup() is not meant to work on secondary proc= esses but my question is if there is a real reason for it. and if it can be= changed so it will indeed work in such case Thanks! Nissim