Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1170151rdh; Mon, 25 Sep 2023 05:30:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFY0mzSCtpMOQXootBR33fdzyFXMafYwTTxGPJrzKEoiaYkN2XNxoBaj964DIwhCEzJMe3B X-Received: by 2002:a05:6a20:918a:b0:15d:9ee7:180a with SMTP id v10-20020a056a20918a00b0015d9ee7180amr5449415pzd.4.1695645009284; Mon, 25 Sep 2023 05:30:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695645009; cv=none; d=google.com; s=arc-20160816; b=cob6t5bT/q7iX+a7/N+a8tejwd0rPR47nEPKfRUaofsLe4mtMjXPQiIIUFzXhet7lR 1EmvpyN4r1X82DPxAnghLUY3n23o08SKZF4OKjn2HJFm0Nnj9a/PL3Z+DaVdJAlpZBoj ZvRlb84HDVwAkIPLOPlI06mxr3VDgnLvpBq9vq5Jxij0q7GgYgAkaJIblprd4Wo5TQlV 2roqYy0PmqjV2kvsCUC0mYjCoIYIgZCWnaumobI1z7YRqlljN9DdvqKe6bnYf4y4M9n/ m0OIvLWPLdvRMW5+NbU0kLv8r4PwzJjNfnlXx6/fKTPzNbv8vTzFceslqywFMp88gpXk l8uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=edHM5CZ8HXnUMh35tJgNkdAVLb7EQO0eeFfjzYsKx/0=; fh=bEeu7C1eNfldRxDzKylIGYbG7mZY67jgfnwYs+RUHSY=; b=fjPXyK76VXAGsv/labM9z4xHzKcCIZjD8JHgUn8btSU1EnEg0YAormgefl9IrLB2rT kGvgGgBt60+OA5bbXXIDd6x3AFyq//9C7RiMqi/vGiSoANmUasjiV6byJNmhf0sxoY9U +cNwsnEUjaMpbCC7HkUOCdvl1IXMo4TXjzW0fcz0BIdm/GhJyP3nb1Ho3BikqGeAS0MA vKdtSr88/rFkBa+HducylmHrq9N2+Es4be0l0nQXi4rIoeF2q6r/yi1PCVvyt0Alim7K bmzor8zI/QcKyjlps3PzUDA1AGeJeftXT1xLu+Dbg2Ohg0AM4ld4CHXObY2OcQhComYh xt5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="DZUG/8mi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id n13-20020a65488d000000b00578c64433c9si10085579pgs.894.2023.09.25.05.30.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 05:30:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="DZUG/8mi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 2E2C680310F7; Mon, 25 Sep 2023 03:57:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230324AbjIYK5c (ORCPT + 99 others); Mon, 25 Sep 2023 06:57:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbjIYK5b (ORCPT ); Mon, 25 Sep 2023 06:57:31 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06AC9B8 for ; Mon, 25 Sep 2023 03:57:25 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-50307acd445so9628516e87.0 for ; Mon, 25 Sep 2023 03:57:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695639443; x=1696244243; darn=vger.kernel.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=edHM5CZ8HXnUMh35tJgNkdAVLb7EQO0eeFfjzYsKx/0=; b=DZUG/8miAei0msHDvcF1LRd2/A/uQgOeJtHnGRFO+P8VkgaT4sDJUHxNnwiaXDhI7s upSNjST3IHtwhvc3qVSW8ctxin9f1Wpe1FWdki5XrV7sU8SOfH9rbQm0PZg6siv0p8+h cH0sw8e0ZL9AQSlvYjFatE9k6nLdNVlvZjt9d/fHAi/N0YqfTIILaNl01Kniy+kEQTz4 b+vUmgC1hL5ecnv2+d+cxL0Zjd0K/Q+UVhuNuTorvrzO9QeHvBVFkwC1W6gdovb6xsSt owIVbZ3kqKHOqKXwSK0YEGDrZ8K0DDomFDUsDXZg4buO+LRzgI3Fs9kiXj2+xhxqX1sX Ay6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695639443; x=1696244243; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=edHM5CZ8HXnUMh35tJgNkdAVLb7EQO0eeFfjzYsKx/0=; b=JY9tYVqhf6M5CRfMTvJO0Qfjtm1Xl/8sIfHkyAEIpLjnJoQjs/hsYie6sm3jciRuWx GQFKvSbxRNX3CzfV4cs8aGOLOUI1CY7zMEE22mjFv+11q1jrwh/NO6OmR1Ag3gGoGfb/ 6Hosm3mPlsmkYjD0Xgi4Q8Clz3TNeYuZsD+0Vcir3yqB/JYA8JPzMKvaDiUDLKeSsKN9 +BYGdr2ZhHxuPaV1KOm3jUEPVIDMtKY68IHVoyXpJ8CD4vb1/EFJWgRFbSOOm4enk5IT 5JvEgsIBIPTIGrDttvy11mn1/L5Mz1EQ8c3lFkrOy2+1mhU3+e1FlcHWuasqO1F9G5/S Po/w== X-Gm-Message-State: AOJu0Yz6VwJMgOegg0zXwb/wYcn7FfH386OmOWKWKaou+gcZHudaUaU1 wO11MI9Pl5Vr4OYXN0wWmDDQ4JB44Ih0KjOA/f5sA2mC X-Received: by 2002:a05:6512:104c:b0:502:9fce:b6e0 with SMTP id c12-20020a056512104c00b005029fceb6e0mr6488404lfb.28.1695639442615; Mon, 25 Sep 2023 03:57:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Naruto Nguyen Date: Mon, 25 Sep 2023 20:57:11 +1000 Message-ID: Subject: Re: Small MSS in vmxnet3 To: kernel derkeiler , kernelnewbies Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 25 Sep 2023 03:57:31 -0700 (PDT) Hello, could you please let me know any ideas? Thank you, Kind regards, Bao On Sat, 23 Sept 2023 at 12:12, Naruto Nguyen wrote: > > Hello everyone, > > Recently I found that packets sent from vmxnet3 driver on guest have > MSS value set to very small size, some 10 bytes, some 25 bytes MSS. > The vmxnet3 NIC enables TSO. Could you let me know any possible reason > that the packets are fragmented with very small MSS.and is it normal?. > Any way to avoid this small MSS or it's just normal. > > In addition, when enabling debug for vmxnet3, in function > vmxnet3_tq_xmit, it has a printout > > netdev_dbg(adapter->netdev, > "txd[%u]: SOP 0x%Lx 0x%x 0x%x\n", > (u32)(ctx.sop_txd - > tq->tx_ring.base), le64_to_cpu(gdesc->txd.addr), > le32_to_cpu(gdesc->dword[2]), le32_to_cpu(gdesc->dword[3])); > > could you suggest an easier way to extract the MSS value from this output? > > Thanks, > Kind regards, Naruto