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 90D0C41DE6 for ; Mon, 6 Mar 2023 13:54:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 698F240A8A; Mon, 6 Mar 2023 13:54:28 +0100 (CET) Received: from mail-oa1-f98.google.com (mail-oa1-f98.google.com [209.85.160.98]) by mails.dpdk.org (Postfix) with ESMTP id 5B3B640A8A for ; Mon, 6 Mar 2023 13:54:27 +0100 (CET) Received: by mail-oa1-f98.google.com with SMTP id 586e51a60fabf-1763e201bb4so11253055fac.1 for ; Mon, 06 Mar 2023 04:54:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1678107266; h=date:message-id:cc:to:from:subject:from:to:cc:subject:date :message-id:reply-to; bh=fNb8N7kRiusYbz4/f8mcB4mvlYzDcE7GhF9Jakgou7A=; b=NMPCVh4RGQ4E7JkczJdpem/H05+UkY24/PL7PwRokiM4jsjRsqYtw6GGd9Qc1UowmT qyENI4njCySuNsON5OgDjwbM/dnaET+BOSqhY2PhZB6b/S5P9Bf6XJ5BqkpfzuKO4YhR mvXADcWPvL3/TdklTflDOvPBCno2iqAehNZMU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678107266; h=date:message-id:cc:to:from:subject:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fNb8N7kRiusYbz4/f8mcB4mvlYzDcE7GhF9Jakgou7A=; b=6ZUwm5rCf3WV4uf/IZvtOWcsqVwB6KMQmOxkcqHbauJWs4c2lwmZccvNa0L/ZKkpid JhZhDBHPDTYStAB2tN34D+INFDl1el0nic0YOyLLK5UMDlhlnqzSBAl9AdUTGKE6q4rT OiTNxf9BKWbT1ptFIfPRKnyB4T8TlsNT1REQG+8/A3X96BKJF+A8bHVO9SmFFMtfcUMp SrZ4V99vTtN6v/MI9lwYvVhLG937h/aHsCFvBwIAx64lNqKJ2xPVBMgPec2+tULxEvT1 QZB8fyX564cKuTDBlaJh4RmiNMFPTm1FYUe5X9c/72RCBLwJdILL1tbqU6xwRA9eTEY1 LbIA== X-Gm-Message-State: AO0yUKUU/Qb4pAOh4VOZWs/2+ZH1A28oloab6WTBrr/XDQ9iEpwiSvNq HyxHaLLlL5XsxTfYYnCcWAyCyefQhHw1O5BKOr0S/QS89Pp/On4qo+yrUv62ISexQej+K/M5XQ= = X-Google-Smtp-Source: AK7set8x3+f5Hh3CExNTbV1TAA1WiJhAz9l7a0QVHjunPFbNqBzuz06SisnIZKjDtzMw+dCjGbaj0QnPFLUJ X-Received: by 2002:a05:6870:c6a8:b0:16d:e12c:fa70 with SMTP id cv40-20020a056870c6a800b0016de12cfa70mr7436513oab.50.1678107266606; Mon, 06 Mar 2023 04:54:26 -0800 (PST) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id x3-20020a056870740300b00172475b6960sm782517oam.37.2023.03.06.04.54.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Mar 2023 04:54:26 -0800 (PST) X-Relaying-Domain: iol.unh.edu Received: from dpdk-ubuntu.dpdklab.iol.unh.edu (unknown [172.18.0.210]) by postal.iol.unh.edu (Postfix) with ESMTP id 2F090605246B; Mon, 6 Mar 2023 07:54:26 -0500 (EST) Received: from dpdk-ubuntu-2.dpdklab.iol.unh.edu (localhost [IPv6:::1]) by dpdk-ubuntu.dpdklab.iol.unh.edu (Postfix) with ESMTP id 259E060095; Mon, 6 Mar 2023 12:54:26 +0000 (UTC) Subject: |WARNING| pw124813 [PATCH] [v7] net/i40e: fix max frame size configuration From: dpdklab@iol.unh.edu To: test-report@dpdk.org Cc: dpdk-test-reports@iol.unh.edu Content-Type: text/plain Message-Id: <20230306125426.259E060095@dpdk-ubuntu.dpdklab.iol.unh.edu> Date: Mon, 6 Mar 2023 12:54:26 +0000 (UTC) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/124813 _apply patch failure_ Submitter: Simei Su Date: Monday, March 06 2023 12:18:53 Applied on: CommitID:4ef69b2877a24ddb89afaf4bb6f4e73bb52a605b Apply patch set 124813 failed: Checking patch drivers/net/i40e/i40e_ethdev.c... error: while searching for: */ i40e_add_tx_flow_control_drop_filter(pf); /* Set the max frame size to 0x2600 by default, * in case other drivers changed the default value. */ i40e_aq_set_mac_config(hw, I40E_FRAME_SIZE_MAX, TRUE, false, 0, NULL); /* initialize RSS rule list */ TAILQ_INIT(&pf->rss_config_list); error: patch failed: drivers/net/i40e/i40e_ethdev.c:1710 error: while searching for: uint32_t intr_vector = 0; struct i40e_vsi *vsi; uint16_t nb_rxq, nb_txq; hw->adapter_stopped = 0; error: patch failed: drivers/net/i40e/i40e_ethdev.c:2332 Hunk #3 succeeded at 2449 (offset 1 line). error: while searching for: "please call hierarchy_commit() " "before starting the port"); return I40E_SUCCESS; tx_err: error: patch failed: drivers/net/i40e/i40e_ethdev.c:2470 Applying patch drivers/net/i40e/i40e_ethdev.c with 3 rejects... Rejected hunk #1. Rejected hunk #2. Hunk #3 applied cleanly. Rejected hunk #4. hint: Use 'git am --show-current-patch' to see the failed patch diff a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c (rejected hunks) @@ -1710,11 +1710,6 @@ eth_i40e_dev_init(struct rte_eth_dev *dev, void *init_params __rte_unused) */ i40e_add_tx_flow_control_drop_filter(pf); - /* Set the max frame size to 0x2600 by default, - * in case other drivers changed the default value. - */ - i40e_aq_set_mac_config(hw, I40E_FRAME_SIZE_MAX, TRUE, false, 0, NULL); - /* initialize RSS rule list */ TAILQ_INIT(&pf->rss_config_list); @@ -2332,6 +2327,7 @@ i40e_dev_start(struct rte_eth_dev *dev) uint32_t intr_vector = 0; struct i40e_vsi *vsi; uint16_t nb_rxq, nb_txq; + uint16_t max_frame_size; hw->adapter_stopped = 0; @@ -2470,6 +2466,13 @@ i40e_dev_start(struct rte_eth_dev *dev) "please call hierarchy_commit() " "before starting the port"); + max_frame_size = dev->data->mtu ? + dev->data->mtu + I40E_ETH_OVERHEAD : + I40E_FRAME_SIZE_MAX; + + /* Set the max frame size to HW*/ + i40e_aq_set_mac_config(hw, max_frame_size, TRUE, false, 0, NULL); + return I40E_SUCCESS; tx_err: https://lab.dpdk.org/results/dashboard/patchsets/25623/ UNH-IOL DPDK Community Lab