On Mon, 30 Nov 2020 20:48:25 +0900
Leesoo Ahn wrote:
> The function has only a statement of calling memset() to
> clear xdp_rxq object. Let it always be an inline function.
No, this is the wrong approach.
The function is already "static", and the compiler have likely already
inlined this code,
The function has only a statement of calling memset() to
clear xdp_rxq object. Let it always be an inline function.
Signed-off-by: Leesoo Ahn
---
net/core/xdp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/xdp.c b/net/core/xdp.c
index 48aba933a5a8..dab72b9a71a1
2 matches
Mail list logo