summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2024-11-26 17:36:07 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2024-11-26 17:36:07 +0000
commit9b6b64a5fcb736672a6a6f74a967eb437cc0279a (patch)
tree5356a657543e5c60b303fdbac4f33c943911ca84
parenta53ca3269f3ce17bf9bb7bf476573ebd8a2d3ea0 (diff)
Enable TSO in ice(4) Tx queue context. Else the device won't send packets.
-rw-r--r--sys/dev/pci/if_ice.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_ice.c b/sys/dev/pci/if_ice.c
index 9c650518b51..25b2d2248ea 100644
--- a/sys/dev/pci/if_ice.c
+++ b/sys/dev/pci/if_ice.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ice.c,v 1.19 2024/11/26 17:34:00 stsp Exp $ */
+/* $OpenBSD: if_ice.c,v 1.20 2024/11/26 17:36:06 stsp Exp $ */
/* Copyright (c) 2024, Intel Corporation
* All rights reserved.
@@ -9230,13 +9230,13 @@ ice_setup_tx_ctx(struct ice_tx_queue *txq, struct ice_tlan_ctx *tlan_ctx,
}
tlan_ctx->src_vsi = hw->vsi_ctx[vsi->idx]->vsi_num;
-#if 0
+
/* Enable TSO */
tlan_ctx->tso_ena = 1;
tlan_ctx->internal_usage_flag = 1;
tlan_ctx->tso_qnum = pf_q;
-#endif
+
/*
* Stick with the older legacy Tx queue interface, instead of the new
* advanced queue interface.