opengnsys_ipxe/src/net/infiniband
Michael Brown ae4e85bde9 [netdevice] Allocate private data for each network upper-layer driver
Allow network upper-layer drivers (such as LLDP, which attaches to
each network device in order to provide a corresponding LLDP settings
block) to specify a size for private data, which will be allocated as
part of the network device structure (as with the existing private
data allocated for the underlying device driver).

This will allow network upper-layer drivers to be simplified by
omitting memory allocation and freeing code.  If the upper-layer
driver requires a reference counter (e.g. for interface
initialisation), then it may use the network device's existing
reference counter, since this is now the reference counter for the
containing block of memory.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2023-09-13 20:23:46 +01:00
..
ib_cm.c [infiniband] Use correct transaction identifier in CM responses 2016-03-08 12:08:58 +00:00
ib_cmrc.c [infiniband] Return status code from ib_create_cq() and ib_create_qp() 2017-03-22 11:18:02 +02:00
ib_mcast.c [infiniband] Allow for the creation of multicast groups 2016-03-08 12:23:30 +00:00
ib_mi.c [infiniband] Return status code from ib_create_mi() 2017-03-22 11:18:23 +02:00
ib_packet.c [infiniband] Use "%#lx" as format specifier for queue pair numbers 2016-03-08 12:08:58 +00:00
ib_pathrec.c [infiniband] Retrieve GID flag from cached path entries 2016-03-08 17:40:52 +00:00
ib_service.c [infiniband] Add support for performing service record lookups 2016-03-08 12:08:58 +00:00
ib_sma.c [infiniband] Require drivers to specify the number of ports 2021-01-27 01:15:35 +00:00
ib_smc.c [infiniband] Assign names to Infiniband devices for debug messages 2016-03-08 12:08:58 +00:00
ib_srp.c [infiniband] Allow SRP device to be described using an EFI device path 2020-10-23 15:34:35 +01:00
xsigo.c [netdevice] Allocate private data for each network upper-layer driver 2023-09-13 20:23:46 +01:00