Smart NIC Generic Offload Support

Bug #1781402 reported by Eyal Lavee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
In Progress
Undecided
Eyal Lavee
OpenContrail
New
Undecided
Unassigned

Bug Description

This is a stub bug report for the related blueprint submission to make CI happy.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/44574
Submitter: Eyal Lavee (<email address hidden>)

Jeba Paulaiyan (jebap)
tags: added: mellanox smartnic
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/44574
Submitter: Paul Carver (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45599
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45600
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45601
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45602
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/44574
Committed: http://github.com/Juniper/contrail-specs/commit/b5b0f065915b3f44252658c0948b59eb02c5587e
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit b5b0f065915b3f44252658c0948b59eb02c5587e
Author: Eyal Lavee <email address hidden>
Date: Thu Jul 12 13:41:13 2018 +0000

Add Smart NIC Generic Offload Spec

Blueprint: https://blueprints.launchpad.net/opencontrail/+spec/smart-nic-generic-offload

Change-Id: I08960ee41f63a68f14fff8658791a191d70a4d25
Partial-Bug: #1781402

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] contrail_dpdk_18_05_1

Review in progress for https://review.opencontrail.org/46901
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/45602
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45601
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45600
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45599
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45601
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45600
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45602
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45599
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45600
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45601
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45602
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45600
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45601
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45602
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45600
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45599
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45600
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45601
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45602
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/45599
Committed: http://github.com/Juniper/contrail-vrouter/commit/9f69d09c2e2cd5ce2a0d18c12d4c9f613508692d
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 9f69d09c2e2cd5ce2a0d18c12d4c9f613508692d
Author: matan <email address hidden>
Date: Wed May 30 08:38:08 2018 +0000

Add support for dpdk 18.05 version

Partial-Bug: #1781402
Change-Id: Ida436e81cda59b44cf03d5cee8b6b30601e0f29a
Signed-off-by: matan <email address hidden>

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/46901
Committed: http://github.com/Juniper/contrail-dpdk/commit/b91b0b9a1b4e0c31c9b030ae3bcbc3264b6a59bd
Submitter: Zuul v3 CI (<email address hidden>)
Branch: contrail_dpdk_18_05_1

commit b91b0b9a1b4e0c31c9b030ae3bcbc3264b6a59bd
Author: Yi Yang <email address hidden>
Date: Mon Jul 30 18:26:08 2018 -0700

Port some changes from contrail_dpdk_17_11

cherry-picked as is from contrail_dpdk_17_11_3

- Increase mbuf headroom to allow for mirror metadata to fit.
- Enabled port stats collection
- Changed RTE_MACHINE to snb from native
- add GSO flags and disable RDRAND cpu flags as its not
supported on target
- Initialize the mbuf data offset after raw allocation
- Fix compiling error in app/test-crypto-perf/cperf_test_verify.c
- JUMBO frame fixes in dpdk 17.02 + adjust to the new offload API.
- Enable RSS for MPLSoUDP packets on bnxt interfaces

Change-Id: I83178dc8c3fef08d078741320f3a9264e9e6fa00
Partial-bug: #1781402
Signed-off-by: Yi Yang <email address hidden>
Signed-off-by: Matan Azrad <email address hidden>

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/45600
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45601
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45602
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45600
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45601
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45602
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/47769
Submitter: Jeya ganesh babu (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] contrail_dpdk_18_05_1

Review in progress for https://review.opencontrail.org/47777
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/47769
Committed: http://github.com/Juniper/contrail-vrouter/commit/a99ff96c9770ce94ef8a24889f1e981d3348477f
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit a99ff96c9770ce94ef8a24889f1e981d3348477f
Author: Jeya ganesh babu J <email address hidden>
Date: Tue Nov 20 08:51:25 2018 -0800

Smart-nic offload support

Partial-bug: #1781402
Support for compilation with 18.05 dpdk

Change-Id: I052487d294cc83b9edc4796ff0b5fde0249b4925

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/45600
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45601
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45602
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45600
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45601
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45602
Submitter: Matan Azrad (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/45600
Committed: http://github.com/Juniper/contrail-vrouter/commit/b09e7384f19d02e19c74c9973e94db8ab8b81b91
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit b09e7384f19d02e19c74c9973e94db8ab8b81b91
Author: Trevor Patrie <email address hidden>
Date: Tue Nov 15 11:39:52 2016 -0500

dp_core: Introduce offloads module

Smart nics may have ability to parse and act the Vrouter tunneled packets.

So, according to the Vrouter tunnels, aka MPLSoGRE, MPLSoUDP, and VXLAN, the
inner packet 5-tupples and the outer packet specifications, the HW can do
some actions. For example, the HW can detect MPLSoGRE packets and to do RSS
on the inner packet 5-tupples or just tag the packets based on the packet HW parser.

Using this HW feature the Vrouter parformance can be improved.

Add a Vrouter offloads module to use the described HW ability.

Partial-Bug: #1781402
Change-Id: I337dd1d25671271528be00a5fef2eebddf1b0292
Signed-off-by: matan <email address hidden>

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/45601
Committed: http://github.com/Juniper/contrail-vrouter/commit/687637e5e01da4af58013dd7778d9eccdd28b577
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 687637e5e01da4af58013dd7778d9eccdd28b577
Author: matan <email address hidden>
Date: Sun Jun 3 08:27:28 2018 +0000

dpdk: Implement Rx offloads module

Now, when the user specifies "--offloads" in the dpdk command line,
the next RX offloads will accelarate the RX path:

1. RSS on inner 5-tupple for MPLSoGRE packets.
2. Destination my outer IP lookup.
3. MPLS nexthop lookup.
4. VXLAN nexthop lookup.
5. Inner flow lookup.

Partial-Bug: #1781402
Change-Id: Idaa8aa72ebc5a3c47c031881898ea61a6c8080c1
Signed-off-by: matan <email address hidden>

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/45602
Committed: http://github.com/Juniper/contrail-vrouter/commit/2d7661a949ad209fc80eb6d658482759f8f44752
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 2d7661a949ad209fc80eb6d658482759f8f44752
Author: matan <email address hidden>
Date: Wed Jul 4 04:34:19 2018 +0000

btable: optimize entry address calculation

The btable uses division and modulo calculations, which are quiet
expensive in the most platforms, for the entry address calculations.

In case the allocation limit of a btable is power of 2 number,
the calculations can be optimized to use simple bit calculations.

Optimize the entry address calculations in the aforementioned case.

Partial-Bug: #1781402
Change-Id: Idfc56e14a6d499d23a306866cfa463f95eee1151
Signed-off-by: Matan Azrad <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.