From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 To: "dev@dpdk.org" CC: Pavel Belous , Igor Russkikh , "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: References: In-Reply-To: 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/rUlyI6laYKjM/L5a11hA0T6Kj4CgIR2Q5dN0sR0D4iCG?= =?iso-8859-1?Q?VvbvDdEHJWaRZN6lvpquJJUdey5c2J+2MdFPWGHeGQ8YBv+F5Wvcmm1//U?= =?iso-8859-1?Q?rPCHLIdvAKPKVIso6cYAfv30cliLPWAl23c8Dsg+aPpTRQgC7hX1AMyKxV?= =?iso-8859-1?Q?ytIPsp6hgMDHVmYdaugWmZ/wtvVB0d15W96Qd7knAHLun/l0ScKt8EEC1f?= =?iso-8859-1?Q?keQvhaXMaMSJFrB56GdHtbXXWYzoX4R0sFPjrhx6jAkC0F/JWprb36kn/C?= =?iso-8859-1?Q?1XiCjXa8dmMWV26jN8EzclBrHsiSPcJamuiKVXnz2+VTLoKSJvl9hNu6Je?= =?iso-8859-1?Q?200sU9L/ItPygJA0/ugnY4LSQrtaQaIQClFm9ZPa8wwnjXgfTgr40FVmED?= =?iso-8859-1?Q?8ZW0iYB1TOp/TY1o9zukun+zxui5XaDTjELSjN29UfEg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pQLOb8qo2dwr5SHkxKB1kC75gaWBQbqhWaS6b0gI4?= =?iso-8859-1?Q?WIFzB+zQXMHe1fCbO2ROAqS2CowdmvWb94Z?= x-microsoft-antispam-prvs: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2019 15:25:13 -0000 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 --- drivers/net/atlantic/atl_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_e= thdev.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 =3D { | 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) =20 #define ATL_TX_OFFLOADS (DEV_TX_OFFLOAD_VLAN_INSERT \ | DEV_TX_OFFLOAD_IPV4_CKSUM \ --=20 2.17.1