Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intel1g: Draft of Intel 1G (I350, etc) driver #561

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/apps/intel/.images/Intel1G.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions src/apps/intel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,51 @@ Each physical Intel 82599 port supports the use of up to:
* 64 VLANs (see the `vlan` configuration option)
* 4 *mirror pools* (see the `mirror` configuration option)

## Intel1G (apps.intel.intel1g.intel1g)

The `intel1g` app drives one port of an Intel Gigabit Ethernet
controller.

Hardware support:
- Intel I350 (in progress)

Features:
- Optionally attach to a pre-initialized NIC.
- Optionally use specific TX and RX queue numbers (or none).
- Configuration and statistics registers are mirrored to shared memory objects (NYI).
- Receive and transmit links are optional and can have any name.

![Intel1G](.images/Intel1G.png)

### Configuration

— Key **pciaddr**

*Required*. The PCI address of the NIC as a string.

— Key **attach**

*Optional*. True means attach to a transmit and/or receive queue of an already-initialized NIC.

— Key **txq**

*Optional*. Transmit queue number to use. `false` means no transmit function. Default: 0.

— Key **rxq**

*Optional*. Receive queue number to use. `false` means no receive function. Default: 0.

— Key **ndesc**

*Optional*. Number of DMA descriptors to use i.e. size of the DMA
transmit and receive queues. Default is not specified but assumed to
be broadly applicable.

— Key **rxburst**

*Optional*. Maximum number of packets to receive on one
breath. Default is not specified but assumed to be broadly applicable.

## LoadGen (apps.intel.loadgen)

`LoadGen` is a *load generator* app based on the Intel 82599 Ethernet
Expand Down
50 changes: 50 additions & 0 deletions src/apps/intel/README.md.src
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,56 @@ Each physical Intel 82599 port supports the use of up to:
* 64 VLANs (see the `vlan` configuration option)
* 4 *mirror pools* (see the `mirror` configuration option)

## Intel1G (apps.intel.intel1g.intel1g)

The `intel1g` app drives one port of an Intel Gigabit Ethernet
controller.

Hardware support:
- Intel I350 (in progress)

Features:
- Optionally attach to a pre-initialized NIC.
- Optionally use specific TX and RX queue numbers (or none).
- Configuration and statistics registers are mirrored to shared memory objects (NYI).
- Receive and transmit links are optional and can have any name.

DIAGRAM: Intel1G
+----------+
| |
-=-->* Intel1G *--=->
| |
+----------+

### Configuration

— Key **pciaddr**

*Required*. The PCI address of the NIC as a string.

— Key **attach**

*Optional*. True means attach to a transmit and/or receive queue of an already-initialized NIC.

— Key **txq**

*Optional*. Transmit queue number to use. `false` means no transmit function. Default: 0.

— Key **rxq**

*Optional*. Receive queue number to use. `false` means no receive function. Default: 0.

— Key **ndesc**

*Optional*. Number of DMA descriptors to use i.e. size of the DMA
transmit and receive queues. Default is not specified but assumed to
be broadly applicable.

— Key **rxburst**

*Optional*. Maximum number of packets to receive on one
breath. Default is not specified but assumed to be broadly applicable.

## LoadGen (apps.intel.loadgen)

`LoadGen` is a *load generator* app based on the Intel 82599 Ethernet
Expand Down
Loading