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

Ferruh Yigit ferruh.yigit at intel.com
Fri Apr 19 10:15:12 CEST 2019


On 4/19/2019 12:37 AM, Stephen Hemminger wrote:
> 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.

+1, not static functions should have module prefix

> 
> Fixes: bfcb257d3014 ("net/cxgbe: enable RSS for VF")
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>



More information about the dev mailing list