Loading include/net/pkt_sched.h +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ extern int tc_classify_compat(struct sk_buff *skb, const struct tcf_proto *tp, struct tcf_result *res); extern int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp, struct tcf_result *res); extern void tc_qdisc_flow_control(struct net_device *dev, u32 tcm_handle, extern int tc_qdisc_flow_control(struct net_device *dev, u32 tcm_handle, int flow_enable); /* Calculate maximal size of packet seen by hard_start_xmit routine of this device. Loading net/sched/sch_api.c +4 −1 Original line number Diff line number Diff line Loading @@ -1080,10 +1080,11 @@ static int tc_get_qdisc(struct sk_buff *skb, struct nlmsghdr *n) /* * enable/disable flow on qdisc. */ void int tc_qdisc_flow_control(struct net_device *dev, u32 tcm_handle, int enable_flow) { struct Qdisc *q; int qdisc_len = 0; struct __qdisc_change_req { struct nlattr attr; struct tc_prio_qopt data; Loading @@ -1100,9 +1101,11 @@ tc_qdisc_flow_control(struct net_device *dev, u32 tcm_handle, int enable_flow) /* call registered change function */ if (q) { qdisc_len = q->q.qlen; if (q->ops->change(q, &(req.attr)) != 0) pr_err("tc_qdisc_flow_control: qdisc change failed"); } return qdisc_len; } EXPORT_SYMBOL(tc_qdisc_flow_control); Loading Loading
include/net/pkt_sched.h +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ extern int tc_classify_compat(struct sk_buff *skb, const struct tcf_proto *tp, struct tcf_result *res); extern int tc_classify(struct sk_buff *skb, const struct tcf_proto *tp, struct tcf_result *res); extern void tc_qdisc_flow_control(struct net_device *dev, u32 tcm_handle, extern int tc_qdisc_flow_control(struct net_device *dev, u32 tcm_handle, int flow_enable); /* Calculate maximal size of packet seen by hard_start_xmit routine of this device. Loading
net/sched/sch_api.c +4 −1 Original line number Diff line number Diff line Loading @@ -1080,10 +1080,11 @@ static int tc_get_qdisc(struct sk_buff *skb, struct nlmsghdr *n) /* * enable/disable flow on qdisc. */ void int tc_qdisc_flow_control(struct net_device *dev, u32 tcm_handle, int enable_flow) { struct Qdisc *q; int qdisc_len = 0; struct __qdisc_change_req { struct nlattr attr; struct tc_prio_qopt data; Loading @@ -1100,9 +1101,11 @@ tc_qdisc_flow_control(struct net_device *dev, u32 tcm_handle, int enable_flow) /* call registered change function */ if (q) { qdisc_len = q->q.qlen; if (q->ops->change(q, &(req.attr)) != 0) pr_err("tc_qdisc_flow_control: qdisc change failed"); } return qdisc_len; } EXPORT_SYMBOL(tc_qdisc_flow_control); Loading