[dpdk-dev] [PATCH] librte_pmd_packet: add PMD for AF_PACKET-based virtual devices

John W. Linville linville at tuxdriver.com
Mon Jul 14 15:46:16 CEST 2014


On Sat, Jul 12, 2014 at 12:34:46AM +0200, Thomas Monjalon wrote:
> 2014-07-11 13:40, John W. Linville:
> > Is there an example of code in DPDK that requires specific kernel
> > versions?  What is the preferred method for coding such dependencies?
> 
> No there is no userspace code checking kernel version in DPDK.
> Feel free to use what you think the best method.
> Please keep in mind that checking version number is a maintenance nightmare 
> because of backports (like RedHat do ;).

I suppose that it could be a configuration option?

-- 
John W. Linville		Someday the world will need a hero, and you
linville at tuxdriver.com			might be all we have.  Be ready.


More information about the dev mailing list