From patchwork Fri Apr 12 07:04:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gagandeep Singh X-Patchwork-Id: 52665 Return-Path: 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 DDCEE4F9C; Fri, 12 Apr 2019 09:04:05 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30051.outbound.protection.outlook.com [40.107.3.51]) by dpdk.org (Postfix) with ESMTP id B0F534F9C for ; Fri, 12 Apr 2019 09:04:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xgm/atAvDhuuCxyIWCdmRVce0NnBg2JzUI2Z63K23mg=; b=WQh1/plBP9eQo9YzkDFYKIHfGusI+uxrSk3ELTOS48r29MzaHlsnFdjX+VzfHcPT/TkwNvzMgOt0kHpUfaj1kXJg5/MmcBh3PLYbh/MbGAvv/3fbpg8+SbLCRLv5h6GGX3ryxnm+oZ3nhbB+LnmmvUv85JrLxFcy6r49ddwzzgc= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6592.eurprd04.prod.outlook.com (20.179.234.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.17; Fri, 12 Apr 2019 07:04:02 +0000 Received: from VE1PR04MB6365.eurprd04.prod.outlook.com ([fe80::f5ad:f178:4c55:13e0]) by VE1PR04MB6365.eurprd04.prod.outlook.com ([fe80::f5ad:f178:4c55:13e0%3]) with mapi id 15.20.1792.016; Fri, 12 Apr 2019 07:04:02 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: "thomas@monjalon.net" , Gagandeep Singh Thread-Topic: [PATCH v2 00/13] ENETC PMD basic features and bug fixes Thread-Index: AQHU8P3pyjd0FqqH0kOdUPuy/FLFMw== Date: Fri, 12 Apr 2019 07:04:02 +0000 Message-ID: <1555075598-4988-1-git-send-email-g.singh@nxp.com> References: <1554745507-15089-1-git-send-email-g.singh@nxp.com> In-Reply-To: <1554745507-15089-1-git-send-email-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0038.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::24) To VE1PR04MB6365.eurprd04.prod.outlook.com (2603:10a6:803:12a::14) x-mailer: git-send-email 1.9.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=G.Singh@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.120.1.67] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8f627cde-9515-4030-42b9-08d6bf150b42 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VE1PR04MB6592; x-ms-traffictypediagnostic: VE1PR04MB6592: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(136003)(376002)(366004)(396003)(199004)(189003)(71190400001)(446003)(52116002)(6512007)(53936002)(14454004)(72206003)(86362001)(478600001)(316002)(4326008)(110136005)(14444005)(256004)(25786009)(54906003)(50226002)(68736007)(8936002)(2906002)(97736004)(81156014)(81166006)(36756003)(8676002)(7736002)(305945005)(6116002)(5660300002)(3846002)(6486002)(106356001)(26005)(105586002)(2616005)(386003)(186003)(71200400001)(476003)(2501003)(76176011)(11346002)(6436002)(102836004)(6506007)(486006)(66066001)(99286004); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6592; H:VE1PR04MB6365.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: jYvp4sOmTm28SBdYFpGaGS+61j7n2p8XUL3QwKgQ6ZvLp0xmzWBTFAbXhNMod/mgsyzSWCoys0whNB4d4Q1uTCepvXSNw+NCMw7hrtSsZw9GUjweviZP6SBbq8Ne6cCA0+6VdxPVm5zko77o03PcCyst/DLeltRrJi8P2YvSwMK+PAqbzI4NevBzoTLBVdjGVISRQ4RuUol+QJPjMlKPJMJGoNWwFwVwDJMmc+0vYAABXKjThRjJPUNAPmdIHFVyUVL+kGXzEx4ja/BHnSzpNxmEXUjdY4fMrfNVb5wYuTkg1QYB/9P6fw6krY779ytMlijHRwvT3vHhiFNKNCvuSDkLXH34sT9TPfgiCBNCjyEDI/kRqcAZDqzlJxIojW7C7EfPfPIcvoY9CPmBnhtu6jkm5Gtow4DbVivSw7is5Ck= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8f627cde-9515-4030-42b9-08d6bf150b42 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 07:04:02.8597 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6592 Subject: [dpdk-dev] [PATCH v2 00/13] ENETC PMD basic features and bug fixes 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" V1 log: * support added for MTU, jumbo frame, queue start/stop, promiscuous, multicast, crc offload, RX checksum validation, basic stats * some bug fixes V2 change-log: * remove unneeded code from stats get * fix big endian compilation Gagandeep Singh (13): net/enetc: support physical addressing mode net/enetc: fix SMMU unhandled context fault net/enetc: use correct buffer allocation API net/enetc: set interface mode for SXGMII net/enetc: add basic statistics net/enetc: replace register read/write macros with functions net/enetc: remove forward declarations net/enetc: enable promiscuous and allmulticast feature net/enetc: add MTU update and jumbo frames support net/enetc: enable Rx-Tx queue start/stop feature net/enetc: enable CRC offload feature net/enetc: enable Rx checksum offload validation net/enetc: fix crash at high speed traffic doc/guides/nics/enetc.rst | 7 + doc/guides/nics/features/enetc.ini | 9 + drivers/net/enetc/base/enetc_hw.h | 53 ++- drivers/net/enetc/enetc.h | 13 +- drivers/net/enetc/enetc_ethdev.c | 734 +++++++++++++++++++++++++------------ drivers/net/enetc/enetc_rxtx.c | 131 +++++-- 6 files changed, 682 insertions(+), 265 deletions(-)