From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0071.outbound.protection.outlook.com [104.47.41.71]) by dpdk.org (Postfix) with ESMTP id C63231F28 for ; Thu, 29 Mar 2018 10:02:13 +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; bh=Nk3JzkDQc1iW7auWrQPS06xTEcCw+ENWXlTypyemWKo=; b=gZDSEg3EGB4riJkTgJytrMxXUUFjyRSo52crg7cNmXtD8ZOtZ0nPgTjOiAFwpWEACJCxDje5voKP0citLudr34LoMMZxgcfhy9/Y4m/Sq9ZR9X1YXHmM6IWp8CNfzzifdTuxWd7l+h+/aEf8/iyu6riDPom0xohODM5UMA0zlh0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Santosh.Shukla@cavium.com; Received: from [192.168.0.106] (103.76.56.167) by CY1PR0701MB1900.namprd07.prod.outlook.com (2a01:111:e400:51df::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Thu, 29 Mar 2018 08:02:10 +0000 To: Ferruh Yigit , Jerin Jacob , Thomas Monjalon Cc: dev@dpdk.org References: <20180327174052.266285-1-ferruh.yigit@intel.com> From: santosh Message-ID: <6b6defae-fd9c-fe9a-1e27-29e66b678b06@caviumnetworks.com> Date: Thu, 29 Mar 2018 13:31:58 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180327174052.266285-1-ferruh.yigit@intel.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [103.76.56.167] X-ClientProxiedBy: HK2PR02CA0211.apcprd02.prod.outlook.com (2603:1096:201:20::23) To CY1PR0701MB1900.namprd07.prod.outlook.com (2a01:111:e400:51df::30) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f803fca7-0878-436e-bad1-08d5954b60b8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:CY1PR0701MB1900; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1900; 3:Nmlm+OIt/O+xzPpOLKRuOl8xPaPiRaS703XZY6T8a+pDid5RF/Ipc16lzHH3djrWgOTMz+rzjmJBXWn9dpLNkvFH72aVrMgwgZLauwJM6dvzhoNrtcsg1pWYpa07W/0F5UGXrrQONuYWovwoGEKOXLNTuq99tM4J8l14ShqQV9ckoePQjCGueaN/R6zM+zKWQltCH1MikF5nuwCXj5DqJeKTPG/8IWfyPlwmYHVWZO5jyl7NcxstMq4P0E/GKsRu; 25:AyuKsPEts4rjlAuIp9G3c8A49g5cZ05JZRUc7Pa0P+kCGh2nSCO86HNdWGke83be8JWgXOV+eaQfUyf/TFRjUPkZcWuJiLtivKx1DoMKxHGR6SpFNP5BhmzjWPeX4KbfG9KkN5tJLNMd4NjSHyVtE3Gs2nar4faZlLQYHS0oytdULcdNhpvGUdjj7WE+66xGatIiIUnPUO/A3DxpH1B2vM0IaFI7E9pzGoLa+GR7aEwouzE1R0j+ICRnNyXuDwyE3Cjjk9acZc5hVI19/F+8R8ChAvgQGVhJbwDPZPQGVXROTAo3kFB0gAT/r421TAAg3ihZ4U7Vxh2S2Yz252vXGA==; 31:8WUnPfWz/NKU+fasDX18E28p9gCyijjbti6Cy4NgKOtlHY6nYZZuQLb7hO0L5b3FoDgvYMb6b8NJ9OC+MDLVxi2q9XOVm49uoeThsxdf6L7nhn6PvX0mtGbNGAULRrIKHVlqOck6NsVJcqEsDL0qKNFYI9JTgVGIM3LUTEPAmZP427WwCl87KBuSDJU6kFLGon7m/1MqBw8826g7w2iXTLOxOSEhGz/fNGYxgR9YL00= X-MS-TrafficTypeDiagnostic: CY1PR0701MB1900: X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1900; 20:S8cwD81FY24ZpFhE1h9JkakP7xrhoAUnw9ghQPf+cGqfeAIivsrhqkxMk8G3fIXd78RRflkQRsWmNOfMxsiVBYVrgmissCdznb/aU79GcjcgeZC8I9vo4aLlxRc6q50tUe5iua3MDLhaXewLzQ1yWYTWQ2JdAQtseHH8xj6x21ugL6JwNbx9Svn1Sp+JZRdVg/3phGqs39E+4p4fSknr47G3xZ5XSJ5NGCg+hcJSyVMgI2YnN0vg5zXJ936GFciXUs46pKOAnKgxPXtJS7EwyuFtCUzAYR3kMjVYaXzUNr0Sl5cu3tMA1tn1z/Rwhd0hVx2BDCSJdkWhd8xiSf2uVbbBMqTA/fVt7uf5dJVNSy0idiSPM6EzkMXKvQYKqStF8OJg3U8B6OcgkFekHRnLMpCcRZwOsrdhPU9989dQlVFtqFREZ+qw8/vWzrFlBcueAg411VfMd2FY3a+HgWBzeyoCp8uvvcBbfGT9UP2bUwKKuKWgzSxY8JWYagoeqObP1d0pSvTNXWD+LgCwjglinlKq4luOijLv6XMC8cvxShv4rGKvZtCXJPf4LfID3w3gxYvI+8NoyJfqhFJLA+dY9R1g+QxIAJexStNejfifd2Q= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(788757137089)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231221)(944501327)(52105095)(3002001)(93006095)(10201501046)(6041310)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:CY1PR0701MB1900; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1900; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1900; 4:Kf7cTfVP8Le5MiJFBLICNwuvzfLUt1VpLXmhgUmNGX6ZoxIjGjGvLCd6tBGEkUPX7hS3CRhjZSdSp/dSeHHzWL159l9zYJ3xjkucFeZqhVR/NbgeSZazMH7sOyvD53J/cdSJkf77KEF9cfvGKpKasEcokRuqFcAzZUpCgCkVb5lkKHEWsUWvk4tFDo+B5iodyvtiGANcNfsb+VDJmOseYrRS8O9A10NcRi1Zj45Q9Wka1gBOW7j40wAFw4H78skfYtV7XD6TovvNsA4jmZCPnrVXOtCfw29SRgfMeiCYxtCnbeglWCE3ijiHSHaT+W7f9FYWHTUg/7yf+Tohx+13c057Qya/uS+XOs57LyoCaNU= X-Forefront-PRVS: 0626C21B10 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(366004)(39380400002)(376002)(346002)(396003)(39860400002)(199004)(189003)(3846002)(31696002)(229853002)(2906002)(76176011)(52116002)(2486003)(52146003)(26005)(386003)(59450400001)(77096007)(23676004)(6666003)(16526019)(186003)(105586002)(16576012)(110136005)(230700001)(58126008)(316002)(65806001)(65956001)(66066001)(47776003)(31686004)(6246003)(36756003)(64126003)(42882007)(86152003)(50466002)(53936002)(2616005)(956004)(106356001)(117156002)(476003)(478600001)(305945005)(6486002)(5660300001)(486005)(72206003)(25786009)(68736007)(8936002)(7736002)(486005)(11346002)(4326008)(97736004)(8676002)(81156014)(81166006)(446003)(65826007)(6116002)(41533002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1900; H:[192.168.0.106]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjA3MDFNQjE5MDA7MjM6Z1JCRTllTEgxWlRKbUd1RU00TWFGUmNB?= =?utf-8?B?ZW13VnRvd3NycjRiWmdhekROWmlsTEVjWVdWanJBc3h5Y3NsTWNrQktXUEJT?= =?utf-8?B?b2VDR3Z3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VTYmVBcEdzSWc2RENK?= =?utf-8?B?aXZIK21ialQvQ0tWU1loaVpGQVI0L3RiNXlrdTQvQ045djVZam9OcXNRdkFM?= =?utf-8?B?dXVRVlo2T2xIbEhrMis1NzJnSXh2Mm4zMTlheENsb3ZvMDI0WENQaERnRk82?= =?utf-8?Q?ZLxg+5HW465FJhEj2TBHhP3XsCN?= X-Microsoft-Antispam-Message-Info: MDZovxGn4VhdWDzk/S5KZUmcAqfwPzJtXp6HNpqQQMk/lQgCMu46t4K9fgSJK33ia2OErDucWcYOeo2Nu4grvy2xRCNz2dsGLEX4SztQNp1CRCPWqK0xn44BDPIDN98m+i38jvKEr6wkCgh+X3K/YuzjdG5JJvW8kqgcERQTci5am572AolYs8SLLCgryIvn X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1900; 6:G6mGyhtkkuAdX+qTPDDgSQEsyYQIrMw4Mu2sxZAps/HcczaLNFYpkQWWMRAMK4EgwRbBUYkdELc7wzSK/UhyGets5H9K746dTfNQ28VW19Msad2qmtbiBD4NCtCoh96kDcQJ9IHUOKJzrSEdF4RN3Hm51zIUhA/TjkzQIgVC19sbh+IKSdmDZcotpC4PCT+3mU6DQMSXOLLj/t1KC980Ynh9HuO7Xa7A+9kuYPXO2CWymBjzEm9uMxa+ZOcTZTC6I7SB5sx7BZaK0eTn3MMNLJNebfXbEpy/alAM1acheOkTp3x9tbVbtyOlUvNXhnX3BjrREQvSQNooCFdfIC+5HmXqhaqBdfcVWbMVktL/O70ytH87aa6wbrHtxLSns/VVrW1cl1nvbne4LxhEyihVte7qg7Hlo/nCnlc0X5+pmEq7yiGHqtXopDrheVqEYMTaVfPdI/yhcNBsVjh815Ojaw==; 5:vM+9faUWLOBsexdFNE+3mlIAcWnw3MonAL+6nFGBVb1xkqAVXZGk/ZWmB4dO1OhuZKA278SpTj3CNSZ/Us2bNCBg4a8QeABHokdAIz7P42kNMvupUvDtOsFVsohU1yc90iTUZSi61VcvPzSKKLKO7EabPiBvjPYRN3gvlljRbYc=; 24:L+RM/kCjoHSkfhZJYZbRvEqJ+wdCZJFm5kGa6aI5xEuk5QfIOVizcABr9UydYu6/fKFfveymNLXK65wr0HwgN0KhT1pwM22Bas8Ahpce80w= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1900; 7:65at/Z4F1nJO/Frioe9rbaRpPNQFYGp+OFRsgm7sWj9SDLT7VLzcYNHlw/7FcUzyk6VRHFLt0KMqZIXJ2qeIm9NuFKPakcyEkGqaRIwJocKqCaRoVTrWPTgkyZ+zGaSd3XWQQWRbAuG+y26ZfP5XnaMp7+p6n+b+0eb/ZN2I6BOiDkITRfdWQCZlpF/Je4hufT9oQkbbPEUZcTqsQPmIRxfTUW6uY0g61YVdyrpr8+ijVxXMOG2k0JrxwXWzRfSh X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2018 08:02:10.3409 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f803fca7-0878-436e-bad1-08d5954b60b8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1900 Subject: Re: [dpdk-dev] [PATCH] ethdev: replace bus specific struct with generic dev 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: Thu, 29 Mar 2018 08:02:14 -0000 On Tuesday 27 March 2018 11:10 PM, Ferruh Yigit wrote: > Public struct rte_eth_dev_info has a "struct rte_pci_device" field in it > although it is common for all ethdev in all buses. > > Replacing pci specific struct with generic device struct and updating > places that are using pci device in a way to get this information from > generic device. > > Signed-off-by: Ferruh Yigit > --- > Cc: Pablo de Lara > > There is no deprecation notice sent for this update but in this release > ethdev info already updated and ABI already broken, it can be good > opportunity for this update. > --- > app/test-pmd/config.c | 11 ++++++++++- > app/test-pmd/testpmd.h | 24 ++++++++++++++++++------ > drivers/net/af_packet/rte_eth_af_packet.c | 1 + > drivers/net/ark/ark_ethdev.c | 4 +++- > drivers/net/avf/avf_ethdev.c | 2 +- > drivers/net/avp/avp_ethdev.c | 2 +- > drivers/net/bnx2x/bnx2x_ethdev.c | 2 +- > drivers/net/bnxt/bnxt_ethdev.c | 2 +- > drivers/net/cxgbe/cxgbe_ethdev.c | 2 +- > drivers/net/dpaa/dpaa_ethdev.c | 1 + > drivers/net/dpaa2/dpaa2_ethdev.c | 1 + > drivers/net/e1000/em_ethdev.c | 2 +- > drivers/net/e1000/igb_ethdev.c | 4 ++-- > drivers/net/ena/ena_ethdev.c | 2 +- > drivers/net/enic/enic_ethdev.c | 2 +- > drivers/net/fm10k/fm10k_ethdev.c | 2 +- > drivers/net/i40e/i40e_ethdev.c | 2 +- > drivers/net/i40e/i40e_ethdev_vf.c | 2 +- > drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++-- > drivers/net/kni/rte_eth_kni.c | 2 +- > drivers/net/liquidio/lio_ethdev.c | 2 +- > drivers/net/mlx4/mlx4_ethdev.c | 2 +- > drivers/net/mlx5/mlx5_ethdev.c | 2 +- > drivers/net/mrvl/mrvl_ethdev.c | 2 ++ > drivers/net/nfp/nfp_net.c | 2 +- > drivers/net/null/rte_eth_null.c | 1 + > drivers/net/octeontx/octeontx_ethdev.c | 2 +- Resending, as mailman had issues sending to too many recipient. nits: patch apply failed on tip 20526313, applied manually. with that: Acked-by: Santosh Shukla [..]