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@
Approved by: re (cperciva)
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D41592

(cherry picked from commit bc3a013ccd23c50bb48f17211ffc36fe85d11e18)
(cherry picked from commit cc1abdc6ab34211748988684800d5b54705b36c2)

Details

Provenance
bartosz.sobczak_intel.comAuthored on Sep 12 2023, 9:31 PM
erjCommitted on Sep 28 2023, 10:15 PM
Differential Revision
D41592: irdma(4): use related vnet for searching netdev
Parents
rGdea589710881: ice_ddp: Update to 1.3.35.0
Branches
Unknown
Tags
Unknown