diff options
| author | Richard Scheffenegger <rscheff@FreeBSD.org> | 2024-11-29 08:44:59 +0000 |
|---|---|---|
| committer | Richard Scheffenegger <rscheff@FreeBSD.org> | 2024-11-29 08:48:23 +0000 |
| commit | 0fc7bdc978366abb4351b0b76b50a5848cc5d982 (patch) | |
| tree | d44b508364fb24853ad6a11165ae0cd83e9db35d /sys/dev/mlx5 | |
| parent | 4020351325c02cc27aa4992c199ff18a9542a52c (diff) | |
Diffstat (limited to 'sys/dev/mlx5')
| -rw-r--r-- | sys/dev/mlx5/mlx5_en/mlx5_en_rx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c b/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c index a24bbe3d193e..f58c88e98053 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c @@ -168,10 +168,10 @@ mlx5e_lro_update_hdr(struct mbuf *mb, struct mlx5_cqe64 *cqe) ts_ptr = (uint32_t *)(th + 1); if (get_cqe_lro_tcppsh(cqe)) - th->th_flags |= TH_PUSH; + tcp_set_flags(th, tcp_get_flags(th) | TH_PUSH); if (tcp_ack) { - th->th_flags |= TH_ACK; + tcp_set_flags(th, tcp_get_flags(th) | TH_ACK); th->th_ack = cqe->lro_ack_seq_num; th->th_win = cqe->lro_tcp_win; |
