From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0074.outbound.protection.outlook.com [104.47.37.74]) by dpdk.org (Postfix) with ESMTP id 118934CC7 for ; Fri, 26 Oct 2018 12:56:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e5myG2X430Yd8ZVxIdGVNqky8KFqE3zoR20zX6ro268=; b=m8VD6sQ2Qti2ijOVTbOjo4g4ft72zv5oMNr6eT0O4lcAZpHT/Ddl5tVDPz2a5oh/IZP+fzhaZfTakxX4/z8M0GSxzApz1FquKb44lAsFYiybTJ8cjTyp6fP6ksfh6NFc6NFe0xj2j6vximtl350t3bi6J3AI+5+rkhmDLsIovak= Received: from BYAPR07MB4997.namprd07.prod.outlook.com (52.135.238.214) by BYAPR07MB5207.namprd07.prod.outlook.com (20.176.254.224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.18; Fri, 26 Oct 2018 10:56:16 +0000 Received: from BYAPR07MB4997.namprd07.prod.outlook.com ([fe80::c5c:4d86:b353:175a]) by BYAPR07MB4997.namprd07.prod.outlook.com ([fe80::c5c:4d86:b353:175a%4]) with mapi id 15.20.1250.028; Fri, 26 Oct 2018 10:56:16 +0000 From: Jerin Jacob To: "dev@dpdk.org" CC: "thomas@monjalon.net" , "ferruh.yigit@intel.com" , "arybchenko@solarflare.com" , "olivier.matz@6wind.com" , "qi.z.zhang@intel.com" , "beilei.xing@intel.com" Thread-Topic: [dpdk-dev] DEV_RX_OFFLOAD_VLAN_EXTEND offload Thread-Index: AQHUbRqEm3CTzb/P9EO72bVmdENDLA== Date: Fri, 26 Oct 2018 10:56:15 +0000 Message-ID: <20181026105559.GA6843@jerin> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [106.200.221.209] x-clientproxiedby: SG2PR03CA0098.apcprd03.prod.outlook.com (2603:1096:4:7c::26) To BYAPR07MB4997.namprd07.prod.outlook.com (2603:10b6:a03:5b::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BYAPR07MB5207; 6:SKF1mUF18s6fQTvrVy6JWsu7GoyfGUEGB7q80KTXsSP7HW5hh6PLJodA4DxLqKvBXQ2rGCNZu9Z450D/8WirsQaOO0WINec6s+JGfe/1hGTVciFstOYRCPCEAaVvgeVZyVQnlj7dShGI1rMZ2Kg4KqNz8B0RrZ8ENPyKPoTwl8YrceHJqjvoGgTI3zD/CKLQtwkNIySGCxw6J1ewcZ2qcnD2kBW/C/QbLEeQ42nuB0TKBpV24mKj5fZ7uhRPwzW6g2nCambOTmuP1kwww15WGPx3FUzYQBKg7U8sO4xmydrk3vERjmoaDJYRNf5Ms5M8w3fGjOtVqA7d4cpAzc1GKYeuXSrFZMQtw3FIqBCjLpEee8YZWF5hy5+/0aff09NgRvGz/vWc5XpsDjDnm3m0HJcH7WU0vBZZTFgei08OGjzP7cvCOuJwE5OG+qUJkAvkY/mhyUhFS3xoLHTY62s7WQ==; 5:/Eo3Dsw8zMxrDmemDsBfFJIp+c+VwgItDuxtY+wo4IpLzSmoZ+6Wkmifu8+6GGW29vJBdfNPbZKDLtLrw8RoYa+MbCeEMbbRZkcFgY7eUgP/pnJJFws2vdFIYffXQpFYRM5q5UsNgzbS5lh7SN88VdgROI9NioiiGmZFL1vxlqs=; 7:DxqZKEfqotBtxkxEnAJfPrTlL2+twXJYSkaEC8yICwuDGQ/0DQQ+/GqgzfgrNzuI2XuEbNNoFch+A3pcv7BCjOJn4N1BeuWlHFwngBxew1fokaRPqK7MV0TwxMB8G0/++9yplMjmMSFLEA/wcC0EBQ== x-ms-office365-filtering-correlation-id: 4d6002c9-5862-44e2-72dc-08d63b31a691 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB5207; x-ms-traffictypediagnostic: BYAPR07MB5207: 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)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:BYAPR07MB5207; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB5207; x-forefront-prvs: 083751FCA6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916004)(136003)(39840400004)(396003)(346002)(376002)(366004)(189003)(199004)(102836004)(33896004)(81156014)(81166006)(99286004)(8936002)(8676002)(316002)(4326008)(2501003)(5250100002)(52116002)(54906003)(105586002)(66066001)(25786009)(9686003)(5660300001)(7736002)(71200400001)(6436002)(256004)(5640700003)(53936002)(305945005)(106356001)(6512007)(6486002)(2351001)(186003)(6916009)(386003)(1857600001)(97736004)(476003)(2900100001)(72206003)(478600001)(14454004)(6506007)(1730700003)(486006)(1076002)(2906002)(3846002)(6116002)(42882007)(26005)(71190400001)(14444005)(68736007)(33656002)(33716001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB5207; H:BYAPR07MB4997.namprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 7DoRFUf6d5jzOUN5JB5otdE3sxZviroFasOAeQfCpjxHi68Py87pU0ZLUmXVmoETVShfoFtQQ9y8TX9XSBRFjUrIWKXYsFwDe2aniLtLUN+ZBRLeWvSootuf+lwwLFdbaQ0gGFUGn5WHS8zUhgTdWRptn9brbwr2uFIQvy5dEL1b4nLw5awUXeDEfQTZ2V6D902EVfgODm4EyG3/YwGzBZqPlq6h0y3QviN/APXWCanQL/AT/rOSNIheNcw5pQ2a5R4JsIuSfSh9w1zCEp21xy/hHoVyL5WIGPlN/Z+u/X41W+DoWFsgygloPSO4qZ0Nnb6ug1dHgm0H7Ekvi4Vg6wXyKqnKn9IetnOuSyH+8eA= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <0A682A1913BF024EB6E2A88A9CF819D5@namprd07.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d6002c9-5862-44e2-72dc-08d63b31a691 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2018 10:56:15.9774 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB5207 Subject: [dpdk-dev] DEV_RX_OFFLOAD_VLAN_EXTEND offload X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2018 10:56:18 -0000 Does anyone know the expectation of DEV_RX_OFFLOAD_VLAN_EXTEND offload? Does not look like it is documented. Looks like it is very specific to Intel controllers, Based on 82599 HRM, it is following, not sure what is the real expectation from NIC in normative terms. Extended VLAN. ------------- When set, all incoming Rx packets are expected to have at least one VLAN with the Ether type as defined in EXVET register. The packets can have an inner-VLAN that should be used for all filtering purposes. All Tx packets are expected to have at least one VLAN added to them by the host. In the case of an additional VLAN request (VLE), the inner-VLAN is added by the hardware after the outer-VLAN is added by the host. This bit should only be reset by a PCIe reset and should only be changed while Tx and Rx processes are stopped. The exception to this rule are MAC control packets such as flow control, 802.1x, LACP, etc. that never carry a VLAN tag of any type