On September 1, 2015 8:18:29 PM GMT+02:00, Sergei Shtylyov
wrote:
>Hello.
>
>On 09/01/2015 06:43 PM, Ahmed Amamou wrote:
>
>> Signed-off-by: Ahmed Amamou
>> ---
>> net/bridge/rbr.c | 14 ++
>> net/bridge/rbr_private.h | 2 ++
change bridge structure to add corresponding RBridge reference
change bridge port structure to identify disable /P2P/ ACCESS / TRUNK port/
Signed-off-by: Ahmed Amamou
Signed-off-by: Kamel Haddadou
Signed-off-by: François Cachereul
Signed-off-by: William Dauchy
---
net/bridge/br_private.h
replace classic rx_handler in bridge by the new rbr_handle_frame in
order to provide trill support
Signed-off-by: Ahmed Amamou
Signed-off-by: Kamel Haddadou
Signed-off-by: William Dauchy
---
net/bridge/br_if.c | 7 ++-
net/bridge/br_private.h | 1 +
net/bridge/rbr.c| 20
update forwarding database to include nickname information used
in encapsulation and decapsulation
add functions to get and update nickname
Signed-off-by: Ahmed Amamou
Signed-off-by: Kamel Haddadou
Signed-off-by: William Dauchy
---
net/bridge/br_fdb.c | 41
In order to avoid memleak need to clean all rbr_node once rbridge is
stopped
Signed-off-by: Ahmed Amamou
Signed-off-by: Kamel Haddadou
Signed-off-by: William Dauchy
---
net/bridge/rbr.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/net/bridge/rbr.c b/net/bridge/rbr.c
0 all port used to
have a unique handler that fallback to bridge handler if
trill is not enabled
- remove usesless locks
- remove all format errors
- handle TRILL packets within packet split process
Ahmed Amamou (19):
net: rbridge: add trill frame description
net: rbridge: add RB
frame from ACCESS PORT can not be flooded on TRUNK port
the opposite is also true, so we add a check on trill_flag on
br_flood function an add a special call
br_flood_forward_flags and br_flood_deliver_flags for them
Signed-off-by: Ahmed Amamou
---
net/bridge/br_forward.c | 37
add receiving function
process unicast frames in receiving function
multicast frame are not handled from the moment
Signed-off-by: Ahmed Amamou
Signed-off-by: Kamel Haddadou
Signed-off-by: William Dauchy
---
net/bridge/rbr.c | 233 ++-
1
Signed-off-by: Ahmed Amamou
---
net/bridge/rbr.c | 14 ++
net/bridge/rbr_private.h | 2 ++
net/bridge/rbr_rtnetlink.c | 6 ++
3 files changed, 22 insertions(+)
diff --git a/net/bridge/rbr.c b/net/bridge/rbr.c
index c554743..31e72ef 100644
--- a/net/bridge/rbr.c
rbr_node are used to save distant Rbridges information
they are use by local Rbridge to take routing decision
this patch add get/put/free/find/del function to rbr_node to
avoid freeing a rbr_node that is still in use for routing
Signed-off-by: Ahmed Amamou
Signed-off-by: Kamel Haddadou
Signed
add basic RBridge structure
add basic TRILL constant
define rbr_nickinfo structure which represent distant RBridge information
Signed-off-by: Ahmed Amamou
Signed-off-by: Kamel Haddadou
---
net/bridge/rbr_private.h | 60
1 file changed, 60
add basic trill header description and basic header getter and setter
functions
Signed-off-by: Ahmed Amamou
Signed-off-by: Emmanuel Hocdet
Signed-off-by: Kamel Haddadou
---
include/net/if_trill.h| 88 +++
include/uapi/linux/if_ether.h | 1 +
2
-> TRILL handling process (TODO)
- desintation is localhost consume frame
Signed-off-by: Ahmed Amamou
Signed-off-by: Kamel Haddadou
Signed-off-by: William Dauchy
Suggested-by: François Cachereul
---
include/linux/etherdevice.h | 17 +
net/bridge/rbr.c
Signed-off-by: Ahmed Amamou
---
include/uapi/linux/if_link.h | 6 ++
net/bridge/Makefile | 2 +-
net/bridge/br_netlink.c | 10 +-
net/bridge/br_private.h | 6 ++
net/bridge/rbr_rtnetlink.c | 44
5 files changed
add TRILL option kconfig file in order to enable RBridge feature
in linux Bridge
Signed-off-by: Ahmed Amamou
Signed-off-by: Kamel Haddadou
---
net/bridge/Kconfig | 8
1 file changed, 8 insertions(+)
diff --git a/net/bridge/Kconfig b/net/bridge/Kconfig
index aa0d3b2..2381567 100644
enable switching TRILL capability state via sysfs command
Signed-off-by: Ahmed Amamou
Signed-off-by: William Dauchy
Signed-off-by: Kamel Haddadou
---
net/bridge/Makefile | 2 ++
net/bridge/br_private.h | 5
net/bridge/rbr.c| 71
Signed-off-by: Ahmed Amamou
---
net/bridge/rbr_rtnetlink.c | 43 +++
1 file changed, 43 insertions(+)
diff --git a/net/bridge/rbr_rtnetlink.c b/net/bridge/rbr_rtnetlink.c
index 5b6dab4..23fd0d7 100644
--- a/net/bridge/rbr_rtnetlink.c
+++ b/net/bridge
in order to activate trill port without need for brctl
add a sysfs for trill_state for net_bridge_port
Signed-off-by: Ahmed Amamou
Signed-off-by: William Dauchy
---
net/bridge/br_sysfs_br.c | 38 ++
net/bridge/br_sysfs_if.c | 26 ++
2
From: François Cachereul
Signed-off-by: François Cachereul
Signed-off-by: William Dauchy
Signed-off-by: Ahmed Amamou
---
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 5cd75b6..b071bb4
reach
the engress nickname
Nexthope to reach the egress will be found in node database
Signed-off-by: Ahmed Amamou
Signed-off-by: Kamel Haddadou
Signed-off-by: William Dauchy
Signed-off-by: François Cachereul
---
net/bridge/rbr.c | 46 --
1 file changed
From: William Dauchy
Signed-off-by: Ahmed Amamou
Signed-off-by: William Dauchy
---
net/core/flow_dissector.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c
index 2a834c6..95c2794 100644
--- a/net/core
add encapsulation process to detect frame type (multicast or unicast)
for known unicast frame add proper TRILL header
Signed-off-by: Ahmed Amamou
Signed-off-by: Kamel Haddadou
---
net/bridge/rbr.c | 124 ++-
1 file changed, 123 insertions
saved in order to be
decapsulated locally
Signed-off-by: Ahmed Amamou
Signed-off-by: Kamel Haddadou
Signed-off-by: William Dauchy
Conflicts:
net/bridge/rbr.c
---
net/bridge/rbr.c | 100 +--
1 file changed, 98 insertions(+), 2 deletions
23 matches
Mail list logo