[dpdk-stable] [PATCH v2] net/cxgbe: fix colliding function names

Ferruh Yigit ferruh.yigit at intel.com
Fri Apr 19 14:20:01 CEST 2019


On 4/19/2019 1:03 PM, Rahul Lakkireddy wrote:
> On Friday, April 04/19/19, 2019 at 17:14:25 +0530, Ferruh Yigit wrote:
>> From: Stephen Hemminger <stephen at networkplumber.org>
>>
>> This driver defines lots of functions (like init_rss) which are intended
>> to only be used in this device. But when doing static linking these
>> global functions cause link failures when similar function name is
>> used in application.
>>
>> This patch prefixes all functions defined in cxgbe.h with cxgbe_
>> to avoid these kind of conflicts.
>>
>> Fixes: bfcb257d3014 ("net/cxgbe: enable RSS for VF")
>> Cc: stable at dpdk.org
>>
>> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
>> Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
> 
> Acked-by: Rahul Lakkireddy <rahul.lakkireddy at chelsio.com>
> 

Applied to dpdk-next-net/master, thanks.


More information about the stable mailing list