Re: [net-next 04/16] i40e/i40evf: Move helper functions to a header file
From: David Miller <davem@davemloft.net>
Date: 2015-08-20 22:01:03
From: David Miller <davem@davemloft.net>
Date: 2015-08-20 22:01:03
From: Jeff Kirsher <redacted> Date: Wed, 19 Aug 2015 17:57:54 -0700
+inline int i40e_allocate_dma_mem_d(struct i40e_hw *hw,
+ struct i40e_dma_mem *mem,
+ u64 size, u32 alignment)
+{All of these should be "static inline" otherwise GCC is going to emit a copy every time you include this header file, even if it inlines all of the call sites visible to it.