[dpdk-dev] mlx5 under FreeBSD

Shahaf Shuler shahafs at mellanox.com
Mon Nov 19 07:28:17 CET 2018


Hi Mit,

Monday, November 19, 2018 1:23 AM, Mit Matelske:
> Subject: Re: [dpdk-dev] mlx5 under FreeBSD
> 
> > 15/11/2018 17:48, Mit Matelske:
> >> Is anyone working to include support for the mlx5 PMD under FreeBSD?
> >
> > I think Stephen (Cc) looked at it.
> >
> >> I've started down this road by building Linux compatibility layers
> >> for the required Netlink and Ethtool calls in the driver, but would
> >> gladly accept help and advice from those much more knowledgeable then
> myself!

Are you sure netlink and ioctl is all you need?
Looks like also sysfs stuff, and I am not sure what else is missing from the DPDK eal layer, the FreeBSD has many not supported functions. 

We haven't started to work on it because the majority of our use cases are for Linux. Nevertheless, we can help with code reviews and guidance. 

> >
> > Cc also mlx5 maintainers.
> 
> Thomas-
> 
> Thanks for looping the correct people in!
> 
> >
> >> Though not important, why did Mellanox build a PMD that relied on the
> >> kernel driver being in place unlike most other PMDs?
> >
> > Because it allows to choose which flows go to DPDK and which ones are
> > processed by the kernel.
> > Actually, you should ask why other PMDs don't have this feature ;)

+1. 

> 
> Very fair response.  We actually wrote our own "shim" into the stack for all
> the relevant drivers we use to both keep the existing ifnet interfaces around
> and to pass packets to and from the stack from every interface.
> 
> Your comment matches one of my co-worker's when I explained to him how
> the mlx5 driver works.
> 
> Mit
> 



More information about the dev mailing list