opnsense-src/sys/dev/netmap
Vincenzo Maffione 77a2baf551 netmap: move buf_size validation code to its own function
This code validates the netmap buf_size against the interface MTU
and maximum descriptor size, to make sure the values are consistent.
Moving this functionality to its own function is needed because this
function is also called by Linux-specific code.

MFC after:	3 days
2018-12-21 11:50:14 +00:00
..
if_ptnet.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
if_re_netmap.h netmap: align codebase to the current upstream (commit id 3fb001303718146) 2018-04-12 07:20:50 +00:00
if_vtnet_netmap.h netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap.c netmap: move buf_size validation code to its own function 2018-12-21 11:50:14 +00:00
netmap_bdg.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_bdg.h netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_freebsd.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_generic.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_kern.h netmap: move buf_size validation code to its own function 2018-12-21 11:50:14 +00:00
netmap_kloop.c netmap: fix warning in netmap_kloop.c 2018-12-12 16:32:15 +00:00
netmap_legacy.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_mbq.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
netmap_mbq.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
netmap_mem2.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_mem2.h netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_monitor.c netmap: align codebase to the current upstream (sha 8374e1a7e6941) 2018-10-23 08:55:16 +00:00
netmap_null.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00
netmap_offloadings.c netmap: align codebase to upstream version v11.4 2018-04-09 09:24:26 +00:00
netmap_pipe.c netmap: pipes: make sure both ends use the same number of slots 2018-12-21 11:32:55 +00:00
netmap_pt.c netmap: pull fix for 32-bit support from upstream 2018-05-18 03:38:17 +00:00
netmap_vale.c netmap: align codebase to the current upstream (760279cfb2730a585) 2018-12-05 11:57:16 +00:00