[PATCH v1] net/axgbe: use CPUID to identify cpu

2023-08-31 Thread Selwin Sebastian
Using root complex to identify cpu will not work for vm passthrough. CPUID is used to get family and modelid to identify cpu Fixes: b0db927b5eba ("net/axgbe: use PCI root complex device to distinguish device") Cc: sta...@dpdk.org Signed-off-by: Selwin Sebastian --- drivers/net/axgbe/axgbe_ethd

Re: [PATCH v1] net/axgbe: use CPUID to identify cpu

2023-09-22 Thread David Marchand
On Fri, Sep 15, 2023 at 4:35 PM Ferruh Yigit wrote: > > On 9/15/2023 2:02 PM, David Marchand wrote: > > On Fri, Sep 15, 2023 at 12:54 PM Ferruh Yigit wrote: > >> > >> On 8/31/2023 1:31 PM, Selwin Sebastian wrote: > >>> Using root complex to identify cpu will not work for vm passthrough. > >>> CPU

Re: [PATCH v1] net/axgbe: use CPUID to identify cpu

2023-09-27 Thread Bruce Richardson
On Fri, Sep 22, 2023 at 11:43:23AM +0200, David Marchand wrote: > On Fri, Sep 15, 2023 at 4:35 PM Ferruh Yigit wrote: > > > > On 9/15/2023 2:02 PM, David Marchand wrote: > > > On Fri, Sep 15, 2023 at 12:54 PM Ferruh Yigit > > > wrote: > > >> > > >> On 8/31/2023 1:31 PM, Selwin Sebastian wrote: >

Re: [PATCH v1] net/axgbe: use CPUID to identify cpu

2023-09-15 Thread Ferruh Yigit
On 8/31/2023 1:31 PM, Selwin Sebastian wrote: > Using root complex to identify cpu will not work for vm passthrough. > CPUID is used to get family and modelid to identify cpu > > Fixes: b0db927b5eba ("net/axgbe: use PCI root complex device to distinguish > device") > Cc: sta...@dpdk.org > > Sign

Re: [PATCH v1] net/axgbe: use CPUID to identify cpu

2023-09-15 Thread David Marchand
On Fri, Sep 15, 2023 at 12:54 PM Ferruh Yigit wrote: > > On 8/31/2023 1:31 PM, Selwin Sebastian wrote: > > Using root complex to identify cpu will not work for vm passthrough. > > CPUID is used to get family and modelid to identify cpu > > > > Fixes: b0db927b5eba ("net/axgbe: use PCI root complex

Re: [PATCH v1] net/axgbe: use CPUID to identify cpu

2023-09-15 Thread Ferruh Yigit
On 9/15/2023 2:02 PM, David Marchand wrote: > On Fri, Sep 15, 2023 at 12:54 PM Ferruh Yigit wrote: >> >> On 8/31/2023 1:31 PM, Selwin Sebastian wrote: >>> Using root complex to identify cpu will not work for vm passthrough. >>> CPUID is used to get family and modelid to identify cpu >>> >>> Fixes: