src/dpdk/lib/librte_eal/freebsd/eal.c
int
rte_eal_iopl_init(void)
{
	static int fd = -1;

	if (fd < 0)
		fd = open("/dev/io", O_RDWR);

	if (fd < 0)
		return -1;
	/* keep fd open for iopl */
	return 0;
}
/* Abstraction for port I/0 privilege */
Abstraction for port I/0 privilege
Abstraction for port I / 0 privilege
int
rte_eal_iopl_init(void)
{
	static int fd = -1;
	if (fd < 0)
		fd = open("/dev/io", O_RDWR);
	if (fd < 0)
		return -1;
	return 0;
}
int rte_eal_iopl_init ( void ) { static int fd = -1 ; if ( fd < 0 ) fd = open ( " " , O_RDWR ) ; if ( fd < 0 ) return -1 ; return 0 ; }
Abstraction for port I/0 privilege
Abstraction for port I / 0 privilege
/* keep fd open for iopl */