Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/emulex/benet/
A Dbe_hw.h233 u8 lso; member
277 u8 lso; /* dword 1 */ member
A Dbe_main.c879 SET_TX_WRB_HDR_BITS(lso, hdr, in wrb_fill_hdr()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_common.c418 field = (struct nix_lso_format *)&lso->fields[0]; in otx2_setup_udp_segmentation()
419 lso->field_mask = GENMASK(18, 0); in otx2_setup_udp_segmentation()
450 struct nix_lso_format_cfg *lso; in otx2_setup_segmentation() local
457 lso = otx2_mbox_alloc_msg_nix_lso_format_cfg(&pfvf->mbox); in otx2_setup_segmentation()
458 if (!lso) in otx2_setup_segmentation()
462 otx2_setup_udp_segmentation(lso, true); in otx2_setup_segmentation()
469 otx2_mbox_get_rsp(&pfvf->mbox.mbox, 0, &lso->hdr); in otx2_setup_segmentation()
476 lso = otx2_mbox_alloc_msg_nix_lso_format_cfg(&pfvf->mbox); in otx2_setup_segmentation()
477 if (!lso) in otx2_setup_segmentation()
481 otx2_setup_udp_segmentation(lso, false); in otx2_setup_segmentation()
[all …]
A Dotx2_struct.h202 u64 lso : 1; member
A Dotx2_txrx.c639 ext->lso = 1; in otx2_sqe_add_ext()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Den_tx.c962 data = (void *)&tx_desc->lso + lso_align; in mlx4_en_xmit()
963 data_offset = offsetof(struct mlx4_en_tx_desc, lso) + lso_align; in mlx4_en_xmit()
1027 tx_desc->lso.mss_hdr_size = cpu_to_be32( in mlx4_en_xmit()
1035 memcpy(tx_desc->lso.header, skb->data, ETH_HLEN + sizeof(*h6)); in mlx4_en_xmit()
1036 h6 = (struct ipv6hdr *)((char *)tx_desc->lso.header + ETH_HLEN); in mlx4_en_xmit()
1048 memcpy(tx_desc->lso.header, skb->data, lso_header_size); in mlx4_en_xmit()
A Dmlx4_en.h237 struct mlx4_wqe_lso_seg lso; member
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dsge.c1378 struct cpl_tx_pkt_lso_core *lso) in write_tso_wr() argument
1395 lso->ipid_ofst = htons(0); in write_tso_wr()
1396 lso->mss = htons(ssi->gso_size); in write_tso_wr()
1397 lso->seqno_offset = htonl(0); in write_tso_wr()
1399 lso->len = htonl(skb->len); in write_tso_wr()
1403 return (void *)(lso + 1); in write_tso_wr()
1625 len += sizeof(*lso); in cxgb4_eth_xmit()
1948 lso->lso_ctrl = in cxgb4_vf_eth_xmit()
1956 lso->ipid_ofst = cpu_to_be16(0); in cxgb4_vf_eth_xmit()
1960 lso->len = cpu_to_be32(skb->len); in cxgb4_vf_eth_xmit()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4vf/
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-6.3-rc2/drivers/scsi/lpfc/
A Dlpfc_attr.c6697 hs->link_failure_count -= lso->link_failure_count; in lpfc_get_stats()
6698 hs->loss_of_sync_count -= lso->loss_of_sync_count; in lpfc_get_stats()
6702 hs->invalid_crc_count -= lso->invalid_crc_count; in lpfc_get_stats()
6703 hs->error_frames -= lso->error_frames; in lpfc_get_stats()
6708 hs->nos_count -= lso->link_events; in lpfc_get_stats()
6711 hs->lip_count -= lso->link_events; in lpfc_get_stats()
6716 hs->nos_count -= lso->link_events; in lpfc_get_stats()
6801 lso->invalid_crc_count = pmb->un.varRdLnk.crcCnt; in lpfc_reset_stats()
6802 lso->error_frames = pmb->un.varRdLnk.crcCnt; in lpfc_reset_stats()
6804 lso->link_events = (phba->link_events >> 1); in lpfc_reset_stats()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_nix.c681 nix_hw->lso.total = cfg; in nix_setup_lso()
705 nix_hw->lso.in_use++; in nix_setup_lso()
718 nix_hw->lso.in_use++; in nix_setup_lso()
4718 for (idx = 0; idx < nix_hw->lso.in_use; idx++) { in rvu_mbox_handler_nix_lso_format_cfg()
4730 if (idx < nix_hw->lso.in_use) { in rvu_mbox_handler_nix_lso_format_cfg()
4736 if (nix_hw->lso.in_use == nix_hw->lso.total) in rvu_mbox_handler_nix_lso_format_cfg()
4739 rsp->lso_format_idx = nix_hw->lso.in_use++; in rvu_mbox_handler_nix_lso_format_cfg()
A Drvu.h325 struct nix_lso lso; member
/linux-6.3-rc2/drivers/net/hyperv/
A Dhyperv_net.h1482 u8 lso; member

Completed in 99 milliseconds