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 97882A0548; Thu, 11 Nov 2021 09:40:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 533B740E28; Thu, 11 Nov 2021 09:40:36 +0100 (CET) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by mails.dpdk.org (Postfix) with ESMTP id 547E740E03 for ; Thu, 11 Nov 2021 09:40:34 +0100 (CET) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4HqZqX4yw6z1DJQ0; Thu, 11 Nov 2021 16:38:16 +0800 (CST) Received: from kwepemm600004.china.huawei.com (7.193.23.242) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Thu, 11 Nov 2021 16:40:31 +0800 Received: from [10.67.103.231] (10.67.103.231) by kwepemm600004.china.huawei.com (7.193.23.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Thu, 11 Nov 2021 16:40:31 +0800 Message-ID: Date: Thu, 11 Nov 2021 16:40:30 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: Question about RSS offload types To: Thomas Monjalon CC: "dev@dpdk.org" , Ferruh Yigit , , , , , References: <02f1634c-bd47-24f7-858b-80b3e006ea73@huawei.com> <5547595.6aP3pihIX3@thomas> From: "lihuisong (C)" In-Reply-To: <5547595.6aP3pihIX3@thomas> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.103.231] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemm600004.china.huawei.com (7.193.23.242) X-CFilter-Loop: Reflected X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi, PMD maintainers How do you understand and implement these values? Looking forward to your reply. Thanks. 在 2021/11/3 16:04, Thomas Monjalon 写道: > 03/11/2021 02:35, lihuisong (C): >> Below macros are defined for RSS offload types in rte_ethdev.h. >> >> #define *ETH_RSS_IPV4 * (1ULL << 2) >> #define ETH_RSS_FRAG_IPV4 (1ULL << 3) >> #define ETH_RSS_NONFRAG_IPV4_TCP (1ULL << 4) >> #define ETH_RSS_NONFRAG_IPV4_UDP (1ULL << 5) >> #define ETH_RSS_NONFRAG_IPV4_SCTP (1ULL << 6) >> #define *ETH_RSS_NONFRAG_IPV4_OTHER* (1ULL << 7) >> >> What types of packets do ETH_RSS_IPV4 and ETH_RSS_NONFRAG_IPV4_OTHER refer >> to respectively, and what are the differences between them? > I understand why you have this question, > but we should not have this kind of basic question if the API > was properly documented. > Please let's check all PMDs have the same expectation regarding > these values and let's document it with Doxygen comments. > > PMD maintainers, how do you understand and implement these values? > > > .