| /linux-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_netdev.c | 521 u64 stop, wake, csum, lso; in fbnic_get_queue_stats_tx() local 534 lso = stats->twq.lso; in fbnic_get_queue_stats_tx() 541 tx->needs_csum = csum + lso; in fbnic_get_queue_stats_tx() 542 tx->hw_gso_wire_packets = lso; in fbnic_get_queue_stats_tx() 555 tx->needs_csum = fbn->tx_stats.twq.csum_partial + fbn->tx_stats.twq.lso; in fbnic_get_base_stats() 556 tx->hw_gso_wire_packets = fbn->tx_stats.twq.lso; in fbnic_get_base_stats()
|
| H A D | fbnic_txrx.h | 78 u64 lso; member
|
| H A D | fbnic_txrx.c | 240 ring->stats.twq.lso += shinfo->gso_segs; in fbnic_tx_lso() 1237 fbn->tx_stats.twq.lso += stats->twq.lso; in fbnic_aggregate_ring_tx_counters()
|
| /linux-6.15/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc.c | 602 lso->ipv6 = enetc_skb_is_ipv6(skb); in enetc_lso_start() 603 lso->tcp = skb_is_gso_tcp(skb); in enetc_lso_start() 607 lso->total_len = skb->len - lso->hdr_len; in enetc_lso_start() 627 memcpy(hdr, skb->data, lso->hdr_len); in enetc_lso_map_hdr() 635 frm_len = lso->total_len & 0xffff; in enetc_lso_map_hdr() 653 lso->l3_hdr_len / 4); in enetc_lso_map_hdr() 654 if (lso->ipv6) in enetc_lso_map_hdr() 666 tx_swbd->len = lso->hdr_len; in enetc_lso_map_hdr() 704 len = skb_headlen(skb) - lso->hdr_len; in enetc_lso_map_data() 768 struct enetc_lso_t lso = {0}; in enetc_lso_hw_offload() local [all …]
|
| /linux-6.15/drivers/net/ethernet/emulex/benet/ |
| H A D | be_hw.h | 233 u8 lso; member 277 u8 lso; /* dword 1 */ member
|
| H A D | be_main.c | 878 SET_TX_WRB_HDR_BITS(lso, hdr, in wrb_fill_hdr()
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_common.c | 440 field = (struct nix_lso_format *)&lso->fields[0]; in otx2_setup_udp_segmentation() 441 lso->field_mask = GENMASK(18, 0); in otx2_setup_udp_segmentation() 472 struct nix_lso_format_cfg *lso; in otx2_setup_segmentation() local 479 lso = otx2_mbox_alloc_msg_nix_lso_format_cfg(&pfvf->mbox); in otx2_setup_segmentation() 480 if (!lso) in otx2_setup_segmentation() 484 otx2_setup_udp_segmentation(lso, true); in otx2_setup_segmentation() 491 otx2_mbox_get_rsp(&pfvf->mbox.mbox, 0, &lso->hdr); in otx2_setup_segmentation() 498 lso = otx2_mbox_alloc_msg_nix_lso_format_cfg(&pfvf->mbox); in otx2_setup_segmentation() 499 if (!lso) in otx2_setup_segmentation() 503 otx2_setup_udp_segmentation(lso, false); in otx2_setup_segmentation() [all …]
|
| H A D | otx2_struct.h | 202 u64 lso : 1; member
|
| H A D | otx2_txrx.c | 711 ext->lso = 1; in otx2_sqe_add_ext()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_tx.c | 961 data = (void *)&tx_desc->lso + lso_align; in mlx4_en_xmit() 962 data_offset = offsetof(struct mlx4_en_tx_desc, lso) + lso_align; in mlx4_en_xmit() 1026 tx_desc->lso.mss_hdr_size = cpu_to_be32( in mlx4_en_xmit() 1034 memcpy(tx_desc->lso.header, skb->data, ETH_HLEN + sizeof(*h6)); in mlx4_en_xmit() 1035 h6 = (struct ipv6hdr *)((char *)tx_desc->lso.header + ETH_HLEN); in mlx4_en_xmit() 1047 memcpy(tx_desc->lso.header, skb->data, lso_header_size); in mlx4_en_xmit()
|
| H A D | mlx4_en.h | 238 struct mlx4_wqe_lso_seg lso; member
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | sge.c | 1364 struct cpl_tx_pkt_lso_core *lso) in write_tso_wr() argument 1381 lso->ipid_ofst = htons(0); in write_tso_wr() 1382 lso->mss = htons(ssi->gso_size); in write_tso_wr() 1383 lso->seqno_offset = htonl(0); in write_tso_wr() 1385 lso->len = htonl(skb->len); in write_tso_wr() 1389 return (void *)(lso + 1); in write_tso_wr() 1611 len += sizeof(*lso); in cxgb4_eth_xmit() 1934 lso->lso_ctrl = in cxgb4_vf_eth_xmit() 1942 lso->ipid_ofst = cpu_to_be16(0); in cxgb4_vf_eth_xmit() 1946 lso->len = cpu_to_be32(skb->len); in cxgb4_vf_eth_xmit() [all …]
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb4vf/ |
| H A D | sge.c | 1277 struct cpl_tx_pkt_lso_core *lso = (void *)(wr + 1); in t4vf_eth_xmit() local 1284 FW_WR_IMMDLEN_V(sizeof(*lso) + in t4vf_eth_xmit() 1289 lso->lso_ctrl = in t4vf_eth_xmit() 1297 lso->ipid_ofst = cpu_to_be16(0); in t4vf_eth_xmit() 1298 lso->mss = cpu_to_be16(ssi->gso_size); in t4vf_eth_xmit() 1299 lso->seqno_offset = cpu_to_be32(0); in t4vf_eth_xmit() 1301 lso->len = cpu_to_be32(skb->len); in t4vf_eth_xmit() 1303 lso->len = cpu_to_be32(LSO_T5_XFER_SIZE_V(skb->len)); in t4vf_eth_xmit() 1309 cpl = (void *)(lso + 1); in t4vf_eth_xmit()
|
| /linux-6.15/drivers/scsi/lpfc/ |
| H A D | lpfc_attr.c | 6724 hs->link_failure_count -= lso->link_failure_count; in lpfc_get_stats() 6725 hs->loss_of_sync_count -= lso->loss_of_sync_count; in lpfc_get_stats() 6729 hs->invalid_crc_count -= lso->invalid_crc_count; in lpfc_get_stats() 6730 hs->error_frames -= lso->error_frames; in lpfc_get_stats() 6735 hs->nos_count -= lso->link_events; in lpfc_get_stats() 6738 hs->lip_count -= lso->link_events; in lpfc_get_stats() 6743 hs->nos_count -= lso->link_events; in lpfc_get_stats() 6828 lso->invalid_crc_count = pmb->un.varRdLnk.crcCnt; in lpfc_reset_stats() 6829 lso->error_frames = pmb->un.varRdLnk.crcCnt; in lpfc_reset_stats() 6831 lso->link_events = (phba->link_events >> 1); in lpfc_reset_stats() [all …]
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 860 nix_hw->lso.total = cfg; in nix_setup_lso() 884 nix_hw->lso.in_use++; in nix_setup_lso() 897 nix_hw->lso.in_use++; in nix_setup_lso() 5445 for (idx = 0; idx < nix_hw->lso.in_use; idx++) { in rvu_mbox_handler_nix_lso_format_cfg() 5457 if (idx < nix_hw->lso.in_use) { in rvu_mbox_handler_nix_lso_format_cfg() 5463 if (nix_hw->lso.in_use == nix_hw->lso.total) in rvu_mbox_handler_nix_lso_format_cfg() 5466 rsp->lso_format_idx = nix_hw->lso.in_use++; in rvu_mbox_handler_nix_lso_format_cfg()
|
| H A D | rvu.h | 375 struct nix_lso lso; member
|
| /linux-6.15/drivers/net/hyperv/ |
| H A D | hyperv_net.h | 1497 u8 lso; member
|
| /linux-6.15/Documentation/translations/sp_SP/process/ |
| H A D | deprecated.rst | 176 de tener cuidado que en los casos en lso que se usase el valor devuelto de
|