Re: [PATCH net] nfp: fix TLV offset calculation

2018-02-02 Thread David Miller
From: Jakub Kicinski Date: Thu, 1 Feb 2018 19:41:43 -0800 > From: Edwin Peer > > The data pointer in the config space TLV parser already includes > NFP_NET_CFG_TLV_BASE, it should not be added again. Incorrect > offset values were only used in printed user output, rendering > the bug merely co

[PATCH net] nfp: fix TLV offset calculation

2018-02-01 Thread Jakub Kicinski
From: Edwin Peer The data pointer in the config space TLV parser already includes NFP_NET_CFG_TLV_BASE, it should not be added again. Incorrect offset values were only used in printed user output, rendering the bug merely cosmetic. Fixes: 73a0329b057e ("nfp: add TLV capabilities to the BAR") Sig