opnsense-src/sys/dev/vnic
Oleksandr Tymoshenko f7604b1b27 Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc
Change OF_getencprop_alloc semantics to be combination of malloc and
OF_getencprop and return size of the property, not number of elements
allocated.

For the use cases where number of elements is preferred introduce
OF_getencprop_alloc_multi helper function that copies semantics
of OF_getencprop_alloc prior to this change.

This is to make OF_getencprop_alloc and OF_getencprop_alloc_multi
function signatures consistent with OF_getencprop_alloc and
OF_getencprop_alloc_multi.

Functionality-wise this patch is mostly rename of OF_getencprop_alloc
to OF_getencprop_alloc_multi except two calls in ofw_bus_setup_iinfo
where 1 was used as a block size.
2018-04-09 22:06:16 +00:00
..
lmac_if.m
mrml_bridge.c INTRNG: Rework handling with resources. Partially revert r301453. 2016-08-19 10:52:39 +00:00
nic.h Add HW RSS support to VNIC driver 2016-05-11 13:22:13 +00:00
nic_main.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
nic_reg.h Fix VNIC support for Pass2.0 ThunderX chips 2016-02-25 14:26:13 +00:00
nicvf_main.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
nicvf_queues.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
nicvf_queues.h Bind CQ interrupts and tasks to separate CPUs in VNIC 2016-05-11 13:20:29 +00:00
q_struct.h Introduce HW TSO support for VNIC 2016-02-25 14:29:57 +00:00
thunder_bgx.c Fix VNIC module unloading 2016-05-20 11:02:04 +00:00
thunder_bgx.h
thunder_bgx_fdt.c Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
thunder_bgx_var.h Fix finding appropriate BGX node in DTB and move it to a separate function 2016-01-28 15:30:58 +00:00
thunder_mdio.c Allow building VNIC as a module 2016-05-20 11:00:06 +00:00
thunder_mdio_fdt.c INTRNG: Rework handling with resources. Partially revert r301453. 2016-08-19 10:52:39 +00:00
thunder_mdio_var.h Support new MDIO hierarchy in ThunderX DTB 2016-01-28 15:44:14 +00:00