Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #432 from lukego/integrate-march2015-3
Collection of PRs to master
- Loading branch information
Showing
23 changed files
with
381 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Solarflare Ethernet Controller Apps | ||
|
||
## Solarflare (apps.solarflare.solarflare) | ||
|
||
The `Solarflare` app drives one port of a Solarflare SFN7 Ethernet | ||
controller. Packets taken from the `rx` port are transmitted onto the | ||
network. Packets received from the network are put on the `tx` port. | ||
|
||
![Solarflare](.images/Solarflare.png) | ||
|
||
### Configuration | ||
|
||
The `Solarflare` app accepts a table as its configuration argument. The | ||
following keys are defined: | ||
|
||
— Key **pciaddr** | ||
|
||
*Required*. The PCI address of the NIC as a string. | ||
|
||
— Key **macaddr** | ||
|
||
*Optional*. The MAC address to use as a string. The default is a | ||
wild-card (e.g. accept all packets). | ||
|
||
— Key **vlan** | ||
|
||
*Optional*. A twelve bit integer (0-4095). If set, incoming packets from | ||
other VLANs are dropped and outgoing packets are tagged with a VLAN | ||
header. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Solarflare Ethernet Controller Apps | ||
|
||
## Solarflare (apps.solarflare.solarflare) | ||
|
||
The `Solarflare` app drives one port of a Solarflare SFN7 Ethernet | ||
controller. Packets taken from the `rx` port are transmitted onto the | ||
network. Packets received from the network are put on the `tx` port. | ||
|
||
DIAGRAM: Solarflare | ||
+------------+ | ||
| | | ||
rx ---->* Solarflare *----> tx | ||
| | | ||
+------------+ | ||
|
||
### Configuration | ||
|
||
The `Solarflare` app accepts a table as its configuration argument. The | ||
following keys are defined: | ||
|
||
— Key **pciaddr** | ||
|
||
*Required*. The PCI address of the NIC as a string. | ||
|
||
— Key **macaddr** | ||
|
||
*Optional*. The MAC address to use as a string. The default is a | ||
wild-card (e.g. accept all packets). | ||
|
||
— Key **vlan** | ||
|
||
*Optional*. A twelve bit integer (0-4095). If set, incoming packets from | ||
other VLANs are dropped and outgoing packets are tagged with a VLAN | ||
header. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.