Project

General

Profile

Actions

Feature #11357

closed

want i40e multi-group support

Added by Robert Mustacchi about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Currently, i40e supports only one MAC group. This means that no MAC clients (such as VNICs) can take advantage of HW classification because all traffic must travel through a single group. The goal of this task to implement multi-group support for i40e, specifically:

  • provide as many MAC groups as possible given the NICs resources
  • support multiple rings + RSS for each group (for now perhaps use the same number as ixgbe)
  • make sure that we still have a "default group" to send multicast traffic, or traffic for clients for which we couldn't get a dedicated group

I ran the following tests under DEBUG bits. I ran these tests on both X722 and X710 parts.

  • run dlsend/dlrecv between primary clients (in both directions)
  • run ping between primary clients (both directions)
  • rung iperf3 TCP + UDP between primary clients (both directions), verify Rx HW lanes
  • create VNIC and verify its assigned Rx HW group via dladm show-phys -H
  • run dlsend/dlrecv across VNIC (both directions)
  • run ping across VNIC (both directinos)
  • run iperf3 TCP + UDP across VNIC (both directions), verify Rx HW lanes
  • create VLAN VNIC
  • run dlsend/dlrecv across VLAN VNIC (both directions)
  • run ping across VLAN VNIC (both directions)
  • run iperf3 TCP + UDP across VLAN VNIC (both directions), no HW classification because that's future work in OS-6769
  • create enough VNICs to eat all Rx HW groups, create one more VNIC which will be assigned to default Rx group, then verify traffic flows over this VNIC
Actions

Also available in: Atom PDF