Jamal Hadi Salim <j...@mojatatu.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/sch_api.c | 2 +-
net/sched/sch_generic.c | 6 --
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/include/net/sch_gener
This patch adds extack support for init callback to prepare per-qdisc
specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Acked-by: Jamal Hadi Salim <j...@mojatatu.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
n
This patch adds extack support for change callback for qdisc ops
structtur to prepare per-qdisc specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Acked-by: Jamal Hadi Salim <j...@mojatatu.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/
Jamal Hadi Salim <j...@mojatatu.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/pkt_cls.h| 6 --
net/sched/cls_api.c | 13 +
net/sched/sch_atm.c | 6 --
net/sched/sch_cbq.c | 4 ++--
net/sched/sch_drr.c
l Hadi Salim <j...@mojatatu.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
net/sched/sch_cbq.c | 46 ++
1 file changed, 34 insertions(+), 12 deletions(-)
diff --git a/net/sched/sch_cbq.c b/net/sched/sch_cbq.c
index efe5bf15b031..f
call an init callback which can fail by any per-qdisc specific
handling.
Cc: David Ahern <dsah...@gmail.com>
Acked-by: Jamal Hadi Salim <j...@mojatatu.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/pkt_sched.h | 3 ++-
include/net/sch_generic.h |
This patch adds extack support for class change callback api. This prepares
to handle extack support inside each specific class implementation.
Cc: David Ahern <dsah...@gmail.com>
Acked-by: Jamal Hadi Salim <j...@mojatatu.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
l Hadi Salim <j...@mojatatu.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
net/sched/sch_cbs.c | 23 ---
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/net/sched/sch_cbs.c b/net/sched/sch_cbs.c
index 8bf6e163d29c..cdd96b9a27bc 100644
--- a/n
Acked-by: Jamal Hadi Salim <j...@mojatatu.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/pkt_sched.h | 3 ++-
net/sched/act_police.c | 4 ++--
net/sched/sch_api.c | 9 +++--
net/sched/sch_cbq.c | 7 ---
net/sched/sch_htb.c | 6 --
net/sched
l Hadi Salim <j...@mojatatu.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
net/sched/sch_drr.c | 19 ++-
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/net/sched/sch_drr.c b/net/sched/sch_drr.c
index bf638ce57c50..e0b0cf8a9939 100644
--- a/n
This patch adds extack support for block callback to prepare per-qdisc
specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Acked-by: Jamal Hadi Salim <j...@mojatatu.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
n
This patch adds extack support for graft callback to prepare per-qdisc
specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Acked-by: Jamal Hadi Salim <j...@mojatatu.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
n
This patch fix checkpatch issues for upcomming patches according to the
sched api file. It changes mostly how to check on null pointer.
Acked-by: Jamal Hadi Salim <j...@mojatatu.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
net/sched/sch_api.c| 2 +-
net/sch
backs: tcf_block
- Alex
Alexander Aring (14):
net: sched: fix coding style issues
net: sched: sch_api: handle generic qdisc errors
net: sched: sch: add extack for init callback
net: sched: sch: add extack for change qdisc ops
net: sched: sch: add extack to change class
net: sched: sch: add
This patch adds extack support for generic qdisc handling. The extack
will be set deeper to each called function which is not part of netdev
core api.
Cc: David Ahern <dsah...@gmail.com>
Acked-by: Jamal Hadi Salim <j...@mojatatu.com>
Signed-off-by: Alexander Aring <ar...@mojatat
Hi,
On Wed, Dec 20, 2017 at 11:32 AM, David Miller <da...@davemloft.net> wrote:
> From: Alexander Aring <ar...@mojatatu.com>
> Date: Mon, 18 Dec 2017 17:44:59 -0500
>
>> this patch series basically add support for extack in common qdisc handling.
>> Additional
This patch adds extack support for graft callback to prepare per-qdisc
specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/sch_api.c | 3 ++-
net/sched/sch_atm
ed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/pkt_sched.h | 3 ++-
net/sched/act_police.c | 4 ++--
net/sched/sch_api.c | 9 +++--
net/sched/sch_cbq.c | 7 ---
net/sched/sch_htb.c | 6 --
net/sched/sch_tbf.c | 6 --
6 files changed, 23 inser
This patch adds extack support for generic qdisc handling. The extack
will be set deeper to each called function which is not part of netdev
core api.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
net/sched/sch
ed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/pkt_cls.h| 6 --
net/sched/cls_api.c | 13 +
net/sched/sch_atm.c | 6 --
net/sched/sch_cbq.c | 4 ++--
net/sched/sch_drr.c | 2 +-
net/sched/sch_dsmark.c | 2 +-
net/sched/sch_fq_
call an init callback which can fail by any per-qdisc specfic handling.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/pkt_sched.h | 3 ++-
include/net/sch_generic.h | 3 ++-
net/sched/sch_atm.c | 5 +++--
net/sch
This patch adds extack support for the cbq qdisc implementation by
adding NL_SET_ERR_MSG in validation of user input.
Also it serves to illustrate a use case of how the infrastructure ops
api changes are to be used by individual qdiscs.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Ale
This patch adds extack support for the drr qdisc implementation by
adding NL_SET_ERR_MSG in validation of user input.
Also it serves to illustrate a use case of how the infrastructure ops
api changes are to be used by individual qdiscs.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Ale
This patch adds extack support for the cbs qdisc implementation by
adding NL_SET_ERR_MSG in validation of user input.
Also it serves to illustrate a use case of how the infrastructure ops
api changes are to be used by individual qdiscs.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Ale
This patch adds extack support for change callback for qdisc ops
structtur to prepare per-qdisc specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/sch_api.c
This patch adds extack support for class change callback api. This prepares
to handle extack support inside each specific class implementation.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sch
This patch adds extack support for block callback to prepare per-qdisc
specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/cls_api.c | 4 ++--
net/sched/sch_api
ed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/sch_api.c | 2 +-
net/sched/sch_generic.c | 6 --
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h
index 2ea04863ea34..
This patch adds extack support for init callback to prepare per-qdisc
specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/sch_api.c | 2 +-
net/sched/sch_atm.
s callback: init,
qdisc_class_ops callbacks: change and graft
- Add sch_cbs as example for qdisc_ops callback: change
- Add sch_drr as example for qdisc_class ops callbacks: tcf_block
- Alex
Alexander Aring (14):
net: sched: fix coding style issues
net: sched: sch_api: handle generic qdisc errors
net:
This patch fix checkpatch issues for upcomming patches according to the
sched api file. It changes mostly how to check on null pointer.
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
net/sched/sch_api.c| 2 +-
net/sched/sch_cbq.c| 12 ++--
net/sched/sch_gred.c
Hi,
On Thu, Dec 14, 2017 at 1:38 PM, Alexander Aring <ar...@mojatatu.com> wrote:
> This patch adds extack support for generic qdisc handling. The extack
> will be set deeper to each called function which is not part of netdev
> core api.
>
> Cc: David Ahern <dsah...
This patch adds extack support for class change callback api. This prepares
to handle extack support inside each specific class implementation.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sch
This patch sets a generic netlink error message if the validation of the
netlink attribute failed. It avoids several different settings of
netlink messages by handle nla_parse_nested on error case.
Suggested-by: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@moj
This patch adds extack support for change callback for qdisc ops
structtur to prepare per-qdisc specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/sch_api.c
This patch adds extack support for graft callback to prepare per-qdisc
specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/sch_api.c | 3 ++-
net/sched/sch_cbq
This patch adds extack support for init callback to prepare per-qdisc
specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/sch_api.c | 2 +-
net/sched/sch_cbq.
ed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/pkt_cls.h| 6 --
net/sched/cls_api.c | 13 +
net/sched/sch_cbq.c | 4 ++--
net/sched/sch_drr.c | 2 +-
net/sched/sch_dsmark.c | 2 +-
net/sched/sch_fq_codel.c | 2 +-
net/sched/sch_hfs
This patch adds extack support for the cbs qdisc implementation by
adding NL_SET_ERR_MSG in validation of user input.
Also it serves to illustrate a use case of how the infrastructure ops
api changes are to be used by individual qdiscs.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Ale
This patch adds extack support for the cbq qdisc implementation by
adding NL_SET_ERR_MSG in validation of user input.
Also it serves to illustrate a use case of how the infrastructure ops
api changes are to be used by individual qdiscs.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Ale
This patch adds extack support for the drr qdisc implementation by
adding NL_SET_ERR_MSG in validation of user input.
Also it serves to illustrate a use case of how the infrastructure ops
api changes are to be used by individual qdiscs.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Ale
ed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/pkt_sched.h | 3 ++-
net/sched/act_police.c | 4 ++--
net/sched/sch_api.c | 9 +++--
net/sched/sch_cbq.c | 7 ---
net/sched/sch_htb.c | 6 --
net/sched/sch_tbf.c | 6 --
6 files changed, 23 inser
This patch adds extack support for generic qdisc handling. The extack
will be set deeper to each called function which is not part of netdev
core api.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
net/sched/sch
ed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/sch_api.c | 5 +++--
net/sched/sch_generic.c | 6 --
3 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h
index 2ea04863ea34..
call an init callback which can fail by any per-qdisc specfic handling.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/pkt_sched.h | 3 ++-
include/net/sch_generic.h | 3 ++-
net/sched/sch_cbq.c | 9 +
net/sch
: init,
qdisc_class_ops callbacks: change and graft
- Add sch_cbs as example for qdisc_ops callback: change
- Add sch_drr as example for qdisc_class ops callbacks: tcf_block
- Alex
Alexander Aring (15):
net: sched: fix coding style issues
lib: nlattr: set extack msg if validate_nla fails
net:
This patch adds extack support for block callback to prepare per-qdisc
specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/cls_api.c | 4 ++--
net/sched/sch_api
This patch fix checkpatch issues for upcomming patches according to the
sched api file. It changes mostly how to check on null pointer.
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
net/sched/sch_api.c| 2 +-
net/sched/sch_cbq.c| 12 ++--
net/sched/sch_gred.c
Hi,
On Thu, Nov 30, 2017 at 3:12 PM, Eric Dumazet wrote:
>
...
>
>
> Well, we use different netns for isolation.
>
> You need more changes than simply removing this check, I guess.
>
> __llc_sap_find() would need a per netns list, or proper netns checks.
>
I looked
Hi,
On Wed, Dec 6, 2017 at 3:40 PM, David Miller <da...@davemloft.net> wrote:
> From: Alexander Aring <ar...@mojatatu.com>
> Date: Wed, 6 Dec 2017 11:08:39 -0500
>
>> this patch series basically add support for extack in common qdisc handling.
>> Additional it ad
it reviewable.
There are some above 80-chars width warnings, which I ignore because
it looks more ugly otherwise.
This patch-series based on patches by David Ahren which gave me some
hints how to deal with extack support.
Cc: David Ahern <dsah...@gmail.com>
- Alex
Alexander Aring (6):
net:
This patch adds extack support for graft callback to prepare per-qdisc
specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/sch_api.c | 3 ++-
net/sched/sch_cbq
This patch adds extack support for block callback to prepare per-qdisc
specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/cls_api.c | 4 ++--
net/sched/sch_api
This patch adds extack support for generic qdisc handling. The extack
will be set deeper to each called function which is not part of netdev
core api. A future patchset will add per-qdisc specific changes.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@moj
This patch adds extack support for change callback for qdisc ops
structtur to prepare per-qdisc specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/sch_api.c
This patch adds extack support for class change callback api. This prepares
to handle extack support inside each specific class implementation.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sch
This patch adds extack support for init callback to prepare per-qdisc
specific changes for extack.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/sch_generic.h | 3 ++-
net/sched/sch_api.c | 2 +-
net/sched/sch_cbq.
This patch fix checkpatch issues for upcomming patches according to the
sched api file. It changes checking on null pointer, remove unnecessary
brackets, add variable names for parameters and adjust 80 char width.
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Ari
after this.
- Alex
Cc: David Ahern <dsah...@gmail.com>
Alexander Aring (2):
net: sched: sch_api: fix code style issues
net: sched: sch_api: rearrange init handling
include/net/sch_generic.h | 10 +++--
net/sched/sch_api.c | 97 +--
2
the same
behaviour as before, just without assign err variable in if condition.
It also makes the code easier to read.
Reviewed-by: Jamal Hadi Salim <j...@mojatatu.com>
Cc: David Ahern <dsah...@gmail.com>
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
net/sc
bled Linux bridges in different
namespaces. The bridges are connected via veth interfaces.
This patch makes STP work in such a setup.
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
net/llc/llc_input.c | 4
1 file changed, 4 deletions(-)
diff --git a/net/llc/llc_input.c b/net
This patch changes ife_prio to ife_tcindex which is right variable to
assign in the argument in this case.
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
Found by inspection the code.
tc/m_ife.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tc/m_ife.c b/tc/m
Hi,
I figure out some problem, easy to reproduce:
# setup dummy
$ modprobe dummy
$ ip link set dummy0 up
# issue
$ ip route replace default via 169.254.65.37 dev dummy0
RTNETLINK answers: Network is unreachable
so it will forbid me to do that, but:
$ ip route replace 169.254.65.37 dev dummy0
This patch migrates the current counter handling which is protected by a
spinlock to a per-cpu counter handling. This reduce the time where the
spinlock is being held.
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
net/sched/act_ife.c | 29 +++--
1 file c
This patch changes the parameter updating via RCU and not protected by a
spinlock anymore. This reduce the time that the spinlock is being held.
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/net/tc_act/tc_ife.h | 10 --
net/sched/act_ife.c
.
- I use still dereference in dump callback, so I think what I didn't
got was what happened when rcu_assign_pointer will do when rcu read
lock is held. I suppose the pointer will be updated, then we don't
have any issue here.
Alexander Aring (3):
sched: act: ife: move encode/decode
This patch adds the check of the two possible ife handlings encode
and decode to the init callback. The decode value is for usability
aspect and used in userspace code only. The current code offers encode
else decode only. This patch avoids any other option than this.
Signed-off-by: Alexander
Hi,
On Tue, Oct 10, 2017 at 10:12 AM, Eric Dumazet <eric.duma...@gmail.com> wrote:
> On Tue, 2017-10-10 at 08:32 -0400, Alexander Aring wrote:
>> This patch fixes an issue with kfree_rcu which is not protected by RTNL
>> lock. It could be that the current assigned rcu
Hi,
On Tue, Oct 10, 2017 at 8:32 AM, Alexander Aring <ar...@mojatatu.com> wrote:
> This patch fixes an issue with kfree_rcu which is not protected by RTNL
> lock. It could be that the current assigned rcu pointer will be freed by
> kfree_rcu while dump callback is running.
>
>
params B
- dump params
\--> will dump params A
This could be a unlikely case that the last rcu_assign_pointer was not
happened before dump callback.
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
net/sched/act_skbmod.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion
r in other tc
actions where code was just copy
The problem because nobody hits this issue is, I think that dump will do alot
of previous stuff which took more time than a rcu_synchronize. Anyway, this
change should avoid any use after free issues etc.
- Alex
Alexander Aring (1):
net: sched: ac
This patch will report about if the ethertype for IFE is not specified
that the default IFE type is used.
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
tc/m_ife.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tc/m_ife.c b/tc/m_ife.c
index 7b57130e..5633ab90 100644
--
This patch allows to set an ethertype for IFE which is zero. There is no
kernel side validation which forbids a type to zero.
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
tc/m_ife.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tc/m_ife.c b/tc/m_ife.c
This patch updates the tc-ife man page that the default IFE ethertype
will be used if it's not specified.
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
man/man8/tc-ife.8 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/man8/tc-ife.8 b/man/man8/tc-ife.8
of tc-ife.
Note: Please wait until the related kernel patches comes in. This
patch series contains an UAPI change which need to be accepted by netdev
at first. Thanks.
- Alex
Alexander Aring (4):
tc: m_ife: allow ife type to zero
tc: m_ife: print IEEE ethertype format
tc: m_ife: report about
This patch uses the usually IEEE format to display an ethertype which is
4-digits and every digit in upper case.
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
tc/m_ife.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tc/m_ife.c b/tc/m_ife.c
index e05e2276..7b
t;FoRCES" which
is a spelling error inside the IEEE ethertype specification.
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
include/uapi/linux/if_ether.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/if_ether.h b/include/uapi/linux/if_ether.h
index 5bc9bfd
This patch handles a default IFE type if it's not given by user space
netlink api. The default IFE type will be the registered ethertype by
IEEE for IFE ForCES.
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
net/sched/act_ife.c | 17 +++--
1 file changed, 3 insertions(
This patch adds a new testcase for the IFE type setting in tc. In case
of user specified the type it will check if the ife is correctly
configured to react on it. If it's not specified the default IFE type
should be used.
Signed-off-by: Alexander Aring <ar...@mojatatu.com>
---
.../tc-test
.
- Alex
Alexander Aring (3):
if_ether: add forces ife lfb type
act_ife: use registered ife_type as fallback
tc-testing: add test for testing ife type
include/uapi/linux/if_ether.h | 1 +
net/sched/act_ife.c| 17 ++--
.../tc-testing
Hi Michael,
On 04/18/2017 06:59 PM, Michael Richardson wrote:
>
> Alexander Aring <a...@pengutronix.de> wrote:
> > What does the 6LoWPAN interface?
>
> > It will do a protocol change (an adaptation, because 6LoWPAN should
> > provide the same
opinion: wrong.
At least if you want to try to make a more efficient qdisc handling,
means dropping skb's in queue when userspace sends too much. You will
change it back, control two queues seems to be difficult.
On 04/18/2017 12:43 PM, Luiz Augusto von Dentz wrote:
> Hi Alex,
>
> On Mon,
Hi,
bluetooth-next contains patches which introduces a queue for bluetooth
6LoWPAN interfaces. [0]
At first, the current behaviour is now that 802.15.4 6LoWPAN interfaces
are virtual and bluetooth 6LoWPAN interfaces are not virtual anymore.
To have a different handling in both subsystems is
Hi,
sorry for the late reply.
On 04/03/2017 07:29 PM, Cong Wang wrote:
> (Cc'ing netdev and maintainers)
>
> On Mon, Mar 27, 2017 at 2:16 AM, David Palma wrote:
>>
>> Hi,
>>
>> Sending a simple UDP packet (39 bytes long), over a 6lowpan interface
>> (using fakelb),
Hi,
sorry, I decided now to take a look into the patch... Currently I have
no time to do anything... normally. That's why I simple said "everything
okay" in irc.
On 03/02/2017 02:23 PM, Luiz Augusto von Dentz wrote:
> From: Luiz Augusto von Dentz
>
> According to RFC
H
On 02/27/2017 08:13 AM, Alexander Aring wrote:
> Hi,
>
> On 02/24/2017 01:14 PM, Luiz Augusto von Dentz wrote:
>> From: Luiz Augusto von Dentz <luiz.von.de...@intel.com>
>>
>> This allow technologies such as Bluetooth to use its native lladdr which
&
Hi,
On 02/24/2017 01:14 PM, Luiz Augusto von Dentz wrote:
> From: Luiz Augusto von Dentz
>
> This allow technologies such as Bluetooth to use its native lladdr which
> is eui48 instead of eui64 which was expected by functions like
> lowpan_header_decompress and
Hi,
okay now I am finally confused.
On 02/24/2017 01:14 PM, Luiz Augusto von Dentz wrote:
> From: Alexander Aring <a...@pengutronix.de>
>
> This patch adds support for 48 bit 6LoWPAN address length
> autoconfiguration which is the case for BTLE 6LoWPAN.
>
> Signed
Hi,
On 02/26/2017 07:05 AM, Alexander Aring wrote:
>
> Hi,
>
> On 02/24/2017 01:14 PM, Luiz Augusto von Dentz wrote:
>> From: Luiz Augusto von Dentz <luiz.von.de...@intel.com>
>>
>> Accourding to RFC 7668 U/L bit shall not be used:
>>
>> https:
Hi,
On 02/24/2017 01:14 PM, Luiz Augusto von Dentz wrote:
> From: Luiz Augusto von Dentz
>
> Accourding to RFC 7668 U/L bit shall not be used:
>
> https://wiki.tools.ietf.org/html/rfc7668#section-3.2.2 [Page 10]:
>
>In the figure, letter 'b' represents a bit
Hi all,
I am currently writing some userspace UDP Software for 6LoWPAN
subsystem. It will use UDP IPv6 sockets, the 6LoWPAN adaptation will be
done at kernelspace.
My problem is currently the following:
I need per recvmsg(2) the used source link-layer address for the
incoming UDP packet which
is that we're not checking that this is an IEEE802154 interface,
> so let's do what ieee802154_nl_get_dev() is doing. (Maybe we should even
> be calling this directly?)
>
> Cc: Lennert Buytenhek <buyt...@wantstofly.org>
> Cc: Alexander Aring <alex.ar...@gmail.com>
> Cc: Marcel Holtmann <
Hi all,
I currently want to search nice solution to adding an UAPI for 6LoWPAN.
The current 6LoWPAN UAPI is some dev-hacking stuff in debugfs [0].
Marcel told me before I tried to send upstream patches for radvd [1] I
definitely should introduce a stable UAPI concept.
The question is here, what
Since we use exported function from ipv6 kernel module we don't need to
request the module anymore to have ipv6 functionality.
Acked-by: Hannes Frederic Sowa <han...@stressinduktion.org>
Reviewed-by: Stefan Schmidt <ste...@osg.samsung.com>
Signed-off-by: Alexander Aring <a...
;da...@davemloft.net>
Reviewed-by: Stefan Schmidt <ste...@osg.samsung.com>
Acked-by: YOSHIFUJI Hideaki <yoshf...@linux-ipv6.org>
Signed-off-by: Alexander Aring <a...@pengutronix.de>
---
include/linux/netdevice.h | 3 +--
include/net/6lowpan.h | 10 ++
net/ieee80
aki <yoshf...@linux-ipv6.org>
Signed-off-by: Alexander Aring <a...@pengutronix.de>
---
include/net/ndisc.h | 18 ++--
net/6lowpan/6lowpan_i.h | 4 +
net/6lowpan/Makefile| 2 +-
net/6lowpan/core.c | 4 +-
net/6lowpan/ndisc.c | 234 +
..@linux-ipv6.org>
Cc: Patrick McHardy <ka...@trash.net>
Acked-by: Hannes Frederic Sowa <han...@stressinduktion.org>
Reviewed-by: Stefan Schmidt <ste...@osg.samsung.com>
Signed-off-by: Alexander Aring <a...@pengutronix.de>
---
include/net/6lowpan.h | 6 ++
include/net/
netsov <kuz...@ms2.inr.ac.ru>
Cc: James Morris <jmor...@namei.org>
Cc: Hideaki YOSHIFUJI <yoshf...@linux-ipv6.org>
Cc: Patrick McHardy <ka...@trash.net>
Reviewed-by: Stefan Schmidt <ste...@osg.samsung.com>
Acked-by: YOSHIFUJI Hideaki <yoshf...@linux-i
JI <yoshf...@linux-ipv6.org>
Cc: Patrick McHardy <ka...@trash.net>
Acked-by: YOSHIFUJI Hideaki <yoshf...@linux-ipv6.org>
Reviewed-by: Stefan Schmidt <ste...@osg.samsung.com>
Signed-off-by: Alexander Aring <a...@pengutronix.de>
---
net/ipv6/ndisc.c | 14 ++---
In case of sending RA messages we need some way to get the short address
from an 802.15.4 6LoWPAN interface. This patch will add a temporary
debugfs entry for experimental userspace api.
Reviewed-by: Stefan Schmidt <ste...@osg.samsung.com>
Signed-off-by: Alexander Aring <a...@pengu
101 - 200 of 334 matches
Mail list logo