Home
last modified time | relevance | path

Searched refs:cksum_flags (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_tx.c495 &cur_context->cksum_stuff, NULL, NULL, &cur_context->cksum_flags); in e1000g_retrieve_context()
510 !((cur_context->cksum_flags & HCK_PARTIALCKSUM) && in e1000g_retrieve_context()
511 (cur_context->cksum_flags & HCK_IPV4_HDRCKSUM))) { in e1000g_retrieve_context()
573 (cur_context->cksum_flags != 0)) { in e1000g_check_context()
578 (cur_context->cksum_flags != pre_context->cksum_flags) || in e1000g_check_context()
589 } else if (cur_context->cksum_flags != 0) { in e1000g_check_context()
591 (cur_context->cksum_flags != pre_context->cksum_flags) || in e1000g_check_context()
676 cur_context->cksum_flags) { in e1000g_fill_tx_ring()
677 if (cur_context->cksum_flags & HCK_IPV4_HDRCKSUM) in e1000g_fill_tx_ring()
680 if (cur_context->cksum_flags & HCK_PARTIALCKSUM) in e1000g_fill_tx_ring()
[all …]
H A De1000g_sw.h602 uint32_t cksum_flags; member
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_send.c131 t_uscalar_t cksum_flags = 0; in hxge_start() local
167 &cksum_flags); in hxge_start()
176 if (cksum_flags & HCK_PARTIALCKSUM) { in hxge_start()
180 mp, MBLKL(mp), cksum_flags)); in hxge_start()
577 &end_offset, &value, &cksum_flags); in hxge_start()
628 cksum_flags)); in hxge_start()
629 if (cksum_flags & HCK_PARTIALCKSUM) { in hxge_start()
632 cksum_flags)); in hxge_start()
638 cksum_flags, start_offset, stuff_offset)); in hxge_start()
648 cksum_flags, start_offset, stuff_offset)); in hxge_start()
/illumos-gate/usr/src/uts/intel/io/viona/
H A Dviona_rx.c273 uint32_t cksum_flags; in viona_recv_plain() local
282 &cksum_flags); in viona_recv_plain()
283 if ((cksum_flags & HCK_FULLCKSUM_OK) != 0) { in viona_recv_plain()
433 uint32_t cksum_flags; in viona_recv_merged() local
442 &cksum_flags); in viona_recv_merged()
443 if ((cksum_flags & HCK_FULLCKSUM_OK) != 0) { in viona_recv_merged()
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_fp.c238 uint32_t cksum_flags = 0; in qede_set_cksum_flags() local
256 cksum_flags = HCK_FULLCKSUM_OK | HCK_IPV4_HDRCKSUM_OK; in qede_set_cksum_flags()
266 mac_hcksum_set(mp, 0, 0, 0, 0, cksum_flags); in qede_set_cksum_flags()
1034 if (pktinfo->cksum_flags & HCK_IPV4_HDRCKSUM) { in qede_tx_bcopy()
1039 if (pktinfo->cksum_flags & HCK_FULLCKSUM) { in qede_tx_bcopy()
1248 if (pktinfo->cksum_flags & HCK_IPV4_HDRCKSUM) { in qede_tx_mapped()
1253 if (pktinfo->cksum_flags & HCK_FULLCKSUM) { in qede_tx_mapped()
1449 qede_get_pkt_offload_info(qede, mp, &pktinfo.cksum_flags, in qede_send_tx_packet()
1504 pktinfo.l4_proto, pktinfo.cksum_flags, pktinfo.use_lso, in qede_send_tx_packet()
H A Dqede_fp.h121 u32 cksum_flags; member
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnb.c697 uint16_t cksum_flags; in xnb_to_peer() local
748 cksum_flags = xnbp->xnb_flavour->xf_cksum_to_peer(xnbp, mp); in xnb_to_peer()
749 if (cksum_flags != 0) in xnb_to_peer()
751 rxresp->flags |= cksum_flags; in xnb_to_peer()
1016 uint16_t cksum_flags; in xnb_copy_to_peer() local
1144 cksum_flags = xnbp->xnb_flavour->xf_cksum_to_peer(xnbp, mp); in xnb_copy_to_peer()
1145 if (cksum_flags != 0) in xnb_copy_to_peer()
1147 rxresp->flags |= cksum_flags; in xnb_copy_to_peer()
H A Dxnf.c1859 uint32_t cksum_flags, uint32_t lso_flags, uint32_t mss) in xnf_tx_setup_offload() argument
1873 } else if (cksum_flags != 0) { in xnf_tx_setup_offload()
1874 ASSERT3U(cksum_flags, ==, HCK_FULLCKSUM); in xnf_tx_setup_offload()
1903 uint32_t cksum_flags, lso_flags, mss; in xnf_send() local
1942 mac_hcksum_get(mp, NULL, NULL, NULL, NULL, &cksum_flags); in xnf_send()
1950 if (cksum_flags != 0) { in xnf_send()
1951 ASSERT3U(cksum_flags, ==, HCK_FULLCKSUM); in xnf_send()
2033 xnf_tx_setup_offload(xnfp, head, cksum_flags, lso_flags, mss); in xnf_send()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c180 t_uscalar_t cksum_flags = 0; in nxge_start() local
280 &value, &cksum_flags); in nxge_start()
289 if (cksum_flags & HCK_PARTIALCKSUM) { in nxge_start()
293 mp, MBLKL(mp), cksum_flags)); in nxge_start()
799 &cksum_flags); in nxge_start()
854 cksum_flags)); in nxge_start()
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxgell.c612 int cksum_flags = 0; in xgell_rx_hcksum_assoc() local
617 cksum_flags |= HCK_IPV4_HDRCKSUM_OK; in xgell_rx_hcksum_assoc()
620 cksum_flags |= HCK_FULLCKSUM_OK; in xgell_rx_hcksum_assoc()
622 if (cksum_flags != 0) { in xgell_rx_hcksum_assoc()
623 mac_hcksum_set(mp, 0, 0, 0, 0, cksum_flags); in xgell_rx_hcksum_assoc()
641 cksum_flags |= HCK_PARTIALCKSUM; in xgell_rx_hcksum_assoc()
643 ntohs(ext_info->l4_cksum), cksum_flags); in xgell_rx_hcksum_assoc()
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c1237 int index, cksum_flags, docopy; in unm_process_rcv() local
1307 cksum_flags = in unm_process_rcv()
1310 cksum_flags = 0; in unm_process_rcv()
1312 mac_hcksum_set(mp, 0, 0, 0, 0, cksum_flags); in unm_process_rcv()