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 2712243154; Fri, 13 Oct 2023 13:48:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A4850402D4; Fri, 13 Oct 2023 13:48:08 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 6B856402D3 for ; Fri, 13 Oct 2023 13:48:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697197685; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=95vkIKkSg2CKIS45CBqDhFaoGgZ7uarhZ9EG3ar3TqI=; b=ADPPPVpHCJBA96Y31SsfnTqfSf++W8SD0OHjhD6MNZYf8Z3+8nHTWxk1gDue6YZ/T11uca fQoinddbZtZPaIC5qUVM/EZA4MWIF3LiBkOlI/ALJao7NQoYT8o7EEGe/uhQVEASceeVmQ 1iXwKaKE0cUk6kqLKJKimhXDHpZ3LlI= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-400-3_2gJlzUPjmZ3IzTZXGmzw-1; Fri, 13 Oct 2023 07:48:04 -0400 X-MC-Unique: 3_2gJlzUPjmZ3IzTZXGmzw-1 Received: by mail-lj1-f198.google.com with SMTP id 38308e7fff4ca-2c504f93c4eso7597251fa.3 for ; Fri, 13 Oct 2023 04:48:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697197683; x=1697802483; h=content-transfer-encoding:cc: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=95vkIKkSg2CKIS45CBqDhFaoGgZ7uarhZ9EG3ar3TqI=; b=bygQtLFk0z2jftPwTVPoRUWZ+BUzsZzTOODilFWeo5VzJypLkkVU3e59TCRw+LSX6l BTgzCCo4qsb1sI16DUTQSI7sQm2GXriIko4VUWt+Djzo0nGRZ/u8xQMZwbBj+YNYIJAV MJYiLSDaCEGX7mQSaTn5f7h6lqPNZ2KVHGQSeXEMWPLDvK0EsNdnXjfPbCkXjarXn1jk nN25z80A5PrjoClYwDE0BR797TxCwdSZBTx+kqf84jg19m7c1YnPFPNEhTCe4X/8of78 V+MZoj5gQqt/2QtmiOgMrnUoWIp3qsgsdyXbrYaJAK2HB4QWtLx/2ggiyHG8oDDcCabw 3MkA== X-Gm-Message-State: AOJu0YwZjW6XPu7BcK57QhwnvQgFKYy3iTcVGceFdh/+N/vD/gWZRr7G iPQivCvFJEgFOWXNfL8+0IsGZF8uWLy+Aq/Rl+tWUhtooa/TXi4Vz+nLLRIrRq31m+xpjRwZJYE G56xwlXGj20ZuSt4rFnI= X-Received: by 2002:a2e:938e:0:b0:2b6:ea3b:f082 with SMTP id g14-20020a2e938e000000b002b6ea3bf082mr22160854ljh.38.1697197682911; Fri, 13 Oct 2023 04:48:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHKlma8j9jwKVowrQI/Bddq/pX6Hx709j6PmfhMDAWjSHrvrTDF76eKdr3oi4wtETAaD2sgQTjDxxdpFj8iUns= X-Received: by 2002:a2e:938e:0:b0:2b6:ea3b:f082 with SMTP id g14-20020a2e938e000000b002b6ea3bf082mr22160847ljh.38.1697197682616; Fri, 13 Oct 2023 04:48:02 -0700 (PDT) MIME-Version: 1.0 References: <20231013114125.376-1-dexia.li@jaguarmicro.com> In-Reply-To: <20231013114125.376-1-dexia.li@jaguarmicro.com> From: David Marchand Date: Fri, 13 Oct 2023 13:47:51 +0200 Message-ID: Subject: Re: [PATCH] net/iavf: fix pkt len check To: Dexia Li Cc: dev@dpdk.org, qingmin.liu@jaguarmicro.com, joey.xing@jaguarmicro.com, Mike Pattrick X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Hello Dexia, On Fri, Oct 13, 2023 at 1:42=E2=80=AFPM Dexia Li = wrote: > > App usually encap some bytes in mbuf headroom, for example, tunnel > header. When RTE_MBUF_F_TX_TCP_SEG is set, this check will drop packets. > Since the packet will be cut by hw soon, the out packet will not exceed > mtu. > > Signed-off-by: Dexia Li This should be fixed with series: https://patchwork.dpdk.org/project/dpdk/list/?series=3D29651&state=3D%2A&ar= chive=3Dboth Applied in next-net-intel: https://git.dpdk.org/next/dpdk-next-net-intel/commit/?id=3Dff67c8a679c2daba= 282841459d8cd4131b3a85ab Those patches will make it to the main dpdk repo soon. Please double check they work for you. Thanks. --=20 David Marchand