diff options
author | R Mohamed Shah <mohamed@pensando.io> | 2022-08-24 09:50:51 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-25 12:39:54 -0700 |
commit | 19058be7c48ceb3e60fa3948e24da1059bd68ee4 (patch) | |
tree | 0a87f70ab916b4047f2f32c055ee08116c0e1c62 /crypto/af_alg.c | |
parent | 0fc4dd452d6c14828eed6369155c75c0ac15bab3 (diff) | |
download | linux-19058be7c48ceb3e60fa3948e24da1059bd68ee4.tar.bz2 |
ionic: VF initial random MAC address if no assigned mac
Assign a random mac address to the VF interface station
address if it boots with a zero mac address in order to match
similar behavior seen in other VF drivers. Handle the errors
where the older firmware does not allow the VF to set its own
station address.
Newer firmware will allow the VF to set the station mac address
if it hasn't already been set administratively through the PF.
Setting it will also be allowed if the VF has trust.
Fixes: fbb39807e9ae ("ionic: support sr-iov operations")
Signed-off-by: R Mohamed Shah <mohamed@pensando.io>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions