| .. | .. |
|---|
| 30 | 30 | * SOFTWARE. |
|---|
| 31 | 31 | */ |
|---|
| 32 | 32 | |
|---|
| 33 | | -#include <linux/prefetch.h> |
|---|
| 34 | 33 | #include <linux/ip.h> |
|---|
| 35 | 34 | #include <linux/udp.h> |
|---|
| 36 | 35 | #include <net/udp.h> |
|---|
| .. | .. |
|---|
| 65 | 64 | { |
|---|
| 66 | 65 | struct mlx5_core_health *health = &priv->mdev->priv.health; |
|---|
| 67 | 66 | |
|---|
| 68 | | - return health->sick ? 1 : 0; |
|---|
| 67 | + return health->fatal_error ? 1 : 0; |
|---|
| 69 | 68 | } |
|---|
| 70 | 69 | |
|---|
| 71 | 70 | static int mlx5e_test_link_state(struct mlx5e_priv *priv) |
|---|
| .. | .. |
|---|
| 115 | 114 | return NULL; |
|---|
| 116 | 115 | } |
|---|
| 117 | 116 | |
|---|
| 118 | | - prefetchw(skb->data); |
|---|
| 117 | + net_prefetchw(skb->data); |
|---|
| 119 | 118 | skb_reserve(skb, NET_IP_ALIGN); |
|---|
| 120 | 119 | |
|---|
| 121 | 120 | /* Reserve for ethernet and IP header */ |
|---|
| .. | .. |
|---|
| 234 | 233 | return err; |
|---|
| 235 | 234 | } |
|---|
| 236 | 235 | |
|---|
| 237 | | - err = mlx5e_refresh_tirs(priv, true); |
|---|
| 236 | + err = mlx5e_refresh_tirs(priv, true, false); |
|---|
| 238 | 237 | if (err) |
|---|
| 239 | 238 | goto out; |
|---|
| 240 | 239 | |
|---|
| .. | .. |
|---|
| 263 | 262 | mlx5_nic_vport_update_local_lb(priv->mdev, false); |
|---|
| 264 | 263 | |
|---|
| 265 | 264 | dev_remove_pack(&lbtp->pt); |
|---|
| 266 | | - mlx5e_refresh_tirs(priv, false); |
|---|
| 265 | + mlx5e_refresh_tirs(priv, false, false); |
|---|
| 267 | 266 | } |
|---|
| 268 | 267 | |
|---|
| 269 | 268 | #define MLX5E_LB_VERIFY_TIMEOUT (msecs_to_jiffies(200)) |
|---|