From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f48.google.com (mail-vk0-f48.google.com [209.85.213.48]) by dpdk.org (Postfix) with ESMTP id 46C567D27 for ; Tue, 30 May 2017 11:15:06 +0200 (CEST) Received: by mail-vk0-f48.google.com with SMTP id x71so41904144vkd.0 for ; Tue, 30 May 2017 02:15:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os-korea-ac-kr.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=tD/ClsAz8mV8j/sH6pe8RNWTJIjsRaQAyX9KXedQlJg=; b=RzyvYK4HoAm74vWntt101Zmm+N1xPDSvVosfR0BTV7CQqtp0WCTev0oZs1dlAwj/yx cmNsfIRCzMoyM8Nx1M1y9a8BtrUIvZG8jnex6ihaEfVYSgFzoyFY8L6qjWQCplW4jiqT yyprgy0JhEgZM0t4ledXpL9oZONesgiQH5W5F08bnAavYGLrz/O3wIr5kEwnEhjUQpq5 Rk22Tj/GGNlaKl3p0DyCqO3JNiBxR0IaFzIl5OIKGSL1FpAV6+Bz5R+k999lAPL4GNVX ebWfcFLVCGbeqJ1xuN8RNAwOw6DQGzrzKT7ph10p5t9frIffXqO1jfgqfBJrb+rBhHOt tVxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=tD/ClsAz8mV8j/sH6pe8RNWTJIjsRaQAyX9KXedQlJg=; b=jMvm3MqX7F5QK8VvmaYOSnxG0ruqXm1tpfEZEO3f2htte70p0MnYKTrl2qXHrYDfNS GhRftX9tcDIAmpJtekPGw7qmFhzsMSP662E6pboKL5UX/rnpdZH14L016XfifbgGqx7d VvGsYQj52dK2lpHGT+ogVnNMeAV6FawGJ8snDKgget084Yas0hToy6hJX3EcVLJ4nQsc 5TJXsrq6mNP8VWvilL3nuYODrfg8h6BKrI8jTsI6p282mXTG0eGIneXi/tPoZh6VnhaD 2Y1UcfdqdIK6Kokc42SOSBJTen5/Fi3+kVq/gosu5jjsxCAHCfZvCjAA5hmQ8RQ9hCqY +1mQ== X-Gm-Message-State: AODbwcApBXYwlmNyx275Cl0w4INlXd2sQGn/toiqHiQ2c9xlwvRStddt 76+hDQo9Ns2c44/nF12hpWo6Fj+HneG0 X-Received: by 10.31.149.75 with SMTP id x72mr9027864vkd.83.1496135705988; Tue, 30 May 2017 02:15:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.180.129 with HTTP; Tue, 30 May 2017 02:15:05 -0700 (PDT) In-Reply-To: References: From: Heung Sik Choi Date: Tue, 30 May 2017 18:15:05 +0900 Message-ID: To: Vladimir Medvedkin , users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] does the 'rte_softrss_be' function match NIC RSS value well? please help me. 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: Tue, 30 May 2017 09:15:07 -0000 Thanks to reply Vladimir. I does not custom configure ixgbe, thus default compile and load. My calculation softrss code is below: uint8_t rss_key_be[RTE_DIM(default_rss_key)]; uint8_t default_rss_key[] = { 0x6d, 0x5a, 0x56, 0xda, 0x25, 0x5b, 0x0e, 0xc2, 0x41, 0x67, 0x25, 0x3d, 0x43, 0xa3, 0x8f, 0xb0, 0xd0, 0xca, 0x2b, 0xcb, 0xae, 0x7b, 0x30, 0xb4, 0x77, 0xcb, 0x2d, 0xa3, 0x80, 0x30, 0xf2, 0x0c, 0x6a, 0x42, 0xb7, 0x3b, 0xbe, 0xac, 0x01, 0xfa }; rte_convert_rss_key((uint32_t *)&default_rss_key,(uint32_t *)rss_key_be, RTE_DIM(default_rss_key)); rte_softrss_be((uint32_t *)&tuple, RTE_THASH_V4_L4_LEN, rss_key_be);// print it. i used rte convert_rss_key's implementation code which be base in X86. i also change the RTE_THASH_V4_L4_LEN parameter with RTE_THASH_V4_L3_LEN. but doesn't match. Is it wrong to use it that way? please help me. 2017-05-30 17:01 GMT+09:00 Vladimir Medvedkin : > Hi, > > How do you configure your NIC and calculate softrss? > > > 2017-05-30 10:47 GMT+03:00 Heung Sik Choi : > >> Hi >> >> I want to match NIC RSS value with toeplitz hash function value. And I >> find >> out 'rte_softrss_be' can makes it. >> >> However, when I experiment it, It doesn't match well. (print two value on >> terminal through code level) >> I use the environment below: >> >> CPU: xeon 2213 v2 *2 (NUMA) >> NIC: intel 82599ES >> kernel 3.16.4 >> ixgbe driver: 3.22 >> DPDK 16.11 >> >> Please let me know if you have any insights. >> > > > > -- > Regards, > Vladimir >