Bug#852493: Please enable Thunder NIC virtual function driver
On Wed, Jan 25, 2017 at 2:05 AM, Ben Hutchings <ben@decadent.org.uk> wrote:
> Control: tag -1 moreinfo
>
> On Tue, 2017-01-24 at 22:13 +0000, Punit Agrawal wrote:
>> Source: linux
>> Severity: wishlist
>> Tags: patch
>>
>> While testing device passthrough with a debian guest on a Cavium
>> Thunder, I found that the virtual function(VF) driver for the built in
>> nic is not available.
>>
>> Please enable CONFIG_THUNDER_NIC_VF in the debian kernel config.
>
> So long as this hardware is part of specific SoCs, we should only
> enable it for the CPU architectures used in those SoCs. That's arm64,
> right? (Possibly also mips64, but we don't support Cavium MIPS SoCs at
> all yet.)
That's right, I am using it on arm64. I'm not sure whether the Cavium
mips parts include this nic.
>
> Shouldn't we also enable CONFIG_THUNDER_NIC_{PF,BGX,RGX} along with
> this?
I wasn't sure what the policy is on enabling drivers for the kernel so
I only asked to enable the module I'd be using. I haven't yet had a
chance to run the debian kernel on the host.
The above configs would definitely be needed on the host. But in
addition, there are a few others required as well -
CONFIG_PCI_HOST_THUNDER_ECAM
CONFIG_PCI_HOST_THUNDER_PEM
Thanks,
Punit
>
> Ben.
>
> --
> Ben Hutchings
> It is easier to write an incorrect program than to understand a correct
> one.
Reply to: