HomeFreeBSD

cxgbev(4): Pay attention to the VLAN configuration for the VF.

Description

cxgbev(4): Pay attention to the VLAN configuration for the VF.

Make sure that the transmit traffic is tagged correctly or else the
firmware will refuse to transmit and will report an ACL violation.

On receive the hardware will make sure that tagged traffic is delivered
to the appropriate VM. The driver only asserts that the VLAN id that
was extracted from the wire traffic matches the VF's configuration.

All this works when associating a specific VLAN id with a VF. The
'trunk' setting likely needs more work.

MFC after: 1 week
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on Jun 17 2024, 5:11 PM
Parents
rG4471ff11969e: cxgbev(4): Shared code for the VF driver to query a VF's VLAN config.
Branches
Unknown
Tags
Unknown