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 06B63A0C41; Sat, 9 Oct 2021 13:09:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B31AA40040; Sat, 9 Oct 2021 13:09:29 +0200 (CEST) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by mails.dpdk.org (Postfix) with ESMTP id 017854003C for ; Sat, 9 Oct 2021 13:09:27 +0200 (CEST) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.55]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4HRMjP4HgZz1DHSq; Sat, 9 Oct 2021 19:07:53 +0800 (CST) Received: from dggema767-chm.china.huawei.com (10.1.198.209) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.8; Sat, 9 Oct 2021 19:09:25 +0800 Received: from [10.67.103.231] (10.67.103.231) by dggema767-chm.china.huawei.com (10.1.198.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Sat, 9 Oct 2021 19:09:24 +0800 Message-ID: Date: Sat, 9 Oct 2021 19:09:24 +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 To: "Ananyev, Konstantin" , "Yigit, Ferruh" , Jerin Jacob , "Li, Xiaoyun" , Ajit Khaparde , "Somnath Kotur" , Igor Russkikh , Somalapuram Amaranath , Rasesh Mody , Shahed Shaikh , Chas Williams , "Min Hu (Connor)" , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Rahul Lakkireddy , Hemant Agrawal , Sachin Saxena , "Wang, Haiyue" , Marcin Wojtas , Michal Krawczyk , Shai Brandes , Evgeny Schemeilin , Igor Chauskin , Gagandeep Singh , "Daley, John" , Hyong Youb Kim , Gaetan Rivet , "Zhang, Qi Z" , "Wang, Xiao W" , Ziyang Xuan , Xiaoyun Wang , Guoyang Zhou , Yisen Zhuang , Lijun Ou , "Xing, Beilei" , "Wu, Jingjing" , "Yang, Qiming" , Andrew Boyer , "Xu, Rosen" , Matan Azrad , "Viacheslav Ovsiienko" , Zyta Szpak , Liron Himi , Heinrich Kuhn , "Harman Kalra" , Nalla Pradeep , "Radha Mohan Chintakuntla" , Veerasenareddy Burru , Devendra Singh Rawat , Andrew Rybchenko , Maciej Czekaj , "Jiawen Wu" , Jian Wang , "Maxime Coquelin" , "Xia, Chenbo" , Yong Wang , "Nicolau, Radu" , Akhil Goyal , "Hunt, David" , "Mcnamara, John" , Thomas Monjalon CC: "dev@dpdk.org" , "Yigit, Ferruh" References: <20211001143624.3744505-1-ferruh.yigit@intel.com> <20211007165626.2941995-1-ferruh.yigit@intel.com> <20211007165626.2941995-4-ferruh.yigit@intel.com> From: "lihuisong (C)" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.103.231] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggema767-chm.china.huawei.com (10.1.198.209) X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH v5 4/6] ethdev: remove jumbo offload flag 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 Sender: "dev" 在 2021/10/9 1:11, Ananyev, Konstantin 写道: > >> Removing 'DEV_RX_OFFLOAD_JUMBO_FRAME' offload flag. >> >> Instead of drivers announce this capability, application can deduct the >> capability by checking reported 'dev_info.max_mtu' or >> 'dev_info.max_rx_pktlen'. >> >> And instead of application setting this flag explicitly to enable jumbo >> frames, this can be deduced by driver by comparing requested 'mtu' to >> 'RTE_ETHER_MTU'. >> >> Removing this additional configuration for simplification. >> >> Suggested-by: Konstantin Ananyev >> Signed-off-by: Ferruh Yigit >> Acked-by: Andrew Rybchenko >> Reviewed-by: Rosen Xu >> Acked-by: Somnath Kotur >> --- > Acked-by: Konstantin Ananyev +1 Acked-by: Huisong Li > >> 2.31.1 > .