Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.c369 static void otx2_setup_udp_segmentation(struct nix_lso_format_cfg *lso, bool v4) in otx2_setup_udp_segmentation() argument
373 field = (struct nix_lso_format *)&lso->fields[0]; in otx2_setup_udp_segmentation()
374 lso->field_mask = GENMASK(18, 0); in otx2_setup_udp_segmentation()
405 struct nix_lso_format_cfg *lso; in otx2_setup_segmentation() local
412 lso = otx2_mbox_alloc_msg_nix_lso_format_cfg(&pfvf->mbox); in otx2_setup_segmentation()
413 if (!lso) in otx2_setup_segmentation()
417 otx2_setup_udp_segmentation(lso, true); in otx2_setup_segmentation()
424 otx2_mbox_get_rsp(&pfvf->mbox.mbox, 0, &lso->hdr); in otx2_setup_segmentation()
431 lso = otx2_mbox_alloc_msg_nix_lso_format_cfg(&pfvf->mbox); in otx2_setup_segmentation()
432 if (!lso) in otx2_setup_segmentation()
[all …]
Dotx2_struct.h203 u64 lso : 1; member
Dotx2_txrx.c513 ext->lso = 1; in otx2_sqe_add_ext()
/drivers/net/ethernet/emulex/benet/
Dbe_hw.h233 u8 lso; member
277 u8 lso; /* dword 1 */ member
Dbe_main.c879 SET_TX_WRB_HDR_BITS(lso, hdr, in wrb_fill_hdr()
/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1378 struct cpl_tx_pkt_lso_core *lso) in write_tso_wr() argument
1389 lso->lso_ctrl = htonl(LSO_OPCODE_V(CPL_TX_PKT_LSO) | in write_tso_wr()
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()
1401 lso->len = htonl(LSO_T5_XFER_SIZE_V(skb->len)); in write_tso_wr()
1403 return (void *)(lso + 1); in write_tso_wr()
1618 struct cpl_tx_pkt_lso_core *lso = (void *)(wr + 1); in cxgb4_eth_xmit() local
1624 len += sizeof(*lso); in cxgb4_eth_xmit()
[all …]
/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1280 struct cpl_tx_pkt_lso_core *lso = (void *)(wr + 1); in t4vf_eth_xmit() local
1287 FW_WR_IMMDLEN_V(sizeof(*lso) + in t4vf_eth_xmit()
1292 lso->lso_ctrl = in t4vf_eth_xmit()
1300 lso->ipid_ofst = cpu_to_be16(0); in t4vf_eth_xmit()
1301 lso->mss = cpu_to_be16(ssi->gso_size); in t4vf_eth_xmit()
1302 lso->seqno_offset = cpu_to_be32(0); in t4vf_eth_xmit()
1304 lso->len = cpu_to_be32(skb->len); in t4vf_eth_xmit()
1306 lso->len = cpu_to_be32(LSO_T5_XFER_SIZE_V(skb->len)); in t4vf_eth_xmit()
1312 cpl = (void *)(lso + 1); in t4vf_eth_xmit()
/drivers/scsi/lpfc/
Dlpfc_attr.c6776 struct lpfc_lnk_stat * lso = &psli->lnk_stat_offsets; in lpfc_get_stats() local
6863 hs->link_failure_count -= lso->link_failure_count; in lpfc_get_stats()
6864 hs->loss_of_sync_count -= lso->loss_of_sync_count; in lpfc_get_stats()
6865 hs->loss_of_signal_count -= lso->loss_of_signal_count; in lpfc_get_stats()
6866 hs->prim_seq_protocol_err_count -= lso->prim_seq_protocol_err_count; in lpfc_get_stats()
6867 hs->invalid_tx_word_count -= lso->invalid_tx_word_count; in lpfc_get_stats()
6868 hs->invalid_crc_count -= lso->invalid_crc_count; in lpfc_get_stats()
6869 hs->error_frames -= lso->error_frames; in lpfc_get_stats()
6874 hs->nos_count -= lso->link_events; in lpfc_get_stats()
6877 hs->lip_count -= lso->link_events; in lpfc_get_stats()
[all …]
/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c956 data = (void *)&tx_desc->lso + lso_align; in mlx4_en_xmit()
957 data_offset = offsetof(struct mlx4_en_tx_desc, lso) + lso_align; in mlx4_en_xmit()
1020 tx_desc->lso.mss_hdr_size = cpu_to_be32( in mlx4_en_xmit()
1025 memcpy(tx_desc->lso.header, skb->data, lso_header_size); in mlx4_en_xmit()
Dmlx4_en.h248 struct mlx4_wqe_lso_seg lso; member
/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c488 nix_hw->lso.total = cfg; in nix_setup_lso()
512 nix_hw->lso.in_use++; in nix_setup_lso()
525 nix_hw->lso.in_use++; in nix_setup_lso()
3421 for (idx = 0; idx < nix_hw->lso.in_use; idx++) { in rvu_mbox_handler_nix_lso_format_cfg()
3433 if (idx < nix_hw->lso.in_use) { in rvu_mbox_handler_nix_lso_format_cfg()
3439 if (nix_hw->lso.in_use == nix_hw->lso.total) in rvu_mbox_handler_nix_lso_format_cfg()
3442 rsp->lso_format_idx = nix_hw->lso.in_use++; in rvu_mbox_handler_nix_lso_format_cfg()
Drvu.h230 struct nix_lso lso; member
/drivers/net/hyperv/
Dhyperv_net.h1378 u8 lso; member
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c348 if (MLX5_GET(ipsec_extended_cap, fdev->ipsec->caps, lso)) in mlx5_fpga_ipsec_device_caps()