[dpdk-dev] [PATCH 05/15] net: add rte prefix to ether defines

Ferruh Yigit ferruh.yigit at intel.com
Fri May 24 13:37:00 CEST 2019


On 5/21/2019 5:13 PM, Olivier Matz wrote:
> Add 'RTE_' prefix to defines:
> - rename ETHER_ADDR_LEN as RTE_ETHER_ADDR_LEN.
> - rename ETHER_TYPE_LEN as RTE_ETHER_TYPE_LEN.
> - rename ETHER_CRC_LEN as RTE_ETHER_CRC_LEN.
> - rename ETHER_HDR_LEN as RTE_ETHER_HDR_LEN.
> - rename ETHER_MIN_LEN as RTE_ETHER_MIN_LEN.
> - rename ETHER_MAX_LEN as RTE_ETHER_MAX_LEN.
> - rename ETHER_MTU as RTE_ETHER_MTU.

net/ice has RTE_ETHER_MTU in next-net, I am fixing it.

> - rename ETHER_MAX_VLAN_FRAME_LEN as RTE_ETHER_MAX_VLAN_FRAME_LEN.
> - rename ETHER_MAX_VLAN_ID as RTE_ETHER_MAX_VLAN_ID.
> - rename ETHER_MAX_JUMBO_FRAME_LEN as RTE_ETHER_MAX_JUMBO_FRAME_LEN.
> - rename ETHER_MIN_MTU as RTE_ETHER_MIN_MTU.
> - rename ETHER_LOCAL_ADMIN_ADDR as RTE_ETHER_LOCAL_ADMIN_ADDR.
> - rename ETHER_GROUP_ADDR as RTE_ETHER_GROUP_ADDR.
> - rename ETHER_TYPE_IPv4 as RTE_ETHER_TYPE_IPv4.
> - rename ETHER_TYPE_IPv6 as RTE_ETHER_TYPE_IPv6.
> - rename ETHER_TYPE_ARP as RTE_ETHER_TYPE_ARP.
> - rename ETHER_TYPE_VLAN as RTE_ETHER_TYPE_VLAN.
> - rename ETHER_TYPE_RARP as RTE_ETHER_TYPE_RARP.
> - rename ETHER_TYPE_QINQ as RTE_ETHER_TYPE_QINQ.
> - rename ETHER_TYPE_ETAG as RTE_ETHER_TYPE_ETAG.
> - rename ETHER_TYPE_1588 as RTE_ETHER_TYPE_1588.
> - rename ETHER_TYPE_SLOW as RTE_ETHER_TYPE_SLOW.
> - rename ETHER_TYPE_TEB as RTE_ETHER_TYPE_TEB.
> - rename ETHER_TYPE_LLDP as RTE_ETHER_TYPE_LLDP.
> - rename ETHER_TYPE_MPLS as RTE_ETHER_TYPE_MPLS.
> - rename ETHER_TYPE_MPLSM as RTE_ETHER_TYPE_MPLSM.
> - rename ETHER_VXLAN_HLEN as RTE_ETHER_VXLAN_HLEN.
> - rename ETHER_ADDR_FMT_SIZE as RTE_ETHER_ADDR_FMT_SIZE.
> - rename VXLAN_GPE_TYPE_IPV4 as RTE_VXLAN_GPE_TYPE_IPV4.
> - rename VXLAN_GPE_TYPE_IPV6 as RTE_VXLAN_GPE_TYPE_IPV6.
> - rename VXLAN_GPE_TYPE_ETH as RTE_VXLAN_GPE_TYPE_ETH.
> - rename VXLAN_GPE_TYPE_NSH as RTE_VXLAN_GPE_TYPE_NSH.
> - rename VXLAN_GPE_TYPE_MPLS as RTE_VXLAN_GPE_TYPE_MPLS.
> - rename VXLAN_GPE_TYPE_GBP as RTE_VXLAN_GPE_TYPE_GBP.
> - rename VXLAN_GPE_TYPE_VBNG as RTE_VXLAN_GPE_TYPE_VBNG.
> - rename ETHER_VXLAN_GPE_HLEN as RTE_ETHER_VXLAN_GPE_HLEN.
> 
> Do not update the command line library to avoid adding a dependency to
> librte_net.
> 
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>


<...>





More information about the dev mailing list