MPLS hardware offload in CRS317...how to enable?

I’ve been trying to test MPLS hw offload in my lab based on the following entry in the release notes

*) crs317 - added initial support for HW offloaded MPLS forwarding;

I’ve built an MPLS network using two CCR1036 routers connected at 10 gig with the CRS317 in the middle (6.41rc47). When i perform a bandwidth test of 2 gig, I see the CPU of the CRS317 go up to 50%. Is there a setting to enable MPLS fowarding in hardware?

Also curious what the test setup looked like for MIkroTik when MPLS hardware forwarding was tested on the CRS317?

You can take this as an example:
https://wiki.mikrotik.com/wiki/Manual:Layer-3_MPLS_VPN_example

Configure the CRS317 as “P” router and it should be able to do label switching at wire speed. Also make sure you are running a release candidate version on it. You should see “H” flag under MPLS->Forwarding Table menu indicating the route is hardware offloaded.

I have the CRS setup as a P router in the middle of two CCR1036 routers acting as PE routers.

It only shows one path as hardware offloaded

[admin@MikroTik] > mpls forwarding-table print 
Flags: H - hw-offload, L - ldp, V - vpls, T - traffic-eng 
 #    IN-LABEL                                 OUT-LABELS                              DESTINATION                    INTERFACE                              NEXTHOP        
 0    expl-null                               
 1 HL 16                                                                               1.1.1.11/32                    sfp-sfpplus3                           100.64.0.2     
 2  L 17                                                                               1.1.1.12/32                    sfp-sfpplus5                           100.64.0.10

Maybe it is Penultimate hop popping, which is interfering with hardware offload.

Try to place the CRS317 in the middle of five routers to prevent any label pushing or popping operations.

I agree with sup5

The current implementation does not support HW forwarding when it’s a PHP point.