diff options
author | 2022-05-20 12:07:13 +0200 | |
---|---|---|
committer | 2022-06-07 10:27:02 -0700 | |
commit | 35a2443d0910fdd6ce29d4f724447ad7029e8f23 (patch) | |
tree | 69ed3e752719d30448d4b73421751af550d43c55 /net/unix/af_unix.c | |
parent | i40e: Add VF VLAN pruning (diff) | |
download | wireguard-linux-35a2443d0910fdd6ce29d4f724447ad7029e8f23.tar.xz wireguard-linux-35a2443d0910fdd6ce29d4f724447ad7029e8f23.zip |
iavf: Add waiting for response from PF in set mac
Make iavf_set_mac synchronous by waiting for a response
from a PF. Without this iavf_set_mac is always returning
success even though set_mac can be rejected by a PF.
This ensures that when set_mac exits netdev MAC is updated.
This is needed for sending ARPs with correct MAC after
changing VF's MAC. This is also needed by bonding module.
Signed-off-by: Sylwester Dziedziuch <sylwesterx.dziedziuch@intel.com>
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions