mbox series

[net,0/2] Fix issues when PF sets MAC address for VF

Message ID 20241031060247.1290941-1-wei.fang@nxp.com (mailing list archive)
Headers show
Series Fix issues when PF sets MAC address for VF | expand

Message

Wei Fang Oct. 31, 2024, 6:02 a.m. UTC
The ENETC PF driver provides enetc_pf_set_vf_mac() to configure the MAC
address for the ENETC VF, but there are two issues when configuring the
MAC address of the VF through this interface. For specific issues, please
refer to the commit message of the following two patches. Therefore, this
patch set is used to fix these two issues.

Wei Fang (2):
  net: enetc: allocate vf_state during PF probes
  net: enetc: prevent PF from configuring MAC address for an enabled VF

 .../net/ethernet/freescale/enetc/enetc_pf.c   | 25 ++++++++++++-------
 1 file changed, 16 insertions(+), 9 deletions(-)