Re: [dpdk-dev] [PATCH] net/softnic: fix undefined dev info fields

2018-11-21 Thread Ferruh Yigit
On 11/20/2018 10:35 PM, Ferruh Yigit wrote: > On 11/20/2018 1:00 PM, Jasvinder Singh wrote: >> The memcpy operation overwrites the device info fields set >> by ethdev API and leaves the device field undefined. >> Thus, replaces memcpy by only updating the required fields >> at the driver layer. >>

Re: [dpdk-dev] [PATCH] net/softnic: fix undefined dev info fields

2018-11-20 Thread Ferruh Yigit
On 11/20/2018 1:00 PM, Jasvinder Singh wrote: > The memcpy operation overwrites the device info fields set > by ethdev API and leaves the device field undefined. > Thus, replaces memcpy by only updating the required fields > at the driver layer. > > error log: testpmd> show port info 1 > > I

[dpdk-dev] [PATCH] net/softnic: fix undefined dev info fields

2018-11-20 Thread Jasvinder Singh
The memcpy operation overwrites the device info fields set by ethdev API and leaves the device field undefined. Thus, replaces memcpy by only updating the required fields at the driver layer. error log: testpmd> show port info 1 Infos for port 1 MAC address: 00:00:00:00:00:00 Device na