Skip to contentSkip to conversation

missing __rte_deprecated on rte_eth_stats.imcasts ?

DISCUSSION Matthew Hall 2 participants 2 messages Nov 22, 2015 – Nov 23, 2015

lore
Share & tools
lore
#0 lore raw

I was reading through the deprecations in rte_eth_stats to see if I could fix the pktgen. Of course many fields were marked with __rte_deprecated .

However I found this one field which said deprecated in its comment, but it lacked __rte_deprecated .

Is the comment wrong, or is the field definition wrong, or did I miss something?

uint64_t imcasts;
/**< Deprecated; Total number of multicast received packets. */

Matthew.

#1 lore raw

2015-11-22 18:53, Matthew Hall:

Quoted 5 lines

I was reading through the deprecations in rte_eth_stats to see if I could fix the pktgen. Of course many fields were marked with __rte_deprecated .

However I found this one field which said deprecated in its comment, but it lacked __rte_deprecated .

When setting the __rte_deprecated attribute, Stephen wanted to keep imcasts:
http://dpdk.org/dev/patchwork/patch/8732/

Quoted 2 lines

Is the comment wrong, or is the field definition wrong, or did I miss something?

We have to decide if we really want to deprecate it.
I think we should set the deprecated attribute and it seems agreed.

Quoted 2 lines

uint64_t imcasts;
/**< Deprecated; Total number of multicast received packets. */