From owner-freebsd-net@freebsd.org Thu Jul 5 15:09:42 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F07111031BF3 for ; Thu, 5 Jul 2018 15:09:41 +0000 (UTC) (envelope-from lars@netapp.com) Received: from mx142.netapp.com (mx142.netapp.com [IPv6:2620:10a:4005:8000:2306::b]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "mx141.netapp.com", Issuer "Entrust Certification Authority - L1K" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4688D81931; Thu, 5 Jul 2018 15:09:41 +0000 (UTC) (envelope-from lars@netapp.com) X-IronPort-AV: E=Sophos;i="5.51,312,1526367600"; d="asc'?scan'208";a="263883507" Received: from vmwexchts03-prd.hq.netapp.com ([10.122.105.31]) by mx142-out.netapp.com with ESMTP; 05 Jul 2018 08:09:40 -0700 Received: from VMWEXCCAS01-PRD.hq.netapp.com (10.122.105.11) by VMWEXCHTS03-PRD.hq.netapp.com (10.122.105.31) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 5 Jul 2018 08:09:40 -0700 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (10.120.60.153) by VMWEXCCAS01-PRD.hq.netapp.com (10.122.105.11) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Thu, 5 Jul 2018 08:09:40 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/5R7esIgz1LMYKKFIKTouUO45DMITpXxpSIE9OUuxq8=; b=a3BL2BtwGiNAgsO4NyRvulwPIR+cvqNtcSKuyU2hpVpS3oPPo0Ok0PlMywgW02yJFI64p8LLSWOuvB3ASpUKRE2tzRYtsm/kig9mYhwBBxSeUrr5S+PXGojx2I2tPLva04EKO/pSJ6cL6KsIO3U9nvG3MD5Qy8+q8oWPXVyPuM4= Received: from BLUPR06MB1764.namprd06.prod.outlook.com (10.162.224.150) by BLUPR06MB161.namprd06.prod.outlook.com (10.242.190.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.906.26; Thu, 5 Jul 2018 15:09:37 +0000 Received: from BLUPR06MB1764.namprd06.prod.outlook.com ([fe80::f983:bf6c:8b8f:c82c]) by BLUPR06MB1764.namprd06.prod.outlook.com ([fe80::f983:bf6c:8b8f:c82c%6]) with mapi id 15.20.0930.016; Thu, 5 Jul 2018 15:09:33 +0000 From: "Eggert, Lars" To: "freebsd-net@freebsd.org" CC: "np@freebsd.org" , Giuseppe Lettieri Subject: netmap & chelsio Thread-Topic: netmap & chelsio Thread-Index: AQHUFHIujxwlaaZevUWuZJ3hRic93A== Date: Thu, 5 Jul 2018 15:09:33 +0000 Message-ID: <94019926-B14F-47AB-8AD9-C01B4A0E199F@netapp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3445.8.2) authentication-results: spf=none (sender IP is ) smtp.mailfrom=lars@netapp.com; x-originating-ip: [217.70.211.15] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BLUPR06MB161; 7:SbBRyh6cTHT/gLsq2Bgmu7t6JrCDYO7+hpMYGa+NFLQCmn+D9gBbHaVi8wj/8BCw4DUI3oy9krVYs2TZVmfB79ASO7ejaAzpaIU4SV66qPP2X9ZmoIX4WM51ojdFZJ5Y3NdIaSzPJEMH78KOlasJVy7JuxY8zqmm+jyf61AEmn/0WlbFrgmFcHEW7Vu+79sMXVMLWG8ZIXGQxK9S+V9nnE4OhOyqCjNarHMYWc1qyJvbw+ZE+yL7Cmw9HbHTld7R x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 7fb99034-4f02-4ba4-7e33-08d5e28950d9 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(49563074)(7193020); SRVR:BLUPR06MB161; x-ms-traffictypediagnostic: BLUPR06MB161: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(102415395)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:BLUPR06MB161; BCL:0; PCL:0; RULEID:; SRVR:BLUPR06MB161; x-forefront-prvs: 0724FCD4CD x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(136003)(396003)(366004)(376002)(199004)(189003)(53936002)(186003)(4326008)(102836004)(476003)(6506007)(2616005)(5660300001)(486006)(25786009)(26005)(316002)(57306001)(6512007)(54906003)(478600001)(97736004)(256004)(99936001)(66066001)(14454004)(5250100002)(2501003)(6116002)(3846002)(81166006)(36756003)(86362001)(82746002)(6436002)(2351001)(5640700003)(33656002)(6486002)(68736007)(2906002)(50226002)(8936002)(6916009)(99286004)(81156014)(2900100001)(83716003)(105586002)(7736002)(305945005)(8676002)(106356001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR06MB161; H:BLUPR06MB1764.namprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: netapp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: lj+5bhTRVdhINy4QMYNlJQRnIYT31OKKa2na7GvXUfv5mvGkOMobX2MgT5CYrvz12fV0yO2jri6OknguzM1hpBGgzYjMuHRDxHlKb2XrgDXYFISatEEqQaIGbBEh7Hd/+C4yGExviBctn2DpdP5t+RlEijGwEdRfe4tUY7RAgDzoHtmtoiMEBzDqhWF0mEqfLqPXa2B5gMOhnvW75mRNjAfxhZ57huZM6eUtRHIozv/wFNOEp8Gu86q0ZRJmkgSz2HhJCotMuAGaOnL0nPVCFrbvAzmRRuV8hIzyNW1Za2uar1c9lCVfLdb4FBkyTyGcypx89dSFUlAAIBtmx9zHDoPEME+vFIp0g7Y+WY/Onzk= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/signed; boundary="Apple-Mail=_EF755EE7-1378-4E66-8B3A-EC7F686193CF"; protocol="application/pgp-signature"; micalg=pgp-sha512 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 7fb99034-4f02-4ba4-7e33-08d5e28950d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2018 15:09:33.6710 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR06MB161 X-OriginatorOrg: netapp.com X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2018 15:09:42 -0000 --Apple-Mail=_EF755EE7-1378-4E66-8B3A-EC7F686193CF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, when receiving packets via netmap (current GitHub version) on a Chelsio = T6 vcc0 device on -CURRENT, it appears that the Ethernet header starts = at an offset of two bytes into the netmap slot. So far, I have only used = netmap with various Intel NICs, where the Ethernet header starts at = offset zero. Is this a bug? Is this to be expected? Thanks, Lars --Apple-Mail=_EF755EE7-1378-4E66-8B3A-EC7F686193CF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmpq0ZpSoejRmyhheVLXDCb9wwVcFAls+NKwACgkQVLXDCb9w wVd3xg//dp+xCSpr4G3kcOrD9KzruB+C4Il9gsKa2SKsCLe154JUUo1ZDloh08+j RxRgJEE5eVfV2s+lhtLa85JnegKond5s/Q3bsNbHueYH7TMTrKOrU/3uW+CqgcFA YA9wyZU6onFMrZiXk2VsRNPErn2E4gt7rJ03EyrKvg+MTzaTI+eLZV+zPxnFbuqa Z2RV/tO336zRJhgWjeMg8j5rDvD5mUJ8WuqJtxZdle24D4MSfDZZ16ILS5YbxFvF P21+ISTTOMeWqfBlCBBeVLWLKRw4Vk0C3qxNKZxEvGhwyYApFniQP0FpCnIRxfCN HCYcr1me/5EnI3Zy6hoJ8EhWkkyaH7DkKt8+gcUZgTbCQOFIuMdIHYM5Pqv8R683 dcCRjpuTldZlqS1zvm4gbQDezhrBHw72GsseIdQPLwZvO4kc+UG5kkbhD/E+BjIQ 31x37U2/RuqeMmHW6j/b9w6g66E95KABj3q3GP0mXme/QzsaECzLaIPMHJVWAHyL VFqTZwwkPvGA5pfyDsf557FqHVbclfKIY3ktZd0SgXJc+637cI1iSs2n03I0/EJR xSTgQVWrU4UgFgiehjP2WOy/kAotFMkvGycJB/kEYn7E9TLlzeyVbrra5jps9vPd G5SmIdvaeHh6MRhYri9+WiTCKwr4a9yuk5I6sstYBk/F7iQ0Zyc= =ys76 -----END PGP SIGNATURE----- --Apple-Mail=_EF755EE7-1378-4E66-8B3A-EC7F686193CF--