From: Ajit Khaparde <ajit.khaparde@broadcom.com>
To: dev@dpdk.org
Subject: [PATCH v2 13/13] net/bnxt: remove unnecessary ifdef
Date: Sun, 27 Oct 2024 10:11:28 -0700 [thread overview]
Message-ID: <20241027171128.50221-14-ajit.khaparde@broadcom.com> (raw)
In-Reply-To: <20241027171128.50221-1-ajit.khaparde@broadcom.com>
Remove the unnecessary and useless compile-time option for IEEE 1588.
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
---
drivers/net/bnxt/bnxt_rxr.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_rxr.c b/drivers/net/bnxt/bnxt_rxr.c
index 8f0a1b9cfd..5b43bcbea6 100644
--- a/drivers/net/bnxt/bnxt_rxr.c
+++ b/drivers/net/bnxt/bnxt_rxr.c
@@ -955,10 +955,6 @@ bnxt_set_ol_flags_crx(struct bnxt_rx_ring_info *rxr,
ol_flags |= RTE_MBUF_F_RX_RSS_HASH;
}
-#ifdef RTE_LIBRTE_IEEE1588
- /* TODO: TIMESTAMP flags need to be parsed and set. */
-#endif
-
mbuf->ol_flags = ol_flags;
}
@@ -1080,10 +1076,6 @@ static int bnxt_crx_pkt(struct rte_mbuf **rx_pkt,
mbuf->data_len = mbuf->pkt_len;
mbuf->port = rxq->port_id;
-#ifdef RTE_LIBRTE_IEEE1588
- /* TODO: Add timestamp support. */
-#endif
-
bnxt_set_ol_flags_crx(rxr, rxcmp, mbuf);
mbuf->packet_type = bnxt_parse_pkt_type_crx(rxcmp);
bnxt_set_vlan_crx(rxcmp, mbuf);
--
2.39.5 (Apple Git-154)
prev parent reply other threads:[~2024-10-27 17:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-27 17:11 [PATCH v2 00/13] patchset for bnxt PMD Ajit Khaparde
2024-10-27 17:11 ` [PATCH v2 01/13] net/bnxt: fix TCP and UDP checksum flags Ajit Khaparde
2024-10-27 17:11 ` [PATCH v2 02/13] net/bnxt: fix bad action offset in Tx bd Ajit Khaparde
2024-10-27 17:11 ` [PATCH v2 03/13] net/bnxt: add check to validate TSO segment size Ajit Khaparde
2024-10-27 17:11 ` [PATCH v2 04/13] net/bnxt: add check for number of segs Ajit Khaparde
2024-10-27 17:11 ` [PATCH v2 05/13] net/bnxt: add check for invalid mbuf passed by application Ajit Khaparde
2024-10-27 17:11 ` [PATCH v2 06/13] net/bnxt: free and account a bad Tx mbuf Ajit Khaparde
2024-10-27 17:11 ` [PATCH v2 07/13] net/bnxt: register for and handle RSS change event Ajit Khaparde
2024-10-27 17:11 ` [PATCH v2 08/13] net/bnxt: fix LRO offload capability Ajit Khaparde
2024-10-27 17:11 ` [PATCH v2 09/13] net/bnxt: disable VLAN filter when TF is enabled Ajit Khaparde
2024-10-27 17:11 ` [PATCH v2 10/13] net/bnxt: remove the VNIC async event handler Ajit Khaparde
2024-10-27 17:11 ` [PATCH v2 11/13] net/bnxt: remove some unnecessary logs Ajit Khaparde
2024-10-27 17:11 ` [PATCH v2 12/13] net/bnxt: add support for buffer split Rx offload Ajit Khaparde
2024-10-27 17:11 ` Ajit Khaparde [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241027171128.50221-14-ajit.khaparde@broadcom.com \
--to=ajit.khaparde@broadcom.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).