> > Functionally will be same, but what do you think about following, to make > easy to see what define adds: > > +#define I40E_TX_OFFLOAD_MASK ( \ > + PKT_TX_IP_CKSUM | \ > + PKT_TX_IPV4 | \ > + PKT_TX_IPV6 | \ > + PKT_TX_L4_MASK | \ > + PKT_TX_OUTER_IP_CKSUM | \ > + PKT_TX_OUTER_IPV4 | \ > + PKT_TX_OUTER_IPV6 | \ > > +#ifdef RTE_LIBRTE_IEEE1588 > + PKT_TX_IEEE1588_TMST | \ > +#endif > > + PKT_TX_TCP_SEG | \ > + PKT_TX_QINQ_PKT | \ > + PKT_TX_VLAN_PKT | \ > + PKT_TX_TUNNEL_MASK) >
Hi, Ferruh As I know, the above change is incorrect in C code. We cannot use #ifdef #endif inside #define Thanks Jingjing