* [PATCH net-next v2 1/5] net/mlx4: factor VLAN parsing into mlx4_en_prep_vlan() [not found] <20261117155353.2250540-1-joe@dama.to> @ 2026-11-17 15:53 ` Joe Damato 2026-11-17 16:16 ` sashiko-bot 2026-11-17 15:53 ` [PATCH net-next v2 2/5] net/mlx4: factor csum flags into mlx4_en_csum_flags() Joe Damato ` (3 subsequent siblings) 4 siblings, 1 reply; 14+ messages in thread From: Joe Damato @ 2026-11-17 15:53 UTC (permalink / raw) To: netdev, Tariq Toukan, Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni Cc: edumazet, horms, linux-kernel, daniel.machon, Joe Damato, linux-rdma Extract the code which converts an skb VLAN tag into WQE fields into a small helper. This helper will be used by a follow-up series implementing software USO, to avoid code duplication. Signed-off-by: Joe Damato <joe@dama.to> Reviewed-by: Daniel Machon <daniel.machon@microchip.com> --- drivers/net/ethernet/mellanox/mlx4/en_tx.c | 33 ++++++++++++++-------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c index c5d564e5a581..00210dbae1c3 100644 --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c @@ -861,6 +861,26 @@ static bool mlx4_en_build_dma_wqe(struct mlx4_en_priv *priv, return false; } +static bool mlx4_en_prep_vlan(const struct sk_buff *skb, + union mlx4_wqe_qpn_vlan *qpn_vlan) +{ + u16 vlan_proto; + + if (!skb_vlan_tag_present(skb)) + return false; + + qpn_vlan->vlan_tag = cpu_to_be16(skb_vlan_tag_get(skb)); + vlan_proto = be16_to_cpu(skb->vlan_proto); + if (vlan_proto == ETH_P_8021AD) + qpn_vlan->ins_vlan = MLX4_WQE_CTRL_INS_SVLAN; + else if (vlan_proto == ETH_P_8021Q) + qpn_vlan->ins_vlan = MLX4_WQE_CTRL_INS_CVLAN; + else + qpn_vlan->ins_vlan = 0; + + return true; +} + netdev_tx_t mlx4_en_xmit(struct sk_buff *skb, struct net_device *dev) { struct skb_shared_info *shinfo = skb_shinfo(skb); @@ -902,19 +922,8 @@ netdev_tx_t mlx4_en_xmit(struct sk_buff *skb, struct net_device *dev) nr_txbb = desc_size >> LOG_TXBB_SIZE; bf_ok = ring->bf_enabled; - if (skb_vlan_tag_present(skb)) { - u16 vlan_proto; - - qpn_vlan.vlan_tag = cpu_to_be16(skb_vlan_tag_get(skb)); - vlan_proto = be16_to_cpu(skb->vlan_proto); - if (vlan_proto == ETH_P_8021AD) - qpn_vlan.ins_vlan = MLX4_WQE_CTRL_INS_SVLAN; - else if (vlan_proto == ETH_P_8021Q) - qpn_vlan.ins_vlan = MLX4_WQE_CTRL_INS_CVLAN; - else - qpn_vlan.ins_vlan = 0; + if (mlx4_en_prep_vlan(skb, &qpn_vlan)) bf_ok = false; - } netdev_txq_bql_enqueue_prefetchw(ring->tx_queue); -- 2.53.1-Meta ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH net-next v2 1/5] net/mlx4: factor VLAN parsing into mlx4_en_prep_vlan() 2026-11-17 15:53 ` [PATCH net-next v2 1/5] net/mlx4: factor VLAN parsing into mlx4_en_prep_vlan() Joe Damato @ 2026-11-17 16:16 ` sashiko-bot 0 siblings, 0 replies; 14+ messages in thread From: sashiko-bot @ 2026-11-17 16:16 UTC (permalink / raw) To: Joe Damato; +Cc: linux-rdma > Extract the code which converts an skb VLAN tag into WQE fields into a > small helper. This helper will be used by a follow-up series implementing > software USO, to avoid code duplication. > > Signed-off-by: Joe Damato <joe@dama.to> Sashiko has reviewed this patch and found no issues. -- Sashiko AI review · https://sashiko.dev/#/patchset/20261117155353.2250540-1-joe@dama.to?part=1 ^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH net-next v2 2/5] net/mlx4: factor csum flags into mlx4_en_csum_flags() [not found] <20261117155353.2250540-1-joe@dama.to> 2026-11-17 15:53 ` [PATCH net-next v2 1/5] net/mlx4: factor VLAN parsing into mlx4_en_prep_vlan() Joe Damato @ 2026-11-17 15:53 ` Joe Damato 2026-11-17 16:16 ` sashiko-bot 2026-11-17 15:53 ` [PATCH net-next v2 3/5] net/mlx4: factor HW loopback DMAC into mlx4_en_set_loopback_dmac() Joe Damato ` (2 subsequent siblings) 4 siblings, 1 reply; 14+ messages in thread From: Joe Damato @ 2026-11-17 15:53 UTC (permalink / raw) To: netdev, Tariq Toukan, Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni Cc: edumazet, horms, linux-kernel, daniel.machon, Joe Damato, linux-rdma Extract the code which converts skb csum fields to WQE fields into a helper. This helper will be used by a follow-up series implementing software USO, to reduce code duplication. Signed-off-by: Joe Damato <joe@dama.to> Reviewed-by: Daniel Machon <daniel.machon@microchip.com> --- drivers/net/ethernet/mellanox/mlx4/en_tx.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c index 00210dbae1c3..f6059b533eac 100644 --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c @@ -861,6 +861,16 @@ static bool mlx4_en_build_dma_wqe(struct mlx4_en_priv *priv, return false; } +static __be32 mlx4_en_csum_flags(const struct sk_buff *skb) +{ + if (unlikely(skb->ip_summed != CHECKSUM_PARTIAL)) + return 0; + if (skb->encapsulation) + return cpu_to_be32(MLX4_WQE_CTRL_IP_CSUM); + + return cpu_to_be32(MLX4_WQE_CTRL_IP_CSUM | MLX4_WQE_CTRL_TCP_UDP_CSUM); +} + static bool mlx4_en_prep_vlan(const struct sk_buff *skb, union mlx4_wqe_qpn_vlan *qpn_vlan) { @@ -891,12 +901,12 @@ netdev_tx_t mlx4_en_xmit(struct sk_buff *skb, struct net_device *dev) struct mlx4_wqe_data_seg *data; struct mlx4_en_tx_info *tx_info; u32 __maybe_unused ring_cons; + __be32 op_own, csum_flags; int tx_ind; int nr_txbb; int desc_size; int real_size; u32 index, bf_index; - __be32 op_own; int lso_header_size; void *fragptr = NULL; bool bounce = false; @@ -991,12 +1001,10 @@ netdev_tx_t mlx4_en_xmit(struct sk_buff *skb, struct net_device *dev) /* Prepare ctrl segment apart opcode+ownership, which depends on * whether LSO is used */ tx_desc->ctrl.srcrb_flags = priv->ctrl_flags; - if (likely(skb->ip_summed == CHECKSUM_PARTIAL)) { - if (!skb->encapsulation) - tx_desc->ctrl.srcrb_flags |= cpu_to_be32(MLX4_WQE_CTRL_IP_CSUM | - MLX4_WQE_CTRL_TCP_UDP_CSUM); - else - tx_desc->ctrl.srcrb_flags |= cpu_to_be32(MLX4_WQE_CTRL_IP_CSUM); + + csum_flags = mlx4_en_csum_flags(skb); + if (csum_flags) { + tx_desc->ctrl.srcrb_flags |= csum_flags; ring->tx_csum++; } -- 2.53.1-Meta ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH net-next v2 2/5] net/mlx4: factor csum flags into mlx4_en_csum_flags() 2026-11-17 15:53 ` [PATCH net-next v2 2/5] net/mlx4: factor csum flags into mlx4_en_csum_flags() Joe Damato @ 2026-11-17 16:16 ` sashiko-bot 0 siblings, 0 replies; 14+ messages in thread From: sashiko-bot @ 2026-11-17 16:16 UTC (permalink / raw) To: Joe Damato; +Cc: linux-rdma > Extract the code which converts skb csum fields to WQE fields into a > helper. This helper will be used by a follow-up series implementing > software USO, to reduce code duplication. > > Signed-off-by: Joe Damato <joe@dama.to> Sashiko has reviewed this patch and found no issues. -- Sashiko AI review · https://sashiko.dev/#/patchset/20261117155353.2250540-1-joe@dama.to?part=2 ^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH net-next v2 3/5] net/mlx4: factor HW loopback DMAC into mlx4_en_set_loopback_dmac() [not found] <20261117155353.2250540-1-joe@dama.to> 2026-11-17 15:53 ` [PATCH net-next v2 1/5] net/mlx4: factor VLAN parsing into mlx4_en_prep_vlan() Joe Damato 2026-11-17 15:53 ` [PATCH net-next v2 2/5] net/mlx4: factor csum flags into mlx4_en_csum_flags() Joe Damato @ 2026-11-17 15:53 ` Joe Damato 2026-11-17 16:16 ` sashiko-bot 2026-11-17 15:53 ` [PATCH net-next v2 4/5] net/mlx4: track whether a TX doorbell is pending Joe Damato 2026-11-17 15:53 ` [PATCH net-next v2 5/5] net/mlx4: flush pending doorbell when dropping a TX skb Joe Damato 4 siblings, 1 reply; 14+ messages in thread From: Joe Damato @ 2026-11-17 15:53 UTC (permalink / raw) To: netdev, Tariq Toukan, Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni Cc: edumazet, horms, linux-kernel, daniel.machon, Joe Damato, linux-rdma Extract the code which copies the destination MAC into the WQE for eSwitch loopback into a helper. This helper will be used by a follow-up series implementing software USO, so USO packets between functions on the same port are looped back too. Signed-off-by: Joe Damato <joe@dama.to> Reviewed-by: Daniel Machon <daniel.machon@microchip.com> --- drivers/net/ethernet/mellanox/mlx4/en_tx.c | 28 ++++++++++++++-------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c index f6059b533eac..97f27e005810 100644 --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c @@ -871,6 +871,23 @@ static __be32 mlx4_en_csum_flags(const struct sk_buff *skb) return cpu_to_be32(MLX4_WQE_CTRL_IP_CSUM | MLX4_WQE_CTRL_TCP_UDP_CSUM); } +static void mlx4_en_set_loopback_dmac(const struct mlx4_en_priv *priv, + struct mlx4_en_tx_desc *tx_desc, + const struct sk_buff *skb) +{ + struct ethhdr *ethh; + + if (!(priv->flags & MLX4_EN_FLAG_ENABLE_HW_LOOPBACK)) + return; + + /* Copy dst mac address to wqe. This allows loopback in eSwitch, + * so that VFs and PF can communicate with each other + */ + ethh = (struct ethhdr *)skb->data; + tx_desc->ctrl.srcrb_flags16[0] = get_unaligned((__be16 *)ethh->h_dest); + tx_desc->ctrl.imm = get_unaligned((__be32 *)(ethh->h_dest + 2)); +} + static bool mlx4_en_prep_vlan(const struct sk_buff *skb, union mlx4_wqe_qpn_vlan *qpn_vlan) { @@ -1008,16 +1025,7 @@ netdev_tx_t mlx4_en_xmit(struct sk_buff *skb, struct net_device *dev) ring->tx_csum++; } - if (priv->flags & MLX4_EN_FLAG_ENABLE_HW_LOOPBACK) { - struct ethhdr *ethh; - - /* Copy dst mac address to wqe. This allows loopback in eSwitch, - * so that VFs and PF can communicate with each other - */ - ethh = (struct ethhdr *)skb->data; - tx_desc->ctrl.srcrb_flags16[0] = get_unaligned((__be16 *)ethh->h_dest); - tx_desc->ctrl.imm = get_unaligned((__be32 *)(ethh->h_dest + 2)); - } + mlx4_en_set_loopback_dmac(priv, tx_desc, skb); /* Handle LSO (TSO) packets */ if (lso_header_size) { -- 2.53.1-Meta ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH net-next v2 3/5] net/mlx4: factor HW loopback DMAC into mlx4_en_set_loopback_dmac() 2026-11-17 15:53 ` [PATCH net-next v2 3/5] net/mlx4: factor HW loopback DMAC into mlx4_en_set_loopback_dmac() Joe Damato @ 2026-11-17 16:16 ` sashiko-bot 0 siblings, 0 replies; 14+ messages in thread From: sashiko-bot @ 2026-11-17 16:16 UTC (permalink / raw) To: Joe Damato; +Cc: linux-rdma > Extract the code which copies the destination MAC into the WQE for > eSwitch loopback into a helper. This helper will be used by a follow-up > series implementing software USO, so USO packets between functions on > the same port are looped back too. > > Signed-off-by: Joe Damato <joe@dama.to> Sashiko has reviewed this patch and found no issues. -- Sashiko AI review · https://sashiko.dev/#/patchset/20261117155353.2250540-1-joe@dama.to?part=3 ^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH net-next v2 4/5] net/mlx4: track whether a TX doorbell is pending [not found] <20261117155353.2250540-1-joe@dama.to> ` (2 preceding siblings ...) 2026-11-17 15:53 ` [PATCH net-next v2 3/5] net/mlx4: factor HW loopback DMAC into mlx4_en_set_loopback_dmac() Joe Damato @ 2026-11-17 15:53 ` Joe Damato 2026-11-17 16:16 ` sashiko-bot 2026-11-24 10:46 ` Mark Bloch 2026-11-17 15:53 ` [PATCH net-next v2 5/5] net/mlx4: flush pending doorbell when dropping a TX skb Joe Damato 4 siblings, 2 replies; 14+ messages in thread From: Joe Damato @ 2026-11-17 15:53 UTC (permalink / raw) To: netdev, Tariq Toukan, Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni Cc: edumazet, horms, linux-kernel, daniel.machon, Joe Damato, linux-rdma When the stack sets xmit_more, mlx4_en_xmit() skips the doorbell and relies on a later call in the same batch to write it. Nothing records that a doorbell is owed, so a path that ends the batch without writing the doorbell leaves the WQEs posted before it unannounced to HW. Add ring->doorbell_pending, set when the doorbell is deferred and cleared whenever a doorbell or a BlueFlame write is issued, so such a path can flush the deferred doorbell. Place the flag in the cache line dirtied by mlx4_en_xmit(), next to prod. That line has no room left, so move tx_dropped, which is only written when an skb is dropped, to the end of the struct among the fields not used in the fast path. Signed-off-by: Joe Damato <joe@dama.to> Reviewed-by: Daniel Machon <daniel.machon@microchip.com> --- v2: - doorbell_pending moved to the area of the struct marked as cache line used and dirtied in mlx4_en_xmit. In exchange, tx_dropped is moved among fields not written in the fast path. It is only written for drops and is read for stats. - Update the commit message. drivers/net/ethernet/mellanox/mlx4/en_tx.c | 9 +++++++-- drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c index 97f27e005810..123071a47bed 100644 --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c @@ -194,6 +194,7 @@ int mlx4_en_activate_tx_ring(struct mlx4_en_priv *priv, ring->prod = 0; ring->cons = 0xffffffff; ring->last_nr_txbb = 1; + ring->doorbell_pending = false; memset(ring->tx_info, 0, ring->size * sizeof(struct mlx4_en_tx_info)); memset(ring->buf, 0, ring->buf_size); ring->free_tx_desc = mlx4_en_free_tx_desc; @@ -757,6 +758,7 @@ void mlx4_en_xmit_doorbell(struct mlx4_en_tx_ring *ring) iowrite32be( #endif (__force u32)ring->doorbell_qpn, ring->doorbell_address); + ring->doorbell_pending = false; } static void mlx4_en_tx_write_desc(struct mlx4_en_tx_ring *ring, @@ -784,16 +786,19 @@ static void mlx4_en_tx_write_desc(struct mlx4_en_tx_ring *ring, wmb(); ring->bf.offset ^= ring->bf.buf_size; + ring->doorbell_pending = false; } else { /* Ensure new descriptor hits memory * before setting ownership of this descriptor to HW */ dma_wmb(); tx_desc->ctrl.owner_opcode = op_own; - if (send_doorbell) + if (send_doorbell) { mlx4_en_xmit_doorbell(ring); - else + } else { ring->xmit_more++; + ring->doorbell_pending = true; + } } } diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h index aab97694f86b..c28d5213cccd 100644 --- a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h +++ b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h @@ -274,7 +274,7 @@ struct mlx4_en_tx_ring { /* cache line used and dirtied in mlx4_en_xmit() */ u32 prod ____cacheline_aligned_in_smp; - unsigned int tx_dropped; + bool doorbell_pending; unsigned long bytes; unsigned long packets; unsigned long tx_csum; @@ -311,6 +311,7 @@ struct mlx4_en_tx_ring { enum mlx4_qp_state sp_qp_state; u16 sp_stride; u16 sp_cqn; /* index of port CQ associated with this ring */ + unsigned int tx_dropped; } ____cacheline_aligned_in_smp; struct mlx4_en_rx_desc { -- 2.53.1-Meta ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH net-next v2 4/5] net/mlx4: track whether a TX doorbell is pending 2026-11-17 15:53 ` [PATCH net-next v2 4/5] net/mlx4: track whether a TX doorbell is pending Joe Damato @ 2026-11-17 16:16 ` sashiko-bot 2026-11-24 10:46 ` Mark Bloch 1 sibling, 0 replies; 14+ messages in thread From: sashiko-bot @ 2026-11-17 16:16 UTC (permalink / raw) To: Joe Damato; +Cc: linux-rdma > When the stack sets xmit_more, mlx4_en_xmit() skips the doorbell and > relies on a later call in the same batch to write it. Nothing records > that a doorbell is owed, so a path that ends the batch without writing > the doorbell leaves the WQEs posted before it unannounced to HW. > > Add ring->doorbell_pending, set when the doorbell is deferred and > cleared whenever a doorbell or a BlueFlame write is issued, so such a > path can flush the deferred doorbell. > > Place the flag in the cache line dirtied by mlx4_en_xmit(), next to > prod. That line has no room left, so move tx_dropped, which is only > written when an skb is dropped, to the end of the struct among the > fields not used in the fast path. > > Signed-off-by: Joe Damato <joe@dama.to> Sashiko has reviewed this patch and found no issues. -- Sashiko AI review · https://sashiko.dev/#/patchset/20261117155353.2250540-1-joe@dama.to?part=4 ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH net-next v2 4/5] net/mlx4: track whether a TX doorbell is pending 2026-11-17 15:53 ` [PATCH net-next v2 4/5] net/mlx4: track whether a TX doorbell is pending Joe Damato 2026-11-17 16:16 ` sashiko-bot @ 2026-11-24 10:46 ` Mark Bloch 2026-11-24 11:55 ` Paolo Abeni 1 sibling, 1 reply; 14+ messages in thread From: Mark Bloch @ 2026-11-24 10:46 UTC (permalink / raw) To: Joe Damato, netdev, Tariq Toukan, Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni Cc: edumazet, horms, linux-kernel, daniel.machon, linux-rdma On 17/11/2026 17:53, Joe Damato wrote: > When the stack sets xmit_more, mlx4_en_xmit() skips the doorbell and > relies on a later call in the same batch to write it. Nothing records > that a doorbell is owed, so a path that ends the batch without writing > the doorbell leaves the WQEs posted before it unannounced to HW. > > Add ring->doorbell_pending, set when the doorbell is deferred and > cleared whenever a doorbell or a BlueFlame write is issued, so such a > path can flush the deferred doorbell. > > Place the flag in the cache line dirtied by mlx4_en_xmit(), next to > prod. That line has no room left, so move tx_dropped, which is only > written when an skb is dropped, to the end of the struct among the > fields not used in the fast path. > > Signed-off-by: Joe Damato <joe@dama.to> > Reviewed-by: Daniel Machon <daniel.machon@microchip.com> > --- > v2: > - doorbell_pending moved to the area of the struct marked as cache line > used and dirtied in mlx4_en_xmit. In exchange, tx_dropped is moved > among fields not written in the fast path. It is only written for > drops and is read for stats. > - Update the commit message. > > drivers/net/ethernet/mellanox/mlx4/en_tx.c | 9 +++++++-- > drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 3 ++- > 2 files changed, 9 insertions(+), 3 deletions(-) > > diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c > index 97f27e005810..123071a47bed 100644 > --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c > +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c > @@ -194,6 +194,7 @@ int mlx4_en_activate_tx_ring(struct mlx4_en_priv *priv, > ring->prod = 0; > ring->cons = 0xffffffff; > ring->last_nr_txbb = 1; > + ring->doorbell_pending = false; > memset(ring->tx_info, 0, ring->size * sizeof(struct mlx4_en_tx_info)); > memset(ring->buf, 0, ring->buf_size); > ring->free_tx_desc = mlx4_en_free_tx_desc; > @@ -757,6 +758,7 @@ void mlx4_en_xmit_doorbell(struct mlx4_en_tx_ring *ring) > iowrite32be( > #endif > (__force u32)ring->doorbell_qpn, ring->doorbell_address); > + ring->doorbell_pending = false; Can we keep this in mlx4_en_xmit()? XDP_TX calls this helper too, but tracks its pending doorbell in a local variable. If the XDP TX ring stays full for the whole poll, this store can dirty the producer cache line even though we didn't post a single WQE. The skb path already knows whether it deferred the doorbell. Could we replace the three flag updates with this one? diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c index c5d564e5a581..9d8a4ea473f1 100644 --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c @@ -1074,6 +1074,7 @@ netdev_tx_t mlx4_en_xmit(struct sk_buff *skb, struct net_device *dev) send_doorbell = __netdev_tx_sent_queue(ring->tx_queue, tx_info->nr_bytes, netdev_xmit_more()); + ring->doorbell_pending = !send_doorbell; real_size = (real_size / 16) & 0x3f; Mark > } > > static void mlx4_en_tx_write_desc(struct mlx4_en_tx_ring *ring, > @@ -784,16 +786,19 @@ static void mlx4_en_tx_write_desc(struct mlx4_en_tx_ring *ring, > wmb(); > > ring->bf.offset ^= ring->bf.buf_size; > + ring->doorbell_pending = false; > } else { > /* Ensure new descriptor hits memory > * before setting ownership of this descriptor to HW > */ > dma_wmb(); > tx_desc->ctrl.owner_opcode = op_own; > - if (send_doorbell) > + if (send_doorbell) { > mlx4_en_xmit_doorbell(ring); > - else > + } else { > ring->xmit_more++; > + ring->doorbell_pending = true; > + } > } > } > > diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h > index aab97694f86b..c28d5213cccd 100644 > --- a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h > +++ b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h > @@ -274,7 +274,7 @@ struct mlx4_en_tx_ring { > > /* cache line used and dirtied in mlx4_en_xmit() */ > u32 prod ____cacheline_aligned_in_smp; > - unsigned int tx_dropped; > + bool doorbell_pending; > unsigned long bytes; > unsigned long packets; > unsigned long tx_csum; > @@ -311,6 +311,7 @@ struct mlx4_en_tx_ring { > enum mlx4_qp_state sp_qp_state; > u16 sp_stride; > u16 sp_cqn; /* index of port CQ associated with this ring */ > + unsigned int tx_dropped; > } ____cacheline_aligned_in_smp; > > struct mlx4_en_rx_desc { ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH net-next v2 4/5] net/mlx4: track whether a TX doorbell is pending 2026-11-24 10:46 ` Mark Bloch @ 2026-11-24 11:55 ` Paolo Abeni 2026-11-24 12:08 ` Mark Bloch 0 siblings, 1 reply; 14+ messages in thread From: Paolo Abeni @ 2026-11-24 11:55 UTC (permalink / raw) To: Mark Bloch, Joe Damato, netdev, Tariq Toukan, Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski Cc: edumazet, horms, linux-kernel, daniel.machon, linux-rdma On 11/24/26 11:46, Mark Bloch wrote: > On 17/11/2026 17:53, Joe Damato wrote: >> When the stack sets xmit_more, mlx4_en_xmit() skips the doorbell and >> relies on a later call in the same batch to write it. Nothing records >> that a doorbell is owed, so a path that ends the batch without writing >> the doorbell leaves the WQEs posted before it unannounced to HW. >> >> Add ring->doorbell_pending, set when the doorbell is deferred and >> cleared whenever a doorbell or a BlueFlame write is issued, so such a >> path can flush the deferred doorbell. >> >> Place the flag in the cache line dirtied by mlx4_en_xmit(), next to >> prod. That line has no room left, so move tx_dropped, which is only >> written when an skb is dropped, to the end of the struct among the >> fields not used in the fast path. >> >> Signed-off-by: Joe Damato <joe@dama.to> >> Reviewed-by: Daniel Machon <daniel.machon@microchip.com> >> --- >> v2: >> - doorbell_pending moved to the area of the struct marked as cache line >> used and dirtied in mlx4_en_xmit. In exchange, tx_dropped is moved >> among fields not written in the fast path. It is only written for >> drops and is read for stats. >> - Update the commit message. >> >> drivers/net/ethernet/mellanox/mlx4/en_tx.c | 9 +++++++-- >> drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 3 ++- >> 2 files changed, 9 insertions(+), 3 deletions(-) >> >> diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c >> index 97f27e005810..123071a47bed 100644 >> --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c >> +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c >> @@ -194,6 +194,7 @@ int mlx4_en_activate_tx_ring(struct mlx4_en_priv *priv, >> ring->prod = 0; >> ring->cons = 0xffffffff; >> ring->last_nr_txbb = 1; >> + ring->doorbell_pending = false; >> memset(ring->tx_info, 0, ring->size * sizeof(struct mlx4_en_tx_info)); >> memset(ring->buf, 0, ring->buf_size); >> ring->free_tx_desc = mlx4_en_free_tx_desc; >> @@ -757,6 +758,7 @@ void mlx4_en_xmit_doorbell(struct mlx4_en_tx_ring *ring) >> iowrite32be( >> #endif >> (__force u32)ring->doorbell_qpn, ring->doorbell_address); >> + ring->doorbell_pending = false; > > Can we keep this in mlx4_en_xmit()? XDP_TX calls this helper too, but > tracks its pending doorbell in a local variable. If the XDP TX ring > stays full for the whole poll, this store can dirty the producer cache > line even though we didn't post a single WQE. I guess you quote the wrong slice of code and that you are referring to mlx4_en_tx_write_desc(), right? > diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c > index c5d564e5a581..9d8a4ea473f1 100644 > --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c > +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c > @@ -1074,6 +1074,7 @@ netdev_tx_t mlx4_en_xmit(struct sk_buff *skb, struct net_device *dev) > send_doorbell = __netdev_tx_sent_queue(ring->tx_queue, > tx_info->nr_bytes, > netdev_xmit_more()); > + ring->doorbell_pending = !send_doorbell; > > real_size = (real_size / 16) & 0x3f; AFAICS, preserving the state across poll() invocation is needed for correctness. To avoid writing the cacheline in the XDP case, mlx4_en_tx_write_desc() could return the new ring->doorbell_pending value. /P ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH net-next v2 4/5] net/mlx4: track whether a TX doorbell is pending 2026-11-24 11:55 ` Paolo Abeni @ 2026-11-24 12:08 ` Mark Bloch 2026-11-24 19:45 ` Joe Damato 0 siblings, 1 reply; 14+ messages in thread From: Mark Bloch @ 2026-11-24 12:08 UTC (permalink / raw) To: Paolo Abeni, Joe Damato, netdev, Tariq Toukan, Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski Cc: edumazet, horms, linux-kernel, daniel.machon, linux-rdma On 24/11/2026 13:55, Paolo Abeni wrote: > On 11/24/26 11:46, Mark Bloch wrote: >> On 17/11/2026 17:53, Joe Damato wrote: >>> When the stack sets xmit_more, mlx4_en_xmit() skips the doorbell and >>> relies on a later call in the same batch to write it. Nothing records >>> that a doorbell is owed, so a path that ends the batch without writing >>> the doorbell leaves the WQEs posted before it unannounced to HW. >>> >>> Add ring->doorbell_pending, set when the doorbell is deferred and >>> cleared whenever a doorbell or a BlueFlame write is issued, so such a >>> path can flush the deferred doorbell. >>> >>> Place the flag in the cache line dirtied by mlx4_en_xmit(), next to >>> prod. That line has no room left, so move tx_dropped, which is only >>> written when an skb is dropped, to the end of the struct among the >>> fields not used in the fast path. >>> >>> Signed-off-by: Joe Damato <joe@dama.to> >>> Reviewed-by: Daniel Machon <daniel.machon@microchip.com> >>> --- >>> v2: >>> - doorbell_pending moved to the area of the struct marked as cache line >>> used and dirtied in mlx4_en_xmit. In exchange, tx_dropped is moved >>> among fields not written in the fast path. It is only written for >>> drops and is read for stats. >>> - Update the commit message. >>> >>> drivers/net/ethernet/mellanox/mlx4/en_tx.c | 9 +++++++-- >>> drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 3 ++- >>> 2 files changed, 9 insertions(+), 3 deletions(-) >>> >>> diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c >>> index 97f27e005810..123071a47bed 100644 >>> --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c >>> +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c >>> @@ -194,6 +194,7 @@ int mlx4_en_activate_tx_ring(struct mlx4_en_priv *priv, >>> ring->prod = 0; >>> ring->cons = 0xffffffff; >>> ring->last_nr_txbb = 1; >>> + ring->doorbell_pending = false; >>> memset(ring->tx_info, 0, ring->size * sizeof(struct mlx4_en_tx_info)); >>> memset(ring->buf, 0, ring->buf_size); >>> ring->free_tx_desc = mlx4_en_free_tx_desc; >>> @@ -757,6 +758,7 @@ void mlx4_en_xmit_doorbell(struct mlx4_en_tx_ring *ring) >>> iowrite32be( >>> #endif >>> (__force u32)ring->doorbell_qpn, ring->doorbell_address); >>> + ring->doorbell_pending = false; >> >> Can we keep this in mlx4_en_xmit()? XDP_TX calls this helper too, but >> tracks its pending doorbell in a local variable. If the XDP TX ring >> stays full for the whole poll, this store can dirty the producer cache >> line even though we didn't post a single WQE. > > I guess you quote the wrong slice of code and that you are referring to > mlx4_en_tx_write_desc(), right? I meant the clear in mlx4_en_xmit_doorbell(). There are two paths to it: skb TX: mlx4_en_xmit() -> mlx4_en_tx_write_desc() -> mlx4_en_xmit_doorbell() XDP_TX: mlx4_en_poll_rx_cq() -> mlx4_en_process_rx_cq() -> mlx4_en_xmit_doorbell() In the XDP_TX case, mlx4_en_process_rx_cq() passes its local doorbell_pending by address to mlx4_en_xmit_frame(). If the TX ring is full, mlx4_en_xmit_frame() sets that flag and returns NETDEV_TX_BUSY without advancing ring->prod. At the end of the poll, the local flag causes mlx4_en_process_rx_cq() to call mlx4_en_xmit_doorbell() directly. The new clear can therefore dirty the producer cache line even if the poll posted no WQEs. >> diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c >> index c5d564e5a581..9d8a4ea473f1 100644 >> --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c >> +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c >> @@ -1074,6 +1074,7 @@ netdev_tx_t mlx4_en_xmit(struct sk_buff *skb, struct net_device *dev) >> send_doorbell = __netdev_tx_sent_queue(ring->tx_queue, >> tx_info->nr_bytes, >> netdev_xmit_more()); >> + ring->doorbell_pending = !send_doorbell; >> >> real_size = (real_size / 16) & 0x3f; > > AFAICS, preserving the state across poll() invocation is needed > for correctness. To avoid writing the cacheline in the XDP case, > mlx4_en_tx_write_desc() could return the new ring->doorbell_pending > value. The proposed assignment still saves the state in ring->doorbell_pending, so the next mlx4_en_xmit() sees it. Returning the value from mlx4_en_tx_write_desc() would work too. I suggested using !send_doorbell because mlx4_en_xmit() already has that value and it covers BlueFlame as well. Patch 5 would then clear the flag after the drop path flush Mark > > /P > > ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH net-next v2 4/5] net/mlx4: track whether a TX doorbell is pending 2026-11-24 12:08 ` Mark Bloch @ 2026-11-24 19:45 ` Joe Damato 0 siblings, 0 replies; 14+ messages in thread From: Joe Damato @ 2026-11-24 19:45 UTC (permalink / raw) To: Mark Bloch Cc: Paolo Abeni, netdev, Tariq Toukan, Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski, edumazet, horms, linux-kernel, daniel.machon, linux-rdma On Tue, Nov 24, 2026 at 02:08:37PM +0200, Mark Bloch wrote: > > > On 24/11/2026 13:55, Paolo Abeni wrote: > > On 11/24/26 11:46, Mark Bloch wrote: > >> On 17/11/2026 17:53, Joe Damato wrote: > >>> When the stack sets xmit_more, mlx4_en_xmit() skips the doorbell and > >>> relies on a later call in the same batch to write it. Nothing records > >>> that a doorbell is owed, so a path that ends the batch without writing > >>> the doorbell leaves the WQEs posted before it unannounced to HW. > >>> > >>> Add ring->doorbell_pending, set when the doorbell is deferred and > >>> cleared whenever a doorbell or a BlueFlame write is issued, so such a > >>> path can flush the deferred doorbell. > >>> > >>> Place the flag in the cache line dirtied by mlx4_en_xmit(), next to > >>> prod. That line has no room left, so move tx_dropped, which is only > >>> written when an skb is dropped, to the end of the struct among the > >>> fields not used in the fast path. > >>> > >>> Signed-off-by: Joe Damato <joe@dama.to> > >>> Reviewed-by: Daniel Machon <daniel.machon@microchip.com> > >>> --- > >>> v2: > >>> - doorbell_pending moved to the area of the struct marked as cache line > >>> used and dirtied in mlx4_en_xmit. In exchange, tx_dropped is moved > >>> among fields not written in the fast path. It is only written for > >>> drops and is read for stats. > >>> - Update the commit message. > >>> > >>> drivers/net/ethernet/mellanox/mlx4/en_tx.c | 9 +++++++-- > >>> drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 3 ++- > >>> 2 files changed, 9 insertions(+), 3 deletions(-) > >>> > >>> diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c > >>> index 97f27e005810..123071a47bed 100644 > >>> --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c > >>> +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c > >>> @@ -194,6 +194,7 @@ int mlx4_en_activate_tx_ring(struct mlx4_en_priv *priv, > >>> ring->prod = 0; > >>> ring->cons = 0xffffffff; > >>> ring->last_nr_txbb = 1; > >>> + ring->doorbell_pending = false; > >>> memset(ring->tx_info, 0, ring->size * sizeof(struct mlx4_en_tx_info)); > >>> memset(ring->buf, 0, ring->buf_size); > >>> ring->free_tx_desc = mlx4_en_free_tx_desc; > >>> @@ -757,6 +758,7 @@ void mlx4_en_xmit_doorbell(struct mlx4_en_tx_ring *ring) > >>> iowrite32be( > >>> #endif > >>> (__force u32)ring->doorbell_qpn, ring->doorbell_address); > >>> + ring->doorbell_pending = false; > >> > >> Can we keep this in mlx4_en_xmit()? XDP_TX calls this helper too, but > >> tracks its pending doorbell in a local variable. If the XDP TX ring > >> stays full for the whole poll, this store can dirty the producer cache > >> line even though we didn't post a single WQE. > > > > I guess you quote the wrong slice of code and that you are referring to > > mlx4_en_tx_write_desc(), right? > > > I meant the clear in mlx4_en_xmit_doorbell(). There are two paths to it: > > skb TX: > mlx4_en_xmit() -> mlx4_en_tx_write_desc() -> mlx4_en_xmit_doorbell() > > XDP_TX: > mlx4_en_poll_rx_cq() -> mlx4_en_process_rx_cq() -> mlx4_en_xmit_doorbell() > > In the XDP_TX case, mlx4_en_process_rx_cq() passes its local > doorbell_pending by address to mlx4_en_xmit_frame(). If the TX ring is > full, mlx4_en_xmit_frame() sets that flag and returns NETDEV_TX_BUSY > without advancing ring->prod. At the end of the poll, the local flag > causes mlx4_en_process_rx_cq() to call mlx4_en_xmit_doorbell() > directly. The new clear can therefore dirty the producer cache line > even if the poll posted no WQEs. > > >> diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c > >> index c5d564e5a581..9d8a4ea473f1 100644 > >> --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c > >> +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c > >> @@ -1074,6 +1074,7 @@ netdev_tx_t mlx4_en_xmit(struct sk_buff *skb, struct net_device *dev) > >> send_doorbell = __netdev_tx_sent_queue(ring->tx_queue, > >> tx_info->nr_bytes, > >> netdev_xmit_more()); > >> + ring->doorbell_pending = !send_doorbell; > >> > >> real_size = (real_size / 16) & 0x3f; > > > > AFAICS, preserving the state across poll() invocation is needed > > for correctness. To avoid writing the cacheline in the XDP case, > > mlx4_en_tx_write_desc() could return the new ring->doorbell_pending > > value. > > The proposed assignment still saves the state in ring->doorbell_pending, > so the next mlx4_en_xmit() sees it. Returning the value from > mlx4_en_tx_write_desc() would work too. I suggested using !send_doorbell > because mlx4_en_xmit() already has that value and it covers BlueFlame > as well. Patch 5 would then clear the flag after the drop path flush Thanks for the review, Mark, and thanks Paolo for taking a look. Mark's version seems better to me, so I'll go with that and send a v3. In patch 5, I'll factor out the logic of clearing the flag into a helper. Here's what patches 4 and 5 of v3 look like: [omitting the data structure change from patch 4, which is unchanged] diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c index 97f27e005810..b98eb9edf4a9 100644 --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c @@ -194,6 +194,7 @@ int mlx4_en_activate_tx_ring(struct mlx4_en_priv *priv, ring->prod = 0; ring->cons = 0xffffffff; ring->last_nr_txbb = 1; + ring->doorbell_pending = false; memset(ring->tx_info, 0, ring->size * sizeof(struct mlx4_en_tx_info)); memset(ring->buf, 0, ring->buf_size); ring->free_tx_desc = mlx4_en_free_tx_desc; @@ -1099,6 +1100,7 @@ netdev_tx_t mlx4_en_xmit(struct sk_buff *skb, struct net_device *dev) send_doorbell = __netdev_tx_sent_queue(ring->tx_queue, tx_info->nr_bytes, netdev_xmit_more()); + ring->doorbell_pending = !send_doorbell; real_size = (real_size / 16) & 0x3f; and patch 5: diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c index b98eb9edf4a9..944146d21053 100644 --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c @@ -760,6 +760,14 @@ void mlx4_en_xmit_doorbell(struct mlx4_en_tx_ring *ring) (__force u32)ring->doorbell_qpn, ring->doorbell_address); } +static void mlx4_en_flush_pending_doorbell(struct mlx4_en_tx_ring *ring) +{ + if (ring->doorbell_pending) { + mlx4_en_xmit_doorbell(ring); + ring->doorbell_pending = false; + } +} + static void mlx4_en_tx_write_desc(struct mlx4_en_tx_ring *ring, struct mlx4_en_tx_desc *tx_desc, union mlx4_wqe_qpn_vlan qpn_vlan, @@ -1132,6 +1140,8 @@ netdev_tx_t mlx4_en_xmit(struct sk_buff *skb, struct net_device *dev) tx_drop_count: ring->tx_dropped++; + /* an earlier skb in this batch may have deferred the doorbell */ + mlx4_en_flush_pending_doorbell(ring); tx_drop: dev_kfree_skb_any(skb); return NETDEV_TX_OK; --- pw-bot: cr ^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH net-next v2 5/5] net/mlx4: flush pending doorbell when dropping a TX skb [not found] <20261117155353.2250540-1-joe@dama.to> ` (3 preceding siblings ...) 2026-11-17 15:53 ` [PATCH net-next v2 4/5] net/mlx4: track whether a TX doorbell is pending Joe Damato @ 2026-11-17 15:53 ` Joe Damato 2026-11-17 16:16 ` sashiko-bot 4 siblings, 1 reply; 14+ messages in thread From: Joe Damato @ 2026-11-17 15:53 UTC (permalink / raw) To: netdev, Tariq Toukan, Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni Cc: edumazet, horms, linux-kernel, daniel.machon, Joe Damato, linux-rdma If mlx4_en_xmit drops an skb (for example because DMA mapping fails) and that skb happens to be the last one in the batch, the doorbell for the WQEs posted earlier in the batch isn't written. The queue stays awake, though, so those WQEs are eventually announced to the HW after the next TX, but that depends on traffic and could induce latency. Avoid all of that by writing the pending doorbell in the drop path. Signed-off-by: Joe Damato <joe@dama.to> Reviewed-by: Daniel Machon <daniel.machon@microchip.com> --- drivers/net/ethernet/mellanox/mlx4/en_tx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ethernet/mellanox/mlx4/en_tx.c b/drivers/net/ethernet/mellanox/mlx4/en_tx.c index 123071a47bed..3166837711be 100644 --- a/drivers/net/ethernet/mellanox/mlx4/en_tx.c +++ b/drivers/net/ethernet/mellanox/mlx4/en_tx.c @@ -1135,6 +1135,9 @@ netdev_tx_t mlx4_en_xmit(struct sk_buff *skb, struct net_device *dev) tx_drop_count: ring->tx_dropped++; + /* an earlier skb in this batch may have deferred the doorbell */ + if (ring->doorbell_pending) + mlx4_en_xmit_doorbell(ring); tx_drop: dev_kfree_skb_any(skb); return NETDEV_TX_OK; -- 2.53.1-Meta ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH net-next v2 5/5] net/mlx4: flush pending doorbell when dropping a TX skb 2026-11-17 15:53 ` [PATCH net-next v2 5/5] net/mlx4: flush pending doorbell when dropping a TX skb Joe Damato @ 2026-11-17 16:16 ` sashiko-bot 0 siblings, 0 replies; 14+ messages in thread From: sashiko-bot @ 2026-11-17 16:16 UTC (permalink / raw) To: Joe Damato; +Cc: linux-rdma > If mlx4_en_xmit drops an skb (for example because DMA mapping fails) and > that skb happens to be the last one in the batch, the doorbell for the > WQEs posted earlier in the batch isn't written. > > The queue stays awake, though, so those WQEs are eventually announced to > the HW after the next TX, but that depends on traffic and could induce > latency. > > Avoid all of that by writing the pending doorbell in the drop path. > > Signed-off-by: Joe Damato <joe@dama.to> Sashiko has reviewed this patch and found no issues. -- Sashiko AI review · https://sashiko.dev/#/patchset/20261117155353.2250540-1-joe@dama.to?part=5 ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2026-11-24 19:45 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20261117155353.2250540-1-joe@dama.to>
2026-11-17 15:53 ` [PATCH net-next v2 1/5] net/mlx4: factor VLAN parsing into mlx4_en_prep_vlan() Joe Damato
2026-11-17 16:16 ` sashiko-bot
2026-11-17 15:53 ` [PATCH net-next v2 2/5] net/mlx4: factor csum flags into mlx4_en_csum_flags() Joe Damato
2026-11-17 16:16 ` sashiko-bot
2026-11-17 15:53 ` [PATCH net-next v2 3/5] net/mlx4: factor HW loopback DMAC into mlx4_en_set_loopback_dmac() Joe Damato
2026-11-17 16:16 ` sashiko-bot
2026-11-17 15:53 ` [PATCH net-next v2 4/5] net/mlx4: track whether a TX doorbell is pending Joe Damato
2026-11-17 16:16 ` sashiko-bot
2026-11-24 10:46 ` Mark Bloch
2026-11-24 11:55 ` Paolo Abeni
2026-11-24 12:08 ` Mark Bloch
2026-11-24 19:45 ` Joe Damato
2026-11-17 15:53 ` [PATCH net-next v2 5/5] net/mlx4: flush pending doorbell when dropping a TX skb Joe Damato
2026-11-17 16:16 ` sashiko-bot
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox