Home
last modified time | relevance | path

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

/trueos/sys/dev/virtio/network/
HDif_vtnet.c1446 uint16_t eth_type, int ip_start, struct virtio_net_hdr *hdr) in vtnet_rxq_csum_by_offset() argument
1456 switch (eth_type) { in vtnet_rxq_csum_by_offset()
1499 uint16_t eth_type, int ip_start, struct virtio_net_hdr *hdr) in vtnet_rxq_csum_by_parse() argument
1506 switch (eth_type) { in vtnet_rxq_csum_by_parse()
1559 "csum_offset=%d\n", __func__, eth_type, proto, in vtnet_rxq_csum_by_parse()
1584 uint16_t eth_type; in vtnet_rxq_csum() local
1588 eth_type = ntohs(eh->ether_type); in vtnet_rxq_csum()
1589 if (eth_type == ETHERTYPE_VLAN) { in vtnet_rxq_csum()
1592 eth_type = ntohs(evh->evl_proto); in vtnet_rxq_csum()
1598 error = vtnet_rxq_csum_by_offset(rxq, m, eth_type, offset, hdr); in vtnet_rxq_csum()
[all …]
/trueos/sys/ofed/drivers/net/mlx4/
HDen_tx.c577 uint16_t eth_type; in get_head_size() local
584 eth_type = ntohs(eh->evl_proto); in get_head_size()
587 eth_type = ntohs(eh->evl_encap_proto); in get_head_size()
592 switch (eth_type) { in get_head_size()
/trueos/sys/mips/nlm/dev/net/
HDnae.c907 uint32_t l2proto, uint32_t eth_type) in nlm_setup_l3ctable_even() argument
915 (eth_type & 0xffff); in nlm_setup_l3ctable_even()
/trueos/sys/dev/cxgb/
HDcxgb_sge.c1460 uint16_t eth_type; in t3_encap() local
1489 eth_type = eh->ether_type; in t3_encap()
1490 if (eth_type == htons(ETHERTYPE_VLAN)) { in t3_encap()
1495 eth_type = evh->evl_proto; in t3_encap()
1501 if (eth_type == htons(ETHERTYPE_IP)) { in t3_encap()
1506 } else if (eth_type == htons(ETHERTYPE_IPV6)) { in t3_encap()
/trueos/sys/ofed/include/rdma/
HDib_verbs.h878 u32 eth_type; member