commit | dfcf6355f53b1796cf7fd50a4f27b18ee6a3497a | [log] [tgz] |
---|---|---|
author | Subbaraya Sundeep <sbhatta@marvell.com> | Mon Mar 18 14:59:57 2024 +0530 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 20 10:49:07 2024 +0000 |
tree | c5036a3634bcafd1730bef5071c907ac6c43b416 | |
parent | 7558ce0d974ced1dc07edc1197f750fe28c52e57 [diff] |
octeontx2-pf: Send UP messages to VF only when VF is up. When PF sending link status messages to VF, it is possible that by the time link_event_task work function is executed VF might have brought down. Hence before sending VF link status message check whether VF is up to receive it. Fixes: ad513ed938c9 ("octeontx2-vf: Link event notification support") Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>