summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorYotam Gigi <yotamg@mellanox.com>2017-02-01 15:30:01 +0200
committerDavid S. Miller <davem@davemloft.net>2017-02-03 15:16:45 -0500
commit1d5e7c859e81a66674d194c346119d154d31e9dc (patch)
tree13e32fd4ac49b6aecd8b1c807efc48123e3a31a9 /include/net
parent3541f9e8bdebce02458882b66b638d7302c1f616 (diff)
downloadop-kernel-dev-1d5e7c859e81a66674d194c346119d154d31e9dc.zip
op-kernel-dev-1d5e7c859e81a66674d194c346119d154d31e9dc.tar.gz
net/sched: act_ife: Unexport ife_tlv_meta_encode
As the function ife_tlv_meta_encode is not used by any other module, unexport it and make it static for the act_ife module. Signed-off-by: Yotam Gigi <yotamg@mellanox.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Roman Mashak <mrv@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/tc_act/tc_ife.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/tc_act/tc_ife.h b/include/net/tc_act/tc_ife.h
index 9fd2bea0..f37e751 100644
--- a/include/net/tc_act/tc_ife.h
+++ b/include/net/tc_act/tc_ife.h
@@ -45,8 +45,6 @@ struct tcf_meta_ops {
int ife_get_meta_u32(struct sk_buff *skb, struct tcf_meta_info *mi);
int ife_get_meta_u16(struct sk_buff *skb, struct tcf_meta_info *mi);
-int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen,
- const void *dval);
int ife_alloc_meta_u32(struct tcf_meta_info *mi, void *metaval, gfp_t gfp);
int ife_alloc_meta_u16(struct tcf_meta_info *mi, void *metaval, gfp_t gfp);
int ife_check_meta_u32(u32 metaval, struct tcf_meta_info *mi);
OpenPOWER on IntegriCloud