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

Enable support for Solarflare 7042Q NIC #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
1 change: 0 additions & 1 deletion build/external/packages/dpdk.mk
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ DPDK_DRIVERS_DISABLED := baseband/\*, \
net/liquidio, \
net/pcap, \
net/pfe, \
net/sfc, \
net/softnic, \
net/thunderx, \
raw/ifpga, \
Expand Down
4 changes: 4 additions & 0 deletions src/plugins/dpdk/device/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ static dpdk_driver_t dpdk_drivers[] = {
{
.drivers = DPDK_DRIVERS ({ "net_gve", "Google vNIC" }),
.interface_name_prefix = "VirtualFunctionEthernet",
},
{
.drivers = DPDK_DRIVERS ({ "net_sfc_efx", "Solarflare SFN7042Q" }),
.interface_name_prefix = "FortyGigabitEthernet",
}
};

Expand Down
4 changes: 4 additions & 0 deletions src/plugins/dpdk/device/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,10 @@ dpdk_bind_devices_to_uio (dpdk_config_main_t * conf)
/* Google vNIC */
else if (d->vendor_id == 0x1ae0 && d->device_id == 0x0042)
;
/* Solarflare SFN7042Q */
else if (d->vendor_id == 0x1924 &&
(d->device_id == 0x0923 || d->device_id == 0x1923))
;
else
{
dpdk_log_warn ("Unsupported PCI device 0x%04x:0x%04x found "
Expand Down
Loading