|
@@ -1,5 +1,6 @@
|
|
/*
|
|
/*
|
|
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
|
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
|
|
|
+ * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -207,10 +208,9 @@ dp_tx_hw_enqueue_be(struct dp_soc *soc, struct dp_vdev *vdev,
|
|
hal_tx_desc_set_to_fw(hal_tx_desc_cached, 1);
|
|
hal_tx_desc_set_to_fw(hal_tx_desc_cached, 1);
|
|
|
|
|
|
/* verify checksum offload configuration*/
|
|
/* verify checksum offload configuration*/
|
|
- if (vdev->csum_enabled &&
|
|
|
|
- ((qdf_nbuf_get_tx_cksum(tx_desc->nbuf) ==
|
|
|
|
- QDF_NBUF_TX_CKSUM_TCP_UDP) ||
|
|
|
|
- qdf_nbuf_is_tso(tx_desc->nbuf))) {
|
|
|
|
|
|
+ if ((qdf_nbuf_get_tx_cksum(tx_desc->nbuf) ==
|
|
|
|
+ QDF_NBUF_TX_CKSUM_TCP_UDP) ||
|
|
|
|
+ qdf_nbuf_is_tso(tx_desc->nbuf)) {
|
|
hal_tx_desc_set_l3_checksum_en(hal_tx_desc_cached, 1);
|
|
hal_tx_desc_set_l3_checksum_en(hal_tx_desc_cached, 1);
|
|
hal_tx_desc_set_l4_checksum_en(hal_tx_desc_cached, 1);
|
|
hal_tx_desc_set_l4_checksum_en(hal_tx_desc_cached, 1);
|
|
}
|
|
}
|