JIRA: SAMPLEVNF-85
The ethernet header pointer initialization was wrong due to which
the MAC address were not updated. Hence the packets were not
reaching the destination.
Change-Id: Ide061abaec9de9707390664848b01bf79171bfbd
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
/* Gateway Proc Starts */
struct ether_hdr *ehdr = (struct ether_hdr *)
RTE_MBUF_METADATA_UINT32_PTR(pkt,
/* Gateway Proc Starts */
struct ether_hdr *ehdr = (struct ether_hdr *)
RTE_MBUF_METADATA_UINT32_PTR(pkt,
- META_DATA_OFFSET + MBUF_HDR_ROOM);
+ META_DATA_OFFSET + RTE_PKTMBUF_HEADROOM);
struct ipv4_hdr *ipv4hdr = (struct ipv4_hdr *)
RTE_MBUF_METADATA_UINT32_PTR(pkt, IP_START);
struct ipv4_hdr *ipv4hdr = (struct ipv4_hdr *)
RTE_MBUF_METADATA_UINT32_PTR(pkt, IP_START);
struct ether_hdr *ehdr = (struct ether_hdr *)
RTE_MBUF_METADATA_UINT32_PTR(pkt,
struct ether_hdr *ehdr = (struct ether_hdr *)
RTE_MBUF_METADATA_UINT32_PTR(pkt,
- META_DATA_OFFSET + MBUF_HDR_ROOM);
+ META_DATA_OFFSET + RTE_PKTMBUF_HEADROOM);
struct ether_addr dst_mac;
uint8_t nhipv6[IPV6_ADD_SIZE];
struct ether_addr dst_mac;
uint8_t nhipv6[IPV6_ADD_SIZE];
/* Gateway Proc Starts */
struct ether_hdr *ehdr = (struct ether_hdr *)
RTE_MBUF_METADATA_UINT32_PTR(pkt,
/* Gateway Proc Starts */
struct ether_hdr *ehdr = (struct ether_hdr *)
RTE_MBUF_METADATA_UINT32_PTR(pkt,
- META_DATA_OFFSET + MBUF_HDR_ROOM);
+ META_DATA_OFFSET + RTE_PKTMBUF_HEADROOM);
struct ipv4_hdr *ipv4hdr = (struct ipv4_hdr *)
RTE_MBUF_METADATA_UINT32_PTR(pkt, IP_START);
struct ipv4_hdr *ipv4hdr = (struct ipv4_hdr *)
RTE_MBUF_METADATA_UINT32_PTR(pkt, IP_START);
struct ether_hdr *ehdr = (struct ether_hdr *)
RTE_MBUF_METADATA_UINT32_PTR(pkt,
struct ether_hdr *ehdr = (struct ether_hdr *)
RTE_MBUF_METADATA_UINT32_PTR(pkt,
- META_DATA_OFFSET + MBUF_HDR_ROOM);
+ META_DATA_OFFSET + RTE_PKTMBUF_HEADROOM);
struct ether_addr dst_mac;
uint32_t dest_if = INVALID_DESTIF;
struct ether_addr dst_mac;
uint32_t dest_if = INVALID_DESTIF;