ihs 137 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c static inline void mlx5e_insert_vlan(void *start, struct sk_buff *skb, u16 ihs) ihs 141 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c int cpy2_sz = ihs - cpy1_sz; ihs 170 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c u16 ihs; ihs 173 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c ihs = skb_inner_transport_offset(skb) + inner_tcp_hdrlen(skb); ihs 175 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c stats->tso_inner_bytes += skb->len - ihs; ihs 178 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c ihs = skb_transport_offset(skb) + sizeof(struct udphdr); ihs 180 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c ihs = skb_transport_offset(skb) + tcp_hdrlen(skb); ihs 182 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c stats->tso_bytes += skb->len - ihs; ihs 185 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c return ihs; ihs 279 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c u16 headlen, ihs, contig_wqebbs_room; ihs 291 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c ihs = mlx5e_tx_get_gso_ihs(sq, skb); ihs 292 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c num_bytes = skb->len + (skb_shinfo(skb)->gso_segs - 1) * ihs; ihs 299 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c ihs = mlx5e_calc_min_inline(mode, skb); ihs 307 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c headlen = skb->len - ihs - skb->data_len; ihs 311 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c if (ihs) { ihs 312 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c ihs += !!skb_vlan_tag_present(skb) * VLAN_HLEN; ihs 314 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c ds_cnt_inl = DIV_ROUND_UP(ihs - INL_HDR_START_SZ, MLX5_SEND_WQE_DS); ihs 351 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c if (ihs) { ihs 352 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c eseg->inline_hdr.sz = cpu_to_be16(ihs); ihs 354 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c ihs -= VLAN_HLEN; ihs 355 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c mlx5e_insert_vlan(eseg->inline_hdr.start, skb, ihs); ihs 358 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c memcpy(eseg->inline_hdr.start, skb->data, ihs); ihs 369 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c num_dma = mlx5e_txwqe_build_dsegs(sq, skb, skb->data + ihs, headlen, dseg); ihs 602 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c u16 headlen, ihs, pi, contig_wqebbs_room; ihs 614 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c ihs = mlx5e_tx_get_gso_ihs(sq, skb); ihs 615 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c num_bytes = skb->len + (skb_shinfo(skb)->gso_segs - 1) * ihs; ihs 622 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c ihs = mlx5e_calc_min_inline(mode, skb); ihs 630 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c headlen = skb->len - ihs - skb->data_len; ihs 634 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c if (ihs) { ihs 635 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c ds_cnt_inl = DIV_ROUND_UP(ihs - INL_HDR_START_SZ, MLX5_SEND_WQE_DS); ihs 662 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c if (ihs) { ihs 663 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c memcpy(eseg->inline_hdr.start, skb->data, ihs); ihs 664 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c eseg->inline_hdr.sz = cpu_to_be16(ihs); ihs 668 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c num_dma = mlx5e_txwqe_build_dsegs(sq, skb, skb->data + ihs, headlen, dseg);