From patchwork Thu Oct 5 14:08:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Roger_Pau_Monn=C3=A9?= X-Patchwork-Id: 13410093 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D06F1E92703 for ; Thu, 5 Oct 2023 14:09:11 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.613025.953274 (Exim 4.92) (envelope-from ) id 1qoP27-0007Sb-QM; Thu, 05 Oct 2023 14:08:55 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 613025.953274; Thu, 05 Oct 2023 14:08:55 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qoP27-0007SU-Ne; Thu, 05 Oct 2023 14:08:55 +0000 Received: by outflank-mailman (input) for mailman id 613025; Thu, 05 Oct 2023 14:08:53 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qoP25-0007Om-8B for xen-devel@lists.xenproject.org; Thu, 05 Oct 2023 14:08:53 +0000 Received: from esa2.hc3370-68.iphmx.com (esa2.hc3370-68.iphmx.com [216.71.145.153]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id b400c19d-6388-11ee-98d3-6d05b1d4d9a1; Thu, 05 Oct 2023 16:08:51 +0200 (CEST) Received: from mail-dm6nam12lp2169.outbound.protection.outlook.com (HELO NAM12-DM6-obe.outbound.protection.outlook.com) ([104.47.59.169]) by ob1.hc3370-68.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 05 Oct 2023 10:08:46 -0400 Received: from SJ0PR03MB6423.namprd03.prod.outlook.com (2603:10b6:a03:38d::21) by PH7PR03MB7440.namprd03.prod.outlook.com (2603:10b6:510:2f2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.26; Thu, 5 Oct 2023 14:08:41 +0000 Received: from SJ0PR03MB6423.namprd03.prod.outlook.com ([fe80::66ca:3a42:baeb:9ecf]) by SJ0PR03MB6423.namprd03.prod.outlook.com ([fe80::66ca:3a42:baeb:9ecf%6]) with mapi id 15.20.6838.030; Thu, 5 Oct 2023 14:08:41 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: b400c19d-6388-11ee-98d3-6d05b1d4d9a1 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1696514931; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=jhJprP/Y3sHqA4lYHNR4CrEhesGEw8hOqJOA6HojK/E=; b=FkCWQnOH23E1U3I07+wCv8mrhqnFEtyfdhrqv46+3bK3ZJgBhu8nvxXM uGPxBrHitN4hfI7a+puxc4/yzvbEPRcLqIoDaUbt1HPfgAqSX4h+VwNg4 QBs3Z1NymIjk/GjVoKValLCupqed5mHtn5EHj3oTDUvqDFlYpEF67uh7+ Q=; X-CSE-ConnectionGUID: BQPX1hoCTpGHuhImxarX4g== X-CSE-MsgGUID: 5TyoGeXGQn662gXGyV5Qzw== X-IronPort-RemoteIP: 104.47.59.169 X-IronPort-MID: 124588987 X-IronPort-Reputation: None X-IronPort-Listener: OutboundMail X-IronPort-SenderGroup: RELAY_O365 X-IronPort-MailFlowPolicy: $RELAYED X-Threat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yrlbOIVvZGDNittwE0Z4= IronPort-HdrOrdr: A9a23:L8kFEK4NPcTZKfYNmQPXwPPXdLJyesId70hD6qkRc20tTiX8ra uTdZsgpHjJYVoqKRIdcKm7WJVoIkmsk6Kdg7N9AV7KZmCP0ldASrsSj7cKqAeQfxEWmNQtsJ uIRJITNDQgNzlHZZeT2meF+4hJ+ra6zJw= X-Talos-CUID: 9a23:zkGYzGwLofFWyM2AjNTPBgU+I/gVK33a50vIDG+lCUdsWLSPeQOfrfY= X-Talos-MUID: 9a23:87JvHAj3ufVtsXTbimX6wMMpaft55IujOG80l8tY4ca0Gj1OZg6Pk2Hi X-IronPort-AV: E=Sophos;i="6.03,203,1694750400"; d="scan'208";a="124588987" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MSQxKfBr/pRmoXlVFFgRSOu5iK+iotTFQWvT+pB/btllaqNmzp0+fU8131cOuT1p/WdObIENBcqci1T50LwyXvbCW20uzkarQmUntHHWwUxEUB2MOCQanCb2xHHdbt64TBOsNv89UgOlQFj6HzKKABSeHY5jackrBnVT4qTPDwJRrb/2l65C8hG+ixPtS4lUbI/1HZG3d+A8lbf+0j2Y4vPEojK65n+zbzYJQBYwSVLE9iBn1l9Bel55bzo1NJPC9aS7uy9T1OG03dCZJ1hmFIJIeERuchq6RHyr1qDiCtytyIGVpOLIiY9dwzngG1gGRkrolU2hA8LYAS+ChOKEpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KigcWsilP0vslTifvYlQ+ld2SeybbtsKM0+KjnKpMRU=; b=JnvrPKB68iUfpWUy2GN7eKkx+ngstiDfVp1p6AizFdu7zYARLFijHV86QoXquzOTzf3HRdpBNCQMwwJBKXtYwiZUgggRCJASK/He2flhpitpC4ZO/rPsfjq9eFZnUu9KwdMazWW+kaJdKI0/qlT2IeSiU7xnFvfZtw3g2p2I4t+Qq4FaCFKff1gDbGybeaassL1q17cwxqY1zltHnXwfjgs0taQoU2Ypq/7lj9O3nfJ0vbbiaq+Q7ofEa4Fp/9bvhvoW7SoDfgofmZ47I3F7b4wz0fmULPgVwAV5bA5oQ5l1KDgK5QT1IO9NJWMTuUKb3rYlI0DMzBaVrqNdgK7SGA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.onmicrosoft.com; s=selector2-citrix-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KigcWsilP0vslTifvYlQ+ld2SeybbtsKM0+KjnKpMRU=; b=adfpJFuJ7UkgZvXd5+WdNT2u33cBPoMZF8SzkaI9tbdLFDfGz08yQibCS+Dp7NlWmROJv3LEf3tbJ6OL+alRHEQBfuxX6LtJLKfxXxGvxd6mA0JsZJc0pnvRApQRooJYosEGC9h33i/WE+bDTnri8EY+VkUvVA0hsKQkLq7mbng= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com; From: Roger Pau Monne To: linux-kernel@vger.kernel.org Cc: Ross Lagerwall , Roger Pau Monne , Wei Liu , Paul Durrant , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Ian Campbell , Ben Hutchings , xen-devel@lists.xenproject.org, netdev@vger.kernel.org Subject: [PATCH] xen-netback: use default TX queue size for vifs Date: Thu, 5 Oct 2023 16:08:31 +0200 Message-ID: <20231005140831.89117-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.42.0 X-ClientProxiedBy: LO4P123CA0155.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:188::16) To SJ0PR03MB6423.namprd03.prod.outlook.com (2603:10b6:a03:38d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR03MB6423:EE_|PH7PR03MB7440:EE_ X-MS-Office365-Filtering-Correlation-Id: 1850646c-1257-49ab-4613-08dbc5ac93dd X-LD-Processed: 335836de-42ef-43a2-b145-348c2ee9ca5b,ExtAddr,ExtFwd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OWtaSkDfB7xzl/7GZiV7b/vuA5pbvvDcB9kXu3R27SNpIXCrrmCwcb4ZVIhLXgTKlFgrsUVG9UqlcM1XwnuxeCdBcQ97dX273ymbHfTZg58QQ7TEcIL93VahZ/s1gUsNInZ+yh0aRoUMCxuBOn1oPOJOemAKvl8oIj6/CHeTe3oVkRSzhLFqLQO6yP06Eeicwza06OanDen18/1UUZuGonSJoDjrsZ/iZ5aILvsbHB7cmJ4N5J9tKb8zStB4Cm+Xh7SalINs/g1GUnWbpKSIGg8zhnO1krNVp45RWavJ9BPVbJUgiWMYvTXXRMa+jyOzYzYQLhEao7mVVM4e0+LvEYqd6fOPC8QwTBaml4yZhWWu146VCdaRalDhhnqN8rEyBima8QIlUsdwSqXNQUE8OyUxY+TAXlw5B/y83LvtmvgFJCOVr4uN2b8VkeWmJfHJIAlSwiS9sYPqGqNCbn+JVscE9K9xIujM0ntAZnjNm2BSiUv4wUqU5fZNaYxk5MgAIJ1mw4XtJ/kFVauLOQyuQng+uYHLcJObINX1X1ACxWyxNvT1VxY+NCrcrmORbAuC X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR03MB6423.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(346002)(39860400002)(136003)(376002)(366004)(230922051799003)(64100799003)(186009)(451199024)(1800799009)(2616005)(66556008)(66476007)(54906003)(66946007)(6916009)(316002)(41300700001)(1076003)(6512007)(26005)(6666004)(36756003)(6506007)(478600001)(6486002)(38100700002)(82960400001)(86362001)(83380400001)(7416002)(2906002)(4326008)(8936002)(8676002)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?VV7q9xKL2KZgVf6MmrNc0q1PXrZu?= =?utf-8?q?+h2+pVuDFSsU5g4P5Zliumf0MlgOeRbu+nmph1dQA7pnozh5/0tkQjoj/hozUl7H2?= =?utf-8?q?fQJZ+4e5U6WtNKWJ6pw0kmaZKB8pEJtQtWzEgDs0CBOAPmGxR9BT79qZ35Vmdx0lE?= =?utf-8?q?l8MpoQhhUmVLqIzaqoALiamJLySd+47mAAr4NEz+s+0eDrl+pHVQNpmJjJmsWSwTW?= =?utf-8?q?DB8u4OzstfY8y1dxvYGQ1MUO9XaWpVkSePrw96OoLXZonmV8s/oq1Hi2H/Wu0fK2+?= =?utf-8?q?2Ct5W8XSHBjGWHGwouA493M+4Lj69liqmK0S0T2Y0cMZMvAQPNwgXR8g8v+tvJbxH?= =?utf-8?q?oiVQ1Fg7EyUdJclP+lnfDHGy6CSeW76SiJO1DP5k+WtDWlINmpTW5Lq/s4J1ibVDU?= =?utf-8?q?TJM11jJPkNm/IotJRDPB5P0HUStrWdJiRcEavGa4jaOHEYOe90wuDIz/VJPTnrIfM?= =?utf-8?q?7GxkacJ5DlzozJdz4FJ2onTKJfHT8BkfK8fszQOlTBGWulibI1cqhBMTeSISamEwR?= =?utf-8?q?L6RzChi09f1BV+un4il2o9Nh9VdNI/ybaPqZ5rJWSH79Ygjc1GumpAaQjI1l0sGFb?= =?utf-8?q?RrdmtiS9ldaYhBn+U3W+dXRSHawAAYvwhc8IhEotD0vhz8rVZqPfTVogGfcFmneo8?= =?utf-8?q?qkDK6MZX5CHbF8dlnjO04PSXHKdI8o0jJuerJtKFZjpx51uz1lkxM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-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: =?utf-8?q?WCb6eoQjw7wtEIXT?= =?utf-8?q?uJgca0hVRKqw4uG7AmhR0efmAtfbbSHKGM7rCxA8qcbUeOjwVEvleXqUofgplyvIC?= =?utf-8?q?1135GXRNNCc/ShVt2jA//tswL+o3wBILmu3X4xBHBgA3BwKqx0yXVaQyNHZq+x4bt?= =?utf-8?q?qsjRYsLU0h4dUidmX81JwhQbwkYNO63HzJl9+paLu3fztApE3aXYKWfE7JBhliMEr?= =?utf-8?q?zGmO8QG+LoqmdX3mwSTfmpdJPrlMcWFRLxNPKvsfOImkgCNPRFEnd+6JWnSRPHRPT?= =?utf-8?q?cSlhbB9enRZeAa+js4r1DDX66+A68604O854RdZoeBEaKKoRoy/UOd2+HhB9+rS3T?= =?utf-8?q?HK7s13nD1zg3F4cyAdjYbD1niOp95w1dsYp2iNy+EJKKq1Yj9zGdHr8kRZUqVIz33?= =?utf-8?q?9BbHte6PnGOf63GecwmsdMAmkAOKTROtQDFL9nFMPIktNuGKxYTU5dy7YDiCw/6bz?= =?utf-8?q?IlPTz0vszFMw0Hu0huwb3agCA0Kx5V1tZw45heaohNyowGJDgM8X6vxu+9bCM9ApG?= =?utf-8?q?iO+QzIj89qfaExiVEzfiuF0J8OgOSDs/wkbnz412kF/rE/VHeZZKn65z10ugKqQup?= =?utf-8?q?QyU7+bnCMpPnGek+GLRlBqCDGsoK8Cf6Nf2Sq6vlUjXERT3artzonOe4nbiQ7kACH?= =?utf-8?q?g1mUkJwXOcRoOzYY0rCb/KzAPIw9tU9rWzQCnWsYv94MKJg+7KRBm0tLBWyI6faGC?= =?utf-8?q?G6uxpz+pVAbLIRRqrowszvTOvrmxRl0JAsMqJFyWY7iwSgpYX2SwnkKdmip25zfY1?= =?utf-8?q?2FFpWHzkVXicjiTYirRglKHQTXsO4wr+oSQ49T4VbyCS0MF3AFR35lhwT28BE7vDU?= =?utf-8?q?v3nRnjcTTsHqZ4B9Yegucuv+bltEcsZO0NMipB1YTKF3SCS1zoT/2Fz5z1aHXdWWs?= =?utf-8?q?SZpQcsMOSzIu0rHsQbmgkfenhxI8L8PsOC9tb7RQ+wlxTzqTE8gXdTRc9ab1ssi7X?= =?utf-8?q?Tv120EYn47w9OQNHejNe2VlFxZFgWZ6be?= X-OriginatorOrg: citrix.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1850646c-1257-49ab-4613-08dbc5ac93dd X-MS-Exchange-CrossTenant-AuthSource: SJ0PR03MB6423.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2023 14:08:41.2413 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335836de-42ef-43a2-b145-348c2ee9ca5b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xJn5R/ra7HQWo5rksbXX/QFo4LyEmwv5ADmNwpC/pPZwTM8WypoTrswfDHjPA9EaAjSbaoFaOY7c1MHSueuMqw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR03MB7440 Do not set netback interfaces (vifs) default TX queue size to the ring size. The TX queue size is not related to the ring size, and using the ring size (32) as the queue size can lead to packet drops. Note the TX side of the vif interface in the netback domain is the one receiving packets to be injected to the guest. Do not explicitly set the TX queue length to any value when creating the interface, and instead use the system default. Note that the queue length can also be adjusted at runtime. Fixes: f942dc2552b8 ('xen network backend driver') Signed-off-by: Roger Pau Monné Reviewed-by: Ross Lagerwall Acked-by: Wei Liu --- drivers/net/xen-netback/interface.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback/interface.c index f3f2c07423a6..fc3bb63b9ac3 100644 --- a/drivers/net/xen-netback/interface.c +++ b/drivers/net/xen-netback/interface.c @@ -41,8 +41,6 @@ #include #include -#define XENVIF_QUEUE_LENGTH 32 - /* Number of bytes allowed on the internal guest Rx queue. */ #define XENVIF_RX_QUEUE_BYTES (XEN_NETIF_RX_RING_SIZE/2 * PAGE_SIZE) @@ -530,8 +528,6 @@ struct xenvif *xenvif_alloc(struct device *parent, domid_t domid, dev->features = dev->hw_features | NETIF_F_RXCSUM; dev->ethtool_ops = &xenvif_ethtool_ops; - dev->tx_queue_len = XENVIF_QUEUE_LENGTH; - dev->min_mtu = ETH_MIN_MTU; dev->max_mtu = ETH_MAX_MTU - VLAN_ETH_HLEN;