Home
last modified time | relevance | path

Searched refs:eth_h (Results 1 – 5 of 5) sorted by relevance

/dpdk/app/test-pmd/
H A Dicmpecho.c277 struct rte_ether_hdr *eth_h; in reply_to_icmp_echo_rqsts() local
316 eth_type = RTE_BE_TO_CPU_16(eth_h->ether_type); in reply_to_icmp_echo_rqsts()
321 ether_addr_dump(" ETH: src=", &eth_h->src_addr); in reply_to_icmp_echo_rqsts()
322 ether_addr_dump(" dst=", &eth_h->dst_addr); in reply_to_icmp_echo_rqsts()
326 ((char *)eth_h + sizeof(struct rte_ether_hdr)); in reply_to_icmp_echo_rqsts()
387 rte_ether_addr_copy(&eth_h->src_addr, &eth_h->dst_addr); in reply_to_icmp_echo_rqsts()
390 &eth_h->src_addr); in reply_to_icmp_echo_rqsts()
397 rte_ether_addr_copy(&eth_h->src_addr, in reply_to_icmp_echo_rqsts()
455 rte_ether_addr_copy(&eth_h->src_addr, &eth_addr); in reply_to_icmp_echo_rqsts()
456 rte_ether_addr_copy(&eth_h->dst_addr, &eth_h->src_addr); in reply_to_icmp_echo_rqsts()
[all …]
/dpdk/drivers/net/bonding/
H A Drte_eth_bond_alb.c85 arp = (struct rte_arp_hdr *)((char *)(eth_h + 1) + offset); in bond_mode_alb_arp_recv()
108 memcmp(client_info->vlan, eth_h + 1, offset) != 0 in bond_mode_alb_arp_recv()
120 memcpy(client_info->vlan, eth_h + 1, offset); in bond_mode_alb_arp_recv()
140 arp = (struct rte_arp_hdr *)((char *)(eth_h + 1) + offset); in bond_mode_alb_arp_xmit()
173 memcpy(client_info->vlan, eth_h + 1, offset); in bond_mode_alb_arp_xmit()
192 memcpy(client_info->vlan, eth_h + 1, offset); in bond_mode_alb_arp_xmit()
209 struct rte_ether_hdr *eth_h; in bond_mode_alb_arp_upd() local
214 eth_h = rte_pktmbuf_mtod(pkt, struct rte_ether_hdr *); in bond_mode_alb_arp_upd()
221 eth_h->ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_ARP); in bond_mode_alb_arp_upd()
224 (char *)eth_h + sizeof(struct rte_ether_hdr) in bond_mode_alb_arp_upd()
[all …]
H A Drte_eth_bond_alb.h71 bond_mode_alb_arp_recv(struct rte_ether_hdr *eth_h, uint16_t offset,
88 bond_mode_alb_arp_xmit(struct rte_ether_hdr *eth_h, uint16_t offset,
H A Drte_eth_bond_pmd.c489 struct rte_ether_hdr *eth_h, uint16_t port, in mode6_debug() argument
501 uint16_t ether_type = eth_h->ether_type; in mode6_debug()
535 struct rte_ether_hdr *eth_h; in bond_ethdev_rx_burst_alb() local
544 ether_type = eth_h->ether_type; in bond_ethdev_rx_burst_alb()
545 offset = get_vlan_offset(eth_h, &ether_type); in bond_ethdev_rx_burst_alb()
551 bond_mode_alb_arp_recv(eth_h, offset, internals); in bond_ethdev_rx_burst_alb()
982 struct rte_ether_hdr *eth_h; in bond_ethdev_tx_burst_alb() local
1013 ether_type = eth_h->ether_type; in bond_ethdev_tx_burst_alb()
1014 offset = get_vlan_offset(eth_h, &ether_type); in bond_ethdev_tx_burst_alb()
1080 eth_h = rte_pktmbuf_mtod(slave_bufs[i][j], in bond_ethdev_tx_burst_alb()
[all …]
/dpdk/drivers/net/ionic/
H A Dionic_rxtx.c896 struct rte_ether_hdr *eth_h = rte_pktmbuf_mtod(rxm, in ionic_rx_clean() local
898 uint16_t ether_type = eth_h->ether_type; in ionic_rx_clean()