tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD on Amazon EC2



On Fri, May 11, 2018 at 06:29:32PM +0200, Jaromír Dole?ek wrote:
> ENA is the new virtual networking interface. There is a FreeBSD port
> of the Linux driver for this. I've had a stab to port it over. It's
> not very easy since the kernel networking interfaces differ quite a
> lot between FreeBSD and NetBSD, but seems more or less doable. Anyway,
> from what I gather, ENA is optional, it should be possible to use
> non-ENA enabled image. So not having ENA driver is not a blocker.

Having ENA would still be good, as it should perform much better.
Given that it is split in two parts and the "common" ones should
only need cosmetical changes (like include paths and a few ifdefs
for NetBSD), the main work should not be that bad.

wc -l for the relevant files says:

    3935 dev/pci/ena.c
     404 dev/pci/ena.h
     251 dev/pci/ena_sysctl.c
      44 dev/pci/ena_sysctl.h
      49 external/bsd/ena-com/ena_defs/ena_common_defs.h
    1484 external/bsd/ena-com/ena_defs/ena_admin_defs.h
     959 external/bsd/ena-com/ena_defs/ena_eth_io_defs.h
      34 external/bsd/ena-com/ena_defs/ena_gen_info.h
       4 external/bsd/ena-com/ena_defs/ena_includes.h
     168 external/bsd/ena-com/ena_defs/ena_regs_defs.h
     624 external/bsd/ena-com/ena_eth_com.c
     372 external/bsd/ena-com/ena_plat.h
    2980 external/bsd/ena-com/ena_com.c
    1120 external/bsd/ena-com/ena_com.h
      50 external/bsd/ena-com/ena_common_defs.h
     186 external/bsd/ena-com/ena_eth_com.h
    1412 external/bsd/ena-com/ena_admin_defs.h
     960 external/bsd/ena-com/ena_eth_io_defs.h
     137 external/bsd/ena-com/ena_regs_defs.h
   15173 total


A volunteer to try this would need an amazon ec2 account with ENA (at
least I am not aware of any other platform using this spec currently).

Martin


Home | Main Index | Thread Index | Old Index