/drivers/net/ |
D | macvtap.c | 627 unsigned short gso_type = 0; in macvtap_skb_from_vnet_hdr() local 628 if (vnet_hdr->gso_type != VIRTIO_NET_HDR_GSO_NONE) { in macvtap_skb_from_vnet_hdr() 629 switch (vnet_hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in macvtap_skb_from_vnet_hdr() 631 gso_type = SKB_GSO_TCPV4; in macvtap_skb_from_vnet_hdr() 634 gso_type = SKB_GSO_TCPV6; in macvtap_skb_from_vnet_hdr() 637 gso_type = SKB_GSO_UDP; in macvtap_skb_from_vnet_hdr() 643 if (vnet_hdr->gso_type & VIRTIO_NET_HDR_GSO_ECN) in macvtap_skb_from_vnet_hdr() 644 gso_type |= SKB_GSO_TCP_ECN; in macvtap_skb_from_vnet_hdr() 656 if (vnet_hdr->gso_type != VIRTIO_NET_HDR_GSO_NONE) { in macvtap_skb_from_vnet_hdr() 658 skb_shinfo(skb)->gso_type = gso_type; in macvtap_skb_from_vnet_hdr() [all …]
|
D | virtio_net.c | 500 if (hdr->hdr.gso_type != VIRTIO_NET_HDR_GSO_NONE) { in receive_buf() 502 switch (hdr->hdr.gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in receive_buf() 504 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in receive_buf() 507 skb_shinfo(skb)->gso_type = SKB_GSO_UDP; in receive_buf() 510 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in receive_buf() 514 dev->name, hdr->hdr.gso_type); in receive_buf() 518 if (hdr->hdr.gso_type & VIRTIO_NET_HDR_GSO_ECN) in receive_buf() 519 skb_shinfo(skb)->gso_type |= SKB_GSO_TCP_ECN; in receive_buf() 529 skb_shinfo(skb)->gso_type |= SKB_GSO_DODGY; in receive_buf() 897 if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV4) in xmit_skb() [all …]
|
D | tun.c | 1235 if (gso.gso_type != VIRTIO_NET_HDR_GSO_NONE) { in tun_get_user() 1237 switch (gso.gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in tun_get_user() 1239 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in tun_get_user() 1242 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in tun_get_user() 1245 skb_shinfo(skb)->gso_type = SKB_GSO_UDP; in tun_get_user() 1253 if (gso.gso_type & VIRTIO_NET_HDR_GSO_ECN) in tun_get_user() 1254 skb_shinfo(skb)->gso_type |= SKB_GSO_TCP_ECN; in tun_get_user() 1264 skb_shinfo(skb)->gso_type |= SKB_GSO_DODGY; in tun_get_user() 1349 if (sinfo->gso_type & SKB_GSO_TCPV4) in tun_put_user() 1350 gso.gso_type = VIRTIO_NET_HDR_GSO_TCPV4; in tun_put_user() [all …]
|
D | xen-netfront.c | 694 gso->u.gso.type = (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6) ? in xennet_start_xmit() 922 skb_shinfo(skb)->gso_type = in xennet_set_skb_gso() 928 skb_shinfo(skb)->gso_type |= SKB_GSO_DODGY; in xennet_set_skb_gso()
|
/drivers/net/xen-netback/ |
D | netback.c | 272 meta->gso_type = XEN_NETIF_GSO_TYPE_NONE; in get_next_rx_buffer() 288 int gso_type; member 336 if (info->head && ((1 << info->gso_type) & queue->vif->gso_mask)) in xenvif_setup_copy_gop() 370 .gso_type = XEN_NETIF_GSO_TYPE_NONE, in xenvif_gop_frag_copy() 375 if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV4) in xenvif_gop_frag_copy() 376 info.gso_type = XEN_NETIF_GSO_TYPE_TCPV4; in xenvif_gop_frag_copy() 377 else if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6) in xenvif_gop_frag_copy() 378 info.gso_type = XEN_NETIF_GSO_TYPE_TCPV6; in xenvif_gop_frag_copy() 438 int gso_type; in xenvif_gop_skb() local 442 gso_type = XEN_NETIF_GSO_TYPE_NONE; in xenvif_gop_skb() [all …]
|
D | common.h | 74 int gso_type; member
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 114 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in mlx5e_lro_update_hdr() 119 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in mlx5e_lro_update_hdr()
|
/drivers/net/ethernet/sun/ |
D | sunvnet.c | 1124 skb_shinfo(nskb)->gso_type = skb_shinfo(skb)->gso_type; in vnet_skb_shape() 1154 int gso_size, gso_type, gso_segs; in vnet_handle_offloads() local 1175 gso_type = skb_shinfo(skb)->gso_type; in vnet_handle_offloads() 1217 skb_shinfo(curr)->gso_type = gso_type; in vnet_handle_offloads()
|
/drivers/net/ethernet/neterion/vxge/ |
D | vxge-main.h | 517 #define vxge_offload_type(skb) (skb_shinfo(skb)->gso_type)
|
/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 1244 int gso_type; in __wil_tx_vring_tso() local 1270 gso_type = skb_shinfo(skb)->gso_type & (SKB_GSO_TCPV6 | SKB_GSO_TCPV4); in __wil_tx_vring_tso() 1271 switch (gso_type) { in __wil_tx_vring_tso()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_fcoe.c | 522 if (skb_is_gso(skb) && (skb_shinfo(skb)->gso_type != SKB_GSO_FCOE)) { in ixgbe_fso() 524 skb_shinfo(skb)->gso_type); in ixgbe_fso()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 1339 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in qlcnic_process_lro() 1341 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in qlcnic_process_lro() 1862 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in qlcnic_83xx_process_lro() 1864 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in qlcnic_83xx_process_lro()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 822 tpa_info->gso_type = SKB_GSO_TCPV4; in bnxt_tpa_start() 825 tpa_info->gso_type = SKB_GSO_TCPV6; in bnxt_tpa_start() 830 tpa_info->gso_type = 0; in bnxt_tpa_start() 869 skb_shinfo(skb)->gso_type = tpa_info->gso_type; in bnxt_gro_skb() 876 if (tpa_info->gso_type == SKB_GSO_TCPV4) { in bnxt_gro_skb() 887 } else if (tpa_info->gso_type == SKB_GSO_TCPV6) { in bnxt_gro_skb() 920 skb_shinfo(skb)->gso_type |= in bnxt_gro_skb() 923 skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_TUNNEL; in bnxt_gro_skb()
|
D | bnxt.h | 553 unsigned short gso_type; member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_fcoe.c | 1218 if (skb_shinfo(skb)->gso_type != SKB_GSO_FCOE) { in i40e_fcoe_tso() 1221 skb_shinfo(skb)->gso_type); in i40e_fcoe_tso()
|
/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 1196 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in ibmveth_rx_mss_helper() 1205 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in ibmveth_rx_mss_helper()
|
/drivers/net/ethernet/neterion/ |
D | s2io.h | 1139 #define s2io_offload_type(skb) skb_shinfo(skb)->gso_type
|
/drivers/scsi/fcoe/ |
D | fcoe.c | 1697 skb_shinfo(skb)->gso_type = SKB_GSO_FCOE; in fcoe_xmit() 1700 skb_shinfo(skb)->gso_type = 0; in fcoe_xmit()
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 373 skb_shinfo(skb)->gso_type = SKB_GSO_FCOE; in bnx2fc_xmit() 376 skb_shinfo(skb)->gso_type = 0; in bnx2fc_xmit()
|
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 1626 (skb_shinfo(skb)->gso_type == SKB_GSO_TCPV6)) { in atl1e_cal_tdp_req() 1654 offload_type = skb_shinfo(skb)->gso_type; in atl1e_tso_csum()
|
/drivers/vhost/ |
D | net.c | 638 .gso_type = VIRTIO_NET_HDR_GSO_NONE in handle_rx()
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 1973 if (skb_shinfo(skb)->gso_type & SKB_GSO_TCPV6) in atl1c_cal_tpd_req() 1996 offload_type = skb_shinfo(skb)->gso_type; in atl1c_tso_csum()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 527 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6; in bnx2x_set_gro_params() 530 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4; in bnx2x_set_gro_params() 3859 ip_hdr(skb)->protocol, skb_shinfo(skb)->gso_type, xmit_type, in bnx2x_start_xmit()
|
/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 1424 skb_shinfo(skb)->gso_type = rcd->v4 ? in vmxnet3_rq_rx_complete() 1436 skb_shinfo(skb)->gso_type = in vmxnet3_rq_rx_complete()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1282 bool v6 = (ssi->gso_type & SKB_GSO_TCPV6) != 0; in t4vf_eth_xmit()
|