Community discussions

MikroTik App
 
sten
Forum Veteran
Forum Veteran
Topic Author
Posts: 919
Joined: Tue Jun 01, 2004 12:10 pm

v7 MPLS hardware offload?

Tue Dec 07, 2021 10:14 pm

Is there any plans on label switching MPLS (P not necessarily PE roles) for CRS3xxx series?

Also; Are there any CCR's that might be able to do something in this area (hw offloaded) in the future?
 
User avatar
raimondsp
MikroTik Support
MikroTik Support
Posts: 267
Joined: Mon Apr 27, 2020 10:14 am

Re: v7 MPLS hardware offload?

Wed Dec 08, 2021 9:50 am

There are plans on implementing MPLS hardware offloading at least for Marvell 98DX8xxx switch chip series (CRS317, CRS309, etc.) and CCR2116. However, please don't expect that soon - we have to finish IPv6 offloading first.
 
User avatar
remontti
just joined
Posts: 10
Joined: Mon Aug 31, 2015 11:27 pm

Re: v7 MPLS hardware offload?

Thu Dec 09, 2021 2:40 pm

It is unfortunate that Mikrotik does not prioritize MPLS hardware offload! :(
 
User avatar
nz_monkey
Forum Guru
Forum Guru
Posts: 2095
Joined: Mon Jan 14, 2008 1:53 pm
Location: Over the Rainbow
Contact:

Re: v7 MPLS hardware offload?

Fri Dec 10, 2021 3:04 am

It is unfortunate that Mikrotik does not prioritize MPLS hardware offload! :(
They are prioritizing it. It's just behind other things like fixing the usability bugs in RouterOS v7.1 and delivering MPLS as well as IPv6 FastPath modules, and for good reason!
 
Railander
Frequent Visitor
Frequent Visitor
Posts: 85
Joined: Thu Jun 16, 2016 11:30 pm

Re: v7 MPLS hardware offload?

Mon Jul 25, 2022 7:17 pm

There are plans on implementing MPLS hardware offloading at least for Marvell 98DX8xxx switch chip series (CRS317, CRS309, etc.) and CCR2116. However, please don't expect that soon - we have to finish IPv6 offloading first.
Would you know if, when eventually available, it would be able to offload as both P and PE? Or would it be limited like the ROSv6 implementation where it could only offload when label switching as P?
If the former, would you know if it would be able to also L3HW VPLS?
 
User avatar
hknet
Member Candidate
Member Candidate
Posts: 126
Joined: Sun Jul 17, 2016 6:05 pm
Location: Vienna, Austria
Contact:

Re: v7 MPLS hardware offload?

Thu Nov 17, 2022 3:58 am

any hope for this featureset to materialize?
 
User avatar
clambert
Member Candidate
Member Candidate
Posts: 120
Joined: Wed Jun 12, 2019 5:04 am

Re: v7 MPLS hardware offload?

Thu Nov 17, 2022 5:57 pm

It would be great to have that functionality.
 
mada3k
Long time Member
Long time Member
Posts: 682
Joined: Mon Jul 13, 2015 10:53 am
Location: Sweden

Re: v7 MPLS hardware offload?

Fri Nov 18, 2022 11:29 am

It's a bit strange to begin with IPv4&6 HW offload, and not MPLS. All major providers use MPLS for carrying internal traffic between core nodes.

IPv4/6 offloading only work with plain forwarding, and people except to be able to use complicated firewall rules, nat, tracking, pppoe, tunnels and other stuff that will break it. It will basically only work for "inter VLAN routing" with some simple ACLs.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11381
Joined: Thu Mar 03, 2016 10:23 pm

Re: v7 MPLS hardware offload?

Fri Nov 18, 2022 11:55 am

It's a bit strange to begin with IPv4&6 HW offload, and not MPLS. All major providers use MPLS for carrying internal traffic between core nodes.
Around 99.99 (add a few nines behind) percent of users use plain routing (either static routes or OSPF/BGP) and only small number of users use MPLS. Even fewer of those users are currently Mikrotik customers. Only telecoms and some really large corporations use MPLS inside own networks, inter-VLAN routing is pretty common though.

So while the request for MPLS HW offloading is certainly a legitimate one, I guess it's pretty low on ToDo list of MT devels.
 
mada3k
Long time Member
Long time Member
Posts: 682
Joined: Mon Jul 13, 2015 10:53 am
Location: Sweden

Re: v7 MPLS hardware offload?

Fri Nov 18, 2022 6:34 pm

The most cases of inter-VLAN routing have some kind of firewalling in mind, and that most likley will break the HW acceleration. The hardware can never fit a full real-life Internet BGP-table either.

MPLS is used by many smaller WISP/ISP for VPLS services customers and VPN VRFs.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11381
Joined: Thu Mar 03, 2016 10:23 pm

Re: v7 MPLS hardware offload?

Fri Nov 18, 2022 8:31 pm

As explained in L3HW thread, fasttrack is being HW offloaded. Which means that most of traffic can be offloaded. The only big problem for such offliad would be handling a DDOS attack which would hit main CPU pretty hard.

Please explain how MPLS switching compares to routing (which by your words includes firewalling)? I don't think that ISPs firewall traffic between their customers even if they don't use MPLS and only route (in which case a L3HW device would do pretty well). Also most of ISPs don't configure CPEs as MPLS edge routers, my impression is that edge routers are often one layer closer to ISP's core network.
 
User avatar
hknet
Member Candidate
Member Candidate
Posts: 126
Joined: Sun Jul 17, 2016 6:05 pm
Location: Vienna, Austria
Contact:

Re: v7 MPLS hardware offload?

Sat Nov 19, 2022 1:58 am

this escalated quickly...

Here is the reasoning: ROS v6 already supported MPLS in Hardware on the CRS317 platform.
This feature was removed (for now) in v7 https://help.mikrotik.com/docs/display/ ... offloading

For those using this feature - upgrading to v7 is off the table, although probably L3HW upgrades would be nice.
The thing is if you got MPLS using v6 on these boxes, then you already have some sort of hardware-forwarding, but of course for labels only.

so - imho - those v6 users having mpls in hardware would simply like to see the feature parity in v7 for this, especially for migration-purposes.

Doing routing and other stuff is not exactly new as there were lots of so called Layer3 switches before the 98DX Marvell chipsets, yet MPLS in hardware is not so easy to come by - therefore I hope for the best and a v7 implementation in the not so far future :)
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2989
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: v7 MPLS hardware offload?

Sat Nov 19, 2022 3:48 am

keep in mind RouterOS 6 MPLS hardware support was only for CRS 317/309 switch, and Only for P router role, was a very limited scope and not a complete hardware offloaded MPLS solution, with PE role router still on software
 
User avatar
StubArea51
Trainer
Trainer
Posts: 1739
Joined: Fri Aug 10, 2012 6:46 am
Location: stubarea51.net
Contact:

Re: v7 MPLS hardware offload?

Sun Nov 20, 2022 4:38 pm

It's a bit strange to begin with IPv4&6 HW offload, and not MPLS.

It's not strange at all. LDP requires IPv4 or IPv6 + an IGP to build the forwarding table of label bindings so ensuring that IP forwarding is working correctly with offload is foundational work to enable MPLS and offload.

It's also the one of the hardest protocols to get right when developing for an ASIC so tackling easier protocols first is understandable.

I can't wait for MPLS hw offload - it's going to solve a ton of problems for ISPs and DCs that use MikroTik :)
 
Railander
Frequent Visitor
Frequent Visitor
Posts: 85
Joined: Thu Jun 16, 2016 11:30 pm

Re: v7 MPLS hardware offload?

Mon Nov 21, 2022 10:18 am

So while the request for MPLS HW offloading is certainly a legitimate one, I guess it's pretty low on ToDo list of MT devels.
primary use-case is VPLS VPNs for customers.
EoIP works great and all but adds tons of overhead and has performance issues at high speeds. would be awesome if we could replace all our EoIP with VPLS.
 
mada3k
Long time Member
Long time Member
Posts: 682
Joined: Mon Jul 13, 2015 10:53 am
Location: Sweden

Re: v7 MPLS hardware offload?

Tue Nov 22, 2022 5:03 pm

It's also the one of the hardest protocols to get right when developing for an ASIC so tackling easier protocols first is understandable.
I'n my view it should be the simpliest. The MPLS FIB is basically Label in & out and swap or pop.

HW NAT and/or HW IPv6 sounds like a logical nightmare.
 
Railander
Frequent Visitor
Frequent Visitor
Posts: 85
Joined: Thu Jun 16, 2016 11:30 pm

Re: v7 MPLS hardware offload?

Sun Dec 04, 2022 10:51 pm

It's also the one of the hardest protocols to get right when developing for an ASIC so tackling easier protocols first is understandable.
I'n my view it should be the simpliest. The MPLS FIB is basically Label in & out and swap or pop.
yes but it runs on top of conventional routing, so not only do you need MPLS to work right, but everything it runs on top of as well.
 
mada3k
Long time Member
Long time Member
Posts: 682
Joined: Mon Jul 13, 2015 10:53 am
Location: Sweden

Re: v7 MPLS hardware offload?

Thu Dec 08, 2022 7:19 pm

No. The CPU does the FIB calculation, then the forwarding is done in hardware.
 
Izoot
just joined
Posts: 1
Joined: Mon Apr 10, 2023 11:47 pm

Re: v7 MPLS hardware offload?

Tue Apr 11, 2023 12:02 am

There are plans on implementing MPLS hardware offloading at least for Marvell 98DX8xxx switch chip series (CRS317, CRS309, etc.) and CCR2116. However, please don't expect that soon - we have to finish IPv6 offloading first.
If are there some news about MPLS offload?

I have some pop's using the CRS305-1G-4S+ who use the Marvell 98DX3236. In the next couple of months, I was planning config MPLS in these equipments.

I'd like to know how would it manage the config?
 
User avatar
slackR
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat May 23, 2009 1:46 pm
Location: Buffalo, New York, USA

Re: v7 MPLS hardware offload?

Sat Apr 22, 2023 9:09 pm

Looks like MPLS Fast-Path is scheduled for ROS 7.10

https://help.mikrotik.com/docs/display/ ... l+Overview
You do not have the required permissions to view the files attached to this post.
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: v7 MPLS hardware offload?

Sun Apr 23, 2023 2:19 am

I hope this might be a sign that MPLS EXP bits might get fixed soon. We can't move many routers to v7 until MPLS QoS is working correctly again.
 
dkayza
just joined
Posts: 5
Joined: Tue May 16, 2023 11:21 am

Re: v7 MPLS hardware offload?

Tue Aug 29, 2023 12:29 pm

any update on this feature? we have multiple CRS326's out at sites and really want to start expanding our VPLS/MPLS network on to the switch itself
 
glueck05
newbie
Posts: 37
Joined: Fri Jan 26, 2018 12:49 pm

Re: v7 MPLS hardware offload?

Tue Oct 03, 2023 2:55 pm

We are also waiting for MPLS HW offloading. Is there a schedule? at least a year?
 
User avatar
PapsGrey
just joined
Posts: 22
Joined: Wed Dec 01, 2021 10:58 am
Location: Accra-Ghana
Contact:

Re: v7 MPLS hardware offload?

Sun Oct 29, 2023 1:02 am

MPLS offloading is one exciting thing we all waiting for.. I still have my CCR2216s with CPUs running high because most of my traffic is MPLS.
Is there a timeline for this feature?
 
glueck05
newbie
Posts: 37
Joined: Fri Jan 26, 2018 12:49 pm

Re: v7 MPLS hardware offload?

Tue Nov 28, 2023 11:46 am

Hello,
has anyone heard anything on the topic?
In the last beta versions nothing seems to indicate that there is any movement here?

thanks,
glueck
 
glueck05
newbie
Posts: 37
Joined: Fri Jan 26, 2018 12:49 pm

Re: v7 MPLS hardware offload?

Mon Jan 29, 2024 2:44 pm

Hello,
even in the last beta versions there is no sign that things will continue here.

@Mtik: Is the topic no longer being worked on?

regards,
glueck

Who is online

Users browsing this forum: No registered users and 21 guests