/illumos-gate/usr/src/uts/common/sys/ |
H A D | pattr.h | 82 #define HCK_FULLCKSUM 0x04 /* On Transmit: Compute full(in case */ macro 100 HCK_FULLCKSUM | HCK_FULLCKSUM_OK) 102 HCK_FULLCKSUM)
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 183 if ((flags & HCK_FULLCKSUM) != 0 && (flags & HCK_PARTIALCKSUM) != 0) { in mac_sw_cksum() 191 (flags & (HCK_FULLCKSUM | HCK_PARTIALCKSUM)) != 0; in mac_sw_cksum() 310 flags &= ~HCK_FULLCKSUM; in mac_sw_cksum() 408 flags &= ~HCK_FULLCKSUM; in mac_sw_cksum() 875 ASSERT3U(ocsum_flags & (HCK_PARTIALCKSUM | HCK_FULLCKSUM), !=, 0); in mac_sw_lso() 1024 if ((ocsum_flags & (HCK_PARTIALCKSUM | HCK_FULLCKSUM)) && in mac_sw_lso() 1103 if ((ocsum_flags & (HCK_PARTIALCKSUM | HCK_FULLCKSUM)) && in mac_sw_lso() 1154 if ((ocsum_flags & (HCK_PARTIALCKSUM | HCK_FULLCKSUM)) && in mac_sw_lso() 1183 #define HCK_NEEDED (HCK_IPV4_HDRCKSUM | HCK_PARTIALCKSUM | HCK_FULLCKSUM)
|
H A D | mac_ktest.c | 420 hck_flags |= HCK_FULLCKSUM; in mac_sw_cksum_test() 425 if (do_l4 && (hck_flags & (HCK_FULLCKSUM|HCK_PARTIALCKSUM)) == 0) { in mac_sw_cksum_test()
|
H A D | mac_provider.c | 141 flags |= HCK_FULLCKSUM; in mac_features_to_flags() 1613 if ((flags & (HCK_PARTIALCKSUM | HCK_FULLCKSUM)) != 0) { in mac_hcksum_get()
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_send.c | 450 if (pktp->pflags & HCK_FULLCKSUM) in bge_send_serial() 549 if ((pflags & HCK_FULLCKSUM) && in bge_ring_tx()
|
H A D | bge_recv2.c | 239 pflags |= HCK_FULLCKSUM; in bge_receive_packet()
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_tx.c | 754 if (sum_flag & HCK_FULLCKSUM) in nge_hot_txd_fill() 792 if (sum_flag & HCK_FULLCKSUM) in nge_sum_txd_fill()
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xnbu.c | 155 if ((pflags & HCK_FULLCKSUM) != 0) in xnbu_cksum_to_peer()
|
H A D | xnbo.c | 182 if (((pflags & HCK_FULLCKSUM) != 0) && in xnbo_cksum_to_peer()
|
H A D | xnb.c | 254 mac_hcksum_set(mp, 0, 0, 0, 0, HCK_FULLCKSUM); in xnb_software_csum() 345 mac_hcksum_set(mp, 0, 0, 0, 0, HCK_FULLCKSUM); in xnb_process_cksum_flags()
|
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/ |
H A D | vmxnet3_rx.c | 320 flags |= HCK_FULLCKSUM | HCK_FULLCKSUM_OK; in vmxnet3_rx_hwcksum()
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_data.c | 562 if ((hckflags & HCK_FULLCKSUM) == HCK_FULLCKSUM) { in eib_data_prepare_frame()
|
H A D | eib_ibt.c | 601 HCK_FULLCKSUM | HCKSUM_INET_FULL_V4; in eib_ibt_record_capab()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_input.c | 1710 if (hck_flags & HCK_FULLCKSUM) in ip_input_cksum_err_v6() 1719 if (hck_flags & HCK_FULLCKSUM) in ip_input_cksum_err_v6() 1922 if (hck_flags & HCK_FULLCKSUM) { in ip_input_cksum_v6()
|
H A D | ip_netinfo.c | 1143 if ((DB_CKSUMFLAGS(mp) & HCK_FULLCKSUM) != 0) { in ip_ispartialchecksum() 1179 (DB_CKSUMFLAGS(mp) & HCK_FULLCKSUM)) || in ip_isvalidchecksum()
|
H A D | ip_input.c | 2096 if (hck_flags & HCK_FULLCKSUM) in ip_input_cksum_err_v4() 2105 if (hck_flags & HCK_FULLCKSUM) in ip_input_cksum_err_v4() 2277 if (hck_flags & HCK_FULLCKSUM) { in ip_input_cksum_v4()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_rx.c | 450 csum_flags |= (HCK_FULLCKSUM | HCK_FULLCKSUM_OK); in oce_set_rx_oflags()
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 578 if (pflags & HCK_FULLCKSUM) { in rge_send_copy()
|
/illumos-gate/usr/src/uts/intel/io/viona/ |
H A D | viona_rx.c | 556 HCK_FULLCKSUM; in viona_rx_common()
|
H A D | viona_tx.c | 383 mac_hcksum_set(mp, 0, 0, 0, 0, HCK_FULLCKSUM | added_flags); in viona_tx_hcksum_full()
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_send.c | 1170 HCK_PARTIALCKSUM | HCK_FULLCKSUM | in nxge_hcksum_retrieve() 1173 HCK_FULLCKSUM)) != 0) { in nxge_hcksum_retrieve()
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede_fp.c | 1039 if (pktinfo->cksum_flags & HCK_FULLCKSUM) { in qede_tx_bcopy() 1253 if (pktinfo->cksum_flags & HCK_FULLCKSUM) { in qede_tx_mapped()
|
/illumos-gate/usr/src/uts/common/io/chxge/ |
H A D | ch.c | 1382 mac_hcksum_set(mp, 0, 0, 0, cksum, HCK_FULLCKSUM); in ch_send_up() 1698 flg = (msg_flg & HCK_FULLCKSUM)? in ch_send()
|
/illumos-gate/usr/src/uts/common/io/bnx/ |
H A D | bnxsnd.c | 629 if (pflags & HCK_FULLCKSUM) { in bnx_xmit_ring_xmit_mblk()
|
/illumos-gate/usr/src/uts/common/io/elxl/ |
H A D | elxl.c | 1171 if (pflags & HCK_FULLCKSUM) { in elxl_m_tx() 1328 pflags |= (HCK_FULLCKSUM | HCK_FULLCKSUM_OK); in elxl_recv()
|