projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx5: Fix global UAR mapping
[cascardo/linux.git]
/
drivers
/
net
/
ethernet
/
mellanox
/
mlx5
/
core
/
en_tx.c
diff --git
a/drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
b/drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
index
a05c070
..
c34f4f3
100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
+++ b/
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
@@
-303,7
+303,7
@@
static netdev_tx_t mlx5e_sq_xmit(struct mlx5e_sq *sq, struct sk_buff *skb)
if (!skb->xmit_more || netif_xmit_stopped(sq->txq)) {
int bf_sz = 0;
- if (bf &&
sq->uar_bf_map
)
+ if (bf &&
test_bit(MLX5E_SQ_STATE_BF_ENABLE, &sq->state)
)
bf_sz = wi->num_wqebbs << 3;
cseg->fm_ce_se = MLX5_WQE_CTRL_CQ_UPDATE;