Home
last modified time | relevance | path

Searched refs:lso (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_netdev.c625 u64 stop, wake, csum, lso; in fbnic_get_queue_stats_tx() local
639 lso = stats->twq.lso; in fbnic_get_queue_stats_tx()
646 tx->needs_csum = csum + lso; in fbnic_get_queue_stats_tx()
647 tx->hw_gso_wire_packets = lso; in fbnic_get_queue_stats_tx()
673 tx->needs_csum = fbn->tx_stats.twq.csum_partial + fbn->tx_stats.twq.lso; in fbnic_get_base_stats()
674 tx->hw_gso_wire_packets = fbn->tx_stats.twq.lso; in fbnic_get_base_stats()
H A Dfbnic_txrx.h83 u64 lso; member
H A Dfbnic_txrx.c252 ring->stats.twq.lso += shinfo->gso_segs; in fbnic_tx_lso()
1440 fbn->tx_stats.twq.lso += stats->twq.lso; in fbnic_aggregate_ring_tx_counters()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c674 static void enetc_lso_start(struct sk_buff *skb, struct enetc_lso_t *lso) in enetc_lso_start() argument
676 lso->lso_seg_size = skb_shinfo(skb)->gso_size; in enetc_lso_start()
677 lso->ipv6 = enetc_skb_is_ipv6(skb); in enetc_lso_start()
678 lso->tcp = skb_is_gso_tcp(skb); in enetc_lso_start()
679 lso->l3_hdr_len = skb_network_header_len(skb); in enetc_lso_start()
680 lso->l3_start = skb_network_offset(skb); in enetc_lso_start()
681 lso->hdr_len = enetc_lso_get_hdr_len(skb); in enetc_lso_start()
682 lso->total_len = skb->len - lso->hdr_len; in enetc_lso_start()
686 int *i, struct enetc_lso_t *lso) in enetc_lso_map_hdr() argument
702 memcpy(hdr, skb->data, lso->hdr_len); in enetc_lso_map_hdr()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.c429 static void otx2_setup_udp_segmentation(struct nix_lso_format_cfg *lso, bool v4) in otx2_setup_udp_segmentation() argument
433 field = (struct nix_lso_format *)&lso->fields[0]; in otx2_setup_udp_segmentation()
434 lso->field_mask = GENMASK(18, 0); in otx2_setup_udp_segmentation()
465 struct nix_lso_format_cfg *lso; in otx2_setup_segmentation() local
472 lso = otx2_mbox_alloc_msg_nix_lso_format_cfg(&pfvf->mbox); in otx2_setup_segmentation()
473 if (!lso) in otx2_setup_segmentation()
477 otx2_setup_udp_segmentation(lso, true); in otx2_setup_segmentation()
484 otx2_mbox_get_rsp(&pfvf->mbox.mbox, 0, &lso->hdr); in otx2_setup_segmentation()
491 lso = otx2_mbox_alloc_msg_nix_lso_format_cfg(&pfvf->mbox); in otx2_setup_segmentation()
492 if (!lso) in otx2_setup_segmentation()
[all …]
H A Dotx2_struct.h202 u64 lso : 1; member
H A Dotx2_txrx.c715 ext->lso = 1; in otx2_sqe_add_ext()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c1364 struct cpl_tx_pkt_lso_core *lso) in write_tso_wr() argument
1375 lso->lso_ctrl = htonl(LSO_OPCODE_V(CPL_TX_PKT_LSO) | in write_tso_wr()
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()
1387 lso->len = htonl(LSO_T5_XFER_SIZE_V(skb->len)); in write_tso_wr()
1389 return (void *)(lso + 1); in write_tso_wr()
1604 struct cpl_tx_pkt_lso_core *lso = (void *)(wr + 1); in cxgb4_eth_xmit() local
1610 len += sizeof(*lso); in cxgb4_eth_xmit()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c1277 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/drivers/scsi/lpfc/
H A Dlpfc_attr.c6751 struct lpfc_lnk_stat * lso = &psli->lnk_stat_offsets; in lpfc_get_stats() local
6858 hs->link_failure_count -= lso->link_failure_count; in lpfc_get_stats()
6859 hs->loss_of_sync_count -= lso->loss_of_sync_count; in lpfc_get_stats()
6860 hs->loss_of_signal_count -= lso->loss_of_signal_count; in lpfc_get_stats()
6861 hs->prim_seq_protocol_err_count -= lso->prim_seq_protocol_err_count; in lpfc_get_stats()
6862 hs->invalid_tx_word_count -= lso->invalid_tx_word_count; in lpfc_get_stats()
6863 hs->invalid_crc_count -= lso->invalid_crc_count; in lpfc_get_stats()
6864 hs->error_frames -= lso->error_frames; in lpfc_get_stats()
6869 hs->nos_count -= lso->link_events; in lpfc_get_stats()
6872 hs->lip_count -= lso->link_events; in lpfc_get_stats()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c861 nix_hw->lso.total = cfg; in nix_setup_lso()
885 nix_hw->lso.in_use++; in nix_setup_lso()
898 nix_hw->lso.in_use++; in nix_setup_lso()
5461 for (idx = 0; idx < nix_hw->lso.in_use; idx++) { in rvu_mbox_handler_nix_lso_format_cfg()
5473 if (idx < nix_hw->lso.in_use) { in rvu_mbox_handler_nix_lso_format_cfg()
5479 if (nix_hw->lso.in_use == nix_hw->lso.total) in rvu_mbox_handler_nix_lso_format_cfg()
5482 rsp->lso_format_idx = nix_hw->lso.in_use++; in rvu_mbox_handler_nix_lso_format_cfg()
/linux/drivers/net/hyperv/
H A Dhyperv_net.h1500 u8 lso; member
/linux/Documentation/translations/sp_SP/process/
H A Ddeprecated.rst176 de tener cuidado que en los casos en lso que se usase el valor devuelto de
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c878 SET_TX_WRB_HDR_BITS(lso, hdr, in wrb_fill_hdr()