HomeFreeBSD

if_enc(4): Use new KPI to create enc interface

Description

if_enc(4): Use new KPI to create enc interface

This driver allows only exactly one instance to be created. Clone
creating additional interfaces, e.g. ifconfig enc1 create, will get
error EEXIST which is somewhat confusing.

Convert to new KPI for less confusing error ENOSPC.

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D45758

(cherry picked from commit eacad82f3ad0af7d74968e73ed383fc4531d1924)

Details

Provenance
zleiAuthored on Jun 27 2024, 9:22 AM
Differential Revision
D45758: if_enc(4): Use new KPI to create enc interface
Parents
rG1a8cd08d8ae6: vmm.4: Add ppt device detach example
Branches
Unknown
Tags
Unknown