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

Rahul Lakkireddy rahul.lakkireddy at chelsio.com
Fri Apr 19 14:03:20 CEST 2019


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>


More information about the stable mailing list