From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM05-CO1-obe.outbound.protection.outlook.com (mail-eopbgr720058.outbound.protection.outlook.com [40.107.72.58]) by dpdk.org (Postfix) with ESMTP id 0DDDA4C9F; Sat, 9 Mar 2019 15:03:48 +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=3cHPa8Fv4cnCYGxxdG1v/sr7mpBLSL6Dh5HELp7YT60=; b=JohYMUtZP3d8V4hEnkIdO7QlH8a0Km3iFORVnE/D/kAQ/KsF+sneGFwX4Z7vF8JCgGSinP1RokQ99uKS+ybisHFwiXAd6rPJis3YPv/wMdgAkU9hvuSCkMlL1PbvI1nnBSzyU8j7B6zgNHP43IMo26Y97niDlEETIXeoES3ZO+A= Received: from DM6PR11MB3625.namprd11.prod.outlook.com (20.178.230.149) by DM6PR11MB2892.namprd11.prod.outlook.com (20.177.216.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.18; Sat, 9 Mar 2019 14:03:43 +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.1665.020; Sat, 9 Mar 2019 14:03:43 +0000 From: Igor Russkikh To: "dev@dpdk.org" CC: Pavel Belous , Igor Russkikh , "stable@dpdk.org" Thread-Topic: [PATCH v2 09/10] net/atlantic: fix missing VLAN filter offload Thread-Index: AQHU1oDnNYVVtw3DZESFw8MxAZ2e2g== Date: Sat, 9 Mar 2019 14:03:43 +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: HE1PR05CA0278.eurprd05.prod.outlook.com (2603:10a6:3:fc::30) 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: 7a4cd473-ce27-4bf9-7e19-08d6a498080c x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:DM6PR11MB2892; x-ms-traffictypediagnostic: DM6PR11MB2892: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; DM6PR11MB2892; 23:PZonz7iSaxe44sNTaKuVbZ+v81ClkpqyFtFcTtK?= =?iso-8859-1?Q?RBA5014x+4gUGvb6m05JIOSPzFhCI9BMNxwVKsrnOPVxHEPxnFYGj9uPnn?= =?iso-8859-1?Q?WlbTRjrLneLo/ZwcSsVOmJijWBbEvD7H/gj5RjMlXLMFdwA+V+2JiIRG5g?= =?iso-8859-1?Q?dcOBi/WbdhBkSJEkKb/65/2QhIEGs8XlcpNJvfE4qpkUg9ZyCEtf4l62mz?= =?iso-8859-1?Q?/JmwsO8OxdHHkcNYklnt6pj+6S41QE/My4076GO2LlaMMTZZUVIx+n3JOG?= =?iso-8859-1?Q?e5eutsNCDu9VeHoEvgbm3Xn/35gG1gV+EiH4hyPPC99qUJJ1l2e5MGk22R?= =?iso-8859-1?Q?Of7mGGj/MpobnlDVJ301D5ClQTh4OK6bPwRrIV1iN/Wfr6zBBaqB4SOrQ2?= =?iso-8859-1?Q?xm1kVGXWcZdQdMDiKtIVbC2XhaUi7OS3bqsDSg6Jsyl/9I0WcTOj0o6Cm+?= =?iso-8859-1?Q?7sTeqxAvHYJUfzwxLBS3LByIrWzK6+0C6cC9p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x-forefront-prvs: 0971922F40 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(199004)(189003)(106356001)(5660300002)(6116002)(26005)(4326008)(99286004)(52116002)(2906002)(3846002)(76176011)(2351001)(105586002)(14454004)(102836004)(97736004)(476003)(68736007)(44832011)(386003)(186003)(486006)(11346002)(446003)(2616005)(6506007)(450100002)(25786009)(2501003)(86362001)(305945005)(7736002)(14444005)(72206003)(8676002)(6486002)(256004)(118296001)(8936002)(66066001)(6436002)(81156014)(1730700003)(4744005)(53936002)(5640700003)(81166006)(50226002)(71190400001)(6916009)(54906003)(36756003)(498600001)(71200400001)(6512007); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR11MB2892; 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: cYJ5yekLTcpdo+Nh3BaeLoqCmzPyac/sCm6KExGlKl4fOntNWQKQtTmsMI9Nt04cVFmMmUd48VrLcRUPETUa/AsvrstbFd44voG6wbOjnNFwva9dTHcqaCcqzghykH54jlOldS793r2X8qGqnuJHga053n7fkwbJV8IASJ0xuELerzujMajxxj7nICyfaIB2R33zsMmuXlEBd9nIZtmPOgB3DMabfBwP68PaLLutHVYLnDAmkkrJdWRd8PxCVkt/XSC+N90tw+I3GQYfNu9QflVx+2hMNMkQBtG9Pxrh2WWwebFW+AQrZWJWsFuhts+gJ3KUJJMJQAHBneP54658geMSHKiEPJGzx4vBUzug4bffEGEzlNUj+VqMJOHDKeWGt5Do9H/94L6D/wVZ/DdL9XirrDE4ihDAoef3zPbdIow= 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: 7a4cd473-ce27-4bf9-7e19-08d6a498080c X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Mar 2019 14:03:43.2209 (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: DM6PR11MB2892 Subject: [dpdk-stable] [PATCH v2 09/10] net/atlantic: fix missing VLAN filter offload X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Mar 2019 14:03:48 -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 c869ff321bf5..f2674f0cafe9 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