DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1292] mbuf: L2 packet type names could be improved
@ 2023-09-21  8:43 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2023-09-21  8:43 UTC (permalink / raw)
  To: dev

[-- Attachment #1: Type: text/plain, Size: 889 bytes --]

https://bugs.dpdk.org/show_bug.cgi?id=1292

            Bug ID: 1292
           Summary: mbuf: L2 packet type names could be improved
           Product: DPDK
           Version: 23.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: mb@smartsharesystems.com
  Target Milestone: ---

In rte_mbuf_ptype.h, having both L2 and ETHER in the Ethernet packet type names
seems redundant.

RTE_PTYPE_L2_ETHER(_TIMESYNC|_ARP|_LLDP, etc.) could simply be
RTE_PTYPE_L2(_TIMESYNC|_ARP|_LLDP, etc.).

Furthermore, RTE_PTYPE_L2_ETHER defines IP (both v4 and v6) packets, so IP
should be part of the name, e.g. RTE_PTYPE_L2_ETHER_IP.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 2761 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-21  8:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-21  8:43 [Bug 1292] mbuf: L2 packet type names could be improved bugzilla

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).