Home
last modified time | relevance | path

Searched refs:gso_type (Results 1 – 25 of 28) sorted by relevance

12

/drivers/net/
Dmacvtap.c627 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 …]
Dvirtio_net.c500 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 …]
Dtun.c1235 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 …]
Dxen-netfront.c694 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/
Dnetback.c272 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 …]
Dcommon.h74 int gso_type; member
/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c114 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/
Dsunvnet.c1124 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/
Dvxge-main.h517 #define vxge_offload_type(skb) (skb_shinfo(skb)->gso_type)
/drivers/net/wireless/ath/wil6210/
Dtxrx.c1244 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/
Dixgbe_fcoe.c522 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/
Dqlcnic_io.c1339 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/
Dbnxt.c822 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()
Dbnxt.h553 unsigned short gso_type; member
/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.c1218 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/
Dibmveth.c1196 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/
Ds2io.h1139 #define s2io_offload_type(skb) skb_shinfo(skb)->gso_type
/drivers/scsi/fcoe/
Dfcoe.c1697 skb_shinfo(skb)->gso_type = SKB_GSO_FCOE; in fcoe_xmit()
1700 skb_shinfo(skb)->gso_type = 0; in fcoe_xmit()
/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c373 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/
Datl1e_main.c1626 (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/
Dnet.c638 .gso_type = VIRTIO_NET_HDR_GSO_NONE in handle_rx()
/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c1973 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/
Dbnx2x_cmn.c527 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/
Dvmxnet3_drv.c1424 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/
Dsge.c1282 bool v6 = (ssi->gso_type & SKB_GSO_TCPV6) != 0; in t4vf_eth_xmit()

12