> - [Medium] igb: PF MAC filter clobber in igb_enable_sriov() before XSK > queue check
Right. igb_vf_configure() writes the VFs' empty MAC addresses into the top receive address registers before the check, and the -EBUSY return then skips the reset that would restore the PF filters there. With 31 macvlans on an I350 PF, two of them stayed invalid after the refused VF enable. In v7 igb_enable_sriov() checks for bound XSK pools before it sets up any VF state, so nothing has to be undone on that error; in the same test all 31 addresses stay valid. > - [Medium] igb: skipped PF reinit in igb_disable_sriov() when > igb_sriov_reinit() fails Right. In v7 the check only runs when VFs are enabled, so disabling VFs is not refused. > - [Medium] igb: unlocked VF state and flag rollback in > igb_enable_sriov() on error Right. With the check first, the -EBUSY path does not touch vf_data or the DMA coalescing flag, and the save and restore of that flag is gone. RTNL is now held from the check until the PF queues are set up again, so no pool can be bound in between. The other error paths, allocation failures and pci_enable_sriov(), are unchanged and older than this series. > - [Medium] igb: stale real queue counts in __igb_open() break > igb_xsk_pool() check That is older than this series: __igb_open() has always set up the rings before it updates the real queue counts, and igb_xsk_pool() used xsk_get_pool_from_qid() before as well. It does not break the check: igb_xsk_pool() only returns a pool after the frame size check, so a ring never gets a pool whose frame is too small. A queue that comes back is used in zero-copy mode again from the next reconfiguration. Changing the order in __igb_open() would be a separate change.
