Searched refs:lso (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/emulex/benet/ |
D | be_hw.h | 233 u8 lso; member 277 u8 lso; /* dword 1 */ member
|
D | be_main.c | 879 SET_TX_WRB_HDR_BITS(lso, hdr, in wrb_fill_hdr()
|
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_common.c | 414 static void otx2_setup_udp_segmentation(struct nix_lso_format_cfg *lso, bool v4) in otx2_setup_udp_segmentation() argument 418 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() [all …]
|
D | otx2_struct.h | 202 u64 lso : 1; member
|
D | otx2_txrx.c | 638 ext->lso = 1; in otx2_sqe_add_ext()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 960 data = (void *)&tx_desc->lso + lso_align; in mlx4_en_xmit() 961 data_offset = offsetof(struct mlx4_en_tx_desc, lso) + lso_align; in mlx4_en_xmit() 1025 tx_desc->lso.mss_hdr_size = cpu_to_be32( in mlx4_en_xmit() 1033 memcpy(tx_desc->lso.header, skb->data, ETH_HLEN + sizeof(*h6)); in mlx4_en_xmit() 1034 h6 = (struct ipv6hdr *)((char *)tx_desc->lso.header + ETH_HLEN); in mlx4_en_xmit() 1046 memcpy(tx_desc->lso.header, skb->data, lso_header_size); in mlx4_en_xmit()
|
D | mlx4_en.h | 229 struct mlx4_wqe_lso_seg lso; member
|
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 1378 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() 1619 struct cpl_tx_pkt_lso_core *lso = (void *)(wr + 1); in cxgb4_eth_xmit() local 1625 len += sizeof(*lso); in cxgb4_eth_xmit() [all …]
|
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4vf/ |
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-v6.1/drivers/scsi/lpfc/ |
D | lpfc_attr.c | 6485 struct lpfc_lnk_stat * lso = &psli->lnk_stat_offsets; in lpfc_get_stats() local 6592 hs->link_failure_count -= lso->link_failure_count; in lpfc_get_stats() 6593 hs->loss_of_sync_count -= lso->loss_of_sync_count; in lpfc_get_stats() 6594 hs->loss_of_signal_count -= lso->loss_of_signal_count; in lpfc_get_stats() 6595 hs->prim_seq_protocol_err_count -= lso->prim_seq_protocol_err_count; in lpfc_get_stats() 6596 hs->invalid_tx_word_count -= lso->invalid_tx_word_count; in lpfc_get_stats() 6597 hs->invalid_crc_count -= lso->invalid_crc_count; in lpfc_get_stats() 6598 hs->error_frames -= lso->error_frames; in lpfc_get_stats() 6603 hs->nos_count -= lso->link_events; in lpfc_get_stats() 6606 hs->lip_count -= lso->link_events; in lpfc_get_stats() [all …]
|
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 681 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() 4690 for (idx = 0; idx < nix_hw->lso.in_use; idx++) { in rvu_mbox_handler_nix_lso_format_cfg() 4702 if (idx < nix_hw->lso.in_use) { in rvu_mbox_handler_nix_lso_format_cfg() 4708 if (nix_hw->lso.in_use == nix_hw->lso.total) in rvu_mbox_handler_nix_lso_format_cfg() 4711 rsp->lso_format_idx = nix_hw->lso.in_use++; in rvu_mbox_handler_nix_lso_format_cfg()
|
D | rvu.h | 323 struct nix_lso lso; member
|
/Linux-v6.1/drivers/net/hyperv/ |
D | hyperv_net.h | 1482 u8 lso; member
|