HomeFreeBSD

irdma(4): use related vnet for searching netdev

Description

irdma(4): use related vnet for searching netdev

It was found through testing that when ULP uses individual vnet, the
search for the correct vlan_id may failing because of no proper
interface with given address.

The solution is to use vnet associated to the connection whenever
possible.

Signed-off-by: Bartosz Sobczak <bartosz.sobczak@intel.com>
Signed-off-by: Eric Joyner <erj@FreeBSD.org>

Reviewed by: erj@
MFC after: 1 day
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D41592

Details

Provenance
bartosz.sobczak_intel.comAuthored on Sep 12 2023, 9:31 PM
erjCommitted on Sep 13 2023, 10:16 PM
Differential Revision
D41592: irdma(4): use related vnet for searching netdev
Parents
rG01d82151022c: ftpd: correct deprecation notice markup
Branches
Unknown
Tags
Unknown