Skip to content

Commit

Permalink
net/bnxt: remove unnecessary ifdef
Browse files Browse the repository at this point in the history
Remove the unnecessary and useless compile-time option for IEEE 1588.

Signed-off-by: Ajit Khaparde <[email protected]>
  • Loading branch information
ajitkhaparde committed Nov 12, 2024
1 parent 44c45ca commit 664c235
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/net/bnxt/bnxt_rxr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 664c235

Please sign in to comment.