Message ID | fbb78b3dabc2652be3e43e2c8feaf1e37620ee4e.1552402263.git.igor.russkikh@aquantia.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Ferruh Yigit |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AE21F5B2E; Tue, 12 Mar 2019 16:25:14 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-eopbgr770050.outbound.protection.outlook.com [40.107.77.50]) by dpdk.org (Postfix) with ESMTP id 4FD7958F6; Tue, 12 Mar 2019 16:25:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=AQUANTIA1COM.onmicrosoft.com; s=selector1-aquantia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g2rW/WM+Lgd5SdvWoCp736OMMl3HWHNoV4m5VRJ27lA=; b=Q/N7fSpzQUNgzFYrXRP/Ix55IopGykTYba+z2rqoUMg/5CYNA/2Y0mAxnuLa8dS41PcAl5BcIamhx3vsWM/0Uqg3Isq1H/ZS+H+NlU1QSR0KHJpzbOuRrZzVSa+oRmEO6A2Z7q8c1Xsyg7GfvIRirtR23QWcMfpwmOzWGd4QTW0= Received: from DM6PR11MB3625.namprd11.prod.outlook.com (20.178.230.149) by DM6PR11MB3068.namprd11.prod.outlook.com (20.177.218.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.19; Tue, 12 Mar 2019 15:25:07 +0000 Received: from DM6PR11MB3625.namprd11.prod.outlook.com ([fe80::d145:a1f4:ed34:e31b]) by DM6PR11MB3625.namprd11.prod.outlook.com ([fe80::d145:a1f4:ed34:e31b%3]) with mapi id 15.20.1686.021; Tue, 12 Mar 2019 15:25:07 +0000 From: Igor Russkikh <Igor.Russkikh@aquantia.com> To: "dev@dpdk.org" <dev@dpdk.org> CC: Pavel Belous <Pavel.Belous@aquantia.com>, Igor Russkikh <Igor.Russkikh@aquantia.com>, "stable@dpdk.org" <stable@dpdk.org> Thread-Topic: [PATCH v3 09/10] net/atlantic: fix missing VLAN filter offload Thread-Index: AQHU2OfGb4Adiy1MZ0atOs1oggCYdQ== Date: Tue, 12 Mar 2019 15:25:07 +0000 Message-ID: <fbb78b3dabc2652be3e43e2c8feaf1e37620ee4e.1552402263.git.igor.russkikh@aquantia.com> References: <cover.1552402263.git.igor.russkikh@aquantia.com> In-Reply-To: <cover.1552402263.git.igor.russkikh@aquantia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HE1PR0901CA0050.eurprd09.prod.outlook.com (2603:10a6:3:45::18) To DM6PR11MB3625.namprd11.prod.outlook.com (2603:10b6:5:13a::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Igor.Russkikh@aquantia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [95.79.108.179] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8847ff12-f642-447e-ec0f-08d6a6fee898 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:DM6PR11MB3068; x-ms-traffictypediagnostic: DM6PR11MB3068: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; DM6PR11MB3068; 23:n06Jm7v9QWh6JpaSYsZzhtQRUPaZvTb3xvWZHk+?= =?iso-8859-1?q?gdpElvXLwcDWn/rUlyI6laYKj?= =?iso-8859-1?q?M/L5a11hA0T6Kj4CgIR2Q5dN0sR0D4iCGVvbvDdEHJWaRZN6lvp?= =?iso-8859-1?q?quJJUdey5c2J+2MdFPWGHeGQ8YBv+F5Wvcmm1//UrPCHLIdvAKP?= =?iso-8859-1?q?KVIso6cYAfv30cliLPWAl23c8Dsg+aPpTRQgC7hX1AMyKxVytIP?= =?iso-8859-1?q?sp6hgMDHVmYdaugWmZ/wtvVB0d15W96Qd7knAHLun/l0ScKt8EE?= =?iso-8859-1?q?C1fkeQvhaXMaMSJFrB56GdHtbXXWYzoX4R0sFPjrhx6jAkC0F/J?= =?iso-8859-1?q?Wprb36kn/C1XiCjXa8dmMWV26jN8EzclBrHsiSPcJamuiKVXnz2?= =?iso-8859-1?q?+VTLoKSJvl9hNu6Je200sU9L/ItPygJA0/ugnY4LSQrtaQaIQCl?= =?iso-8859-1?q?Fm9ZPa8wwnjXgfTgr40FVmED8ZW0iYB1TOp/TY1o9zukun+zxui?= =?iso-8859-1?q?5XaDTjELSjN29UfEgHK9kecdqITs0EhjjIAijFTCV00ZWdlPvZh?= =?iso-8859-1?q?zwvdneDfuOdb/oQJlAetsfMWL5e+vUBodc8j+7LsbGHcNE68ako?= =?iso-8859-1?q?KAgPgt7L38WLo8B8xwxkXrXhZA0AKn0sF1S+g/PhG0J4HhimDXu?= =?iso-8859-1?q?1Xyvy9VDwlQNTi94VaBcemPI712pSgrGJW3LjTIpVGgEcoTjTWJ?= =?iso-8859-1?q?7RHQUULJSh6xLJrjuIeznghyHm9SojlzhWrXAer3uHJVLpHxZKv?= =?iso-8859-1?q?GDIEFjaUyPjVk8Wdko4AAoBMbVFNZXyoT3hP4rKuUyOzB//XsOu?= =?iso-8859-1?q?+phrPRxTagh5eM/30LGTu/zTCwjDD0BtkikGwbY+oFmS/a52hce?= =?iso-8859-1?q?plJt7G9BmWN9a95jjrbLFNuS8/APx3MkzOFhzdDNbkeTAqsWz8i?= =?iso-8859-1?q?fcb+oG3cC4N3zgXHpGQTAfXJ8ROe3QBDGc9vrS2b8ac/XW73AT/?= =?iso-8859-1?q?ohd1PAipefFuG6vD30Gc/LrB3wj7rGBTDFjIUA5qD5jktTni2sE?= =?iso-8859-1?q?RHC/3QPK31UkMEVfNtCiIbyTxe8mko5xNjcdzmFkCZr2Kb/GZ+1?= =?iso-8859-1?q?aP4S4tW1pGtbGSKU1ypo50rwrdaOmn+0yOfMyNDyEiJf/tW0pTe?= =?iso-8859-1?q?JR4g2Ecu4DAiqmsjPWOV0kOP1TTekolIeYgKWeHqpRlRRGu/MIr?= =?iso-8859-1?q?RoAvVr+CQyZuVzC6bRGctKc5R7z2578fRznsoz9AowRccpt8SpG?= =?iso-8859-1?q?giWCeS0zaumpd23hOOze9hBuZVgvjMPrXY2uPBCrc/YeWKXXDFR?= =?iso-8859-1?q?ZsiX4CkkhhWdMlFFqB4/guob/tFlb9Uq4TzXvrB0QNEChTt9kkQ?= =?iso-8859-1?q?DYZ3x/6tL2rW2/Jwj/omkNkuZ5kJ+4u13gd8YH0BC9OKpQLOb8q?= =?iso-8859-1?q?o2dwr5SHkxKB1kC75gaWBQbqhWaS6b0gI4WIFzB+zQXMHe1fCbO?= =?iso-8859-1?q?2ROAqS2CowdmvWb94Z?= x-microsoft-antispam-prvs: <DM6PR11MB3068D5B0D0D304F36A19A7C098490@DM6PR11MB3068.namprd11.prod.outlook.com> x-forefront-prvs: 09749A275C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(136003)(366004)(39850400004)(396003)(199004)(189003)(72206003)(97736004)(4326008)(14454004)(81166006)(2906002)(4744005)(5660300002)(6916009)(8676002)(71200400001)(478600001)(25786009)(118296001)(71190400001)(86362001)(14444005)(256004)(1730700003)(3846002)(81156014)(36756003)(68736007)(6116002)(305945005)(54906003)(316002)(446003)(8936002)(44832011)(53936002)(5640700003)(26005)(11346002)(476003)(76176011)(66066001)(106356001)(99286004)(2616005)(105586002)(186003)(450100002)(386003)(52116002)(7736002)(6436002)(6486002)(2351001)(6506007)(2501003)(6512007)(102836004)(50226002)(486006); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB3068; H:DM6PR11MB3625.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: aquantia.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: ufeIFSzziSTHI/z8xxm/bf/vHW2k4VbBNMXapWQ1t1BjAxJ+OO+Bgg8/i+Pmt+0CJlRv6ojwCJ7H8+jfGQoEkyGdLgvNPpdZDGyWSAgRoS6vMRYfHCFjUjrqOxgdVZ1xnyxv9BSjb39963+8rxjYzabzQd9U2BVkIruWwvLHoGXynN4kYYJ09XXH7cRZ84QO7hzJqYO74Nf5CqwQqLR6JxLV6SWDfUkbKZxl/DvEN3MN3lucUGWbhwpTo95dYim1TxZIo3nIm++8S8zyVZr5WVDZlF8ozAAeXiYaNwEn1CLkvzE6SDiXvs2gSBeXFE6G86jqeFVXXrhFf4Pa/+kysT5bybD4GsiUjvA6Ib0o4u/umND0Wxdnmt1kYHVGTeDFb6rWOu1Dt3h2EyJd64BEPFDXBt+DrrKO5EXYfDmVF50= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: aquantia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8847ff12-f642-447e-ec0f-08d6a6fee898 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Mar 2019 15:25:07.7756 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 83e2e134-991c-4ede-8ced-34d47e38e6b1 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3068 Subject: [dpdk-dev] [PATCH v3 09/10] net/atlantic: fix missing VLAN filter offload X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
net/atlantic: bugfixes and code cleanup
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
ci/Intel-compilation | success | Compilation OK |
Commit Message
Igor Russkikh
March 12, 2019, 3:25 p.m. UTC
Original vlan offload code declared callbacks, but did not
enable the feature offload bit
Cc: stable@dpdk.org
Fixes: f7c2c2c8c558 ("net/atlantic: implement VLAN filters and offloads")
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
---
drivers/net/atlantic/atl_ethdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Comments
Original vlan offload code declared callbacks, but did not > enable the feature offload bit > > Cc: stable@dpdk.org > Fixes: f7c2c2c8c558 ("net/atlantic: implement VLAN filters and offloads") > Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com> > --- > Reviewed-by: Rami Rosen <ramirose@gmail.com> > >
diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c index e43e1e724696..b05dc545d0b1 100644 --- a/drivers/net/atlantic/atl_ethdev.c +++ b/drivers/net/atlantic/atl_ethdev.c @@ -165,7 +165,8 @@ static struct rte_pci_driver rte_atl_pmd = { | DEV_RX_OFFLOAD_IPV4_CKSUM \ | DEV_RX_OFFLOAD_UDP_CKSUM \ | DEV_RX_OFFLOAD_TCP_CKSUM \ - | DEV_RX_OFFLOAD_JUMBO_FRAME) + | DEV_RX_OFFLOAD_JUMBO_FRAME \ + | DEV_RX_OFFLOAD_VLAN_FILTER) #define ATL_TX_OFFLOADS (DEV_TX_OFFLOAD_VLAN_INSERT \ | DEV_TX_OFFLOAD_IPV4_CKSUM \