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

(cherry picked from commit bc3a013ccd23c50bb48f17211ffc36fe85d11e18)

Details

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