Home
last modified time | relevance | path

Searched refs:lso (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/
H A Dbe_hw.h233 u8 lso; member
277 u8 lso; /* dword 1 */ member
/kernel/linux/linux-6.6/drivers/net/ethernet/emulex/benet/
H A Dbe_hw.h233 u8 lso; member
277 u8 lso; /* dword 1 */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
H A 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...]
H A Dotx2_struct.h203 u64 lso : 1; member
H A Dotx2_txrx.c513 ext->lso = 1; in otx2_sqe_add_ext()
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.c421 static void otx2_setup_udp_segmentation(struct nix_lso_format_cfg *lso, bool v4) in otx2_setup_udp_segmentation() argument
425 field = (struct nix_lso_format *)&lso->fields[0]; in otx2_setup_udp_segmentation()
426 lso->field_mask = GENMASK(18, 0); in otx2_setup_udp_segmentation()
457 struct nix_lso_format_cfg *lso; in otx2_setup_segmentation() local
464 lso = otx2_mbox_alloc_msg_nix_lso_format_cfg(&pfvf->mbox); in otx2_setup_segmentation()
465 if (!lso) in otx2_setup_segmentation()
469 otx2_setup_udp_segmentation(lso, true); in otx2_setup_segmentation()
476 otx2_mbox_get_rsp(&pfvf->mbox.mbox, 0, &lso->hdr); in otx2_setup_segmentation()
483 lso = otx2_mbox_alloc_msg_nix_lso_format_cfg(&pfvf->mbox); in otx2_setup_segmentation()
484 if (!lso) in otx2_setup_segmentation()
[all...]
H A Dotx2_struct.h202 u64 lso : 1; member
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c964 data = (void *)&tx_desc->lso + lso_align; in mlx4_en_xmit()
965 data_offset = offsetof(struct mlx4_en_tx_desc, lso) + lso_align; in mlx4_en_xmit()
1029 tx_desc->lso.mss_hdr_size = cpu_to_be32( in mlx4_en_xmit()
1037 memcpy(tx_desc->lso.header, skb->data, ETH_HLEN + sizeof(*h6)); in mlx4_en_xmit()
1038 h6 = (struct ipv6hdr *)((char *)tx_desc->lso.header + ETH_HLEN); in mlx4_en_xmit()
1050 memcpy(tx_desc->lso.header, skb->data, lso_header_size); in mlx4_en_xmit()
H A Dmlx4_en.h238 struct mlx4_wqe_lso_seg lso; member
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
H A 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c1378 struct cpl_tx_pkt_lso_core *lso) in write_tso_wr()
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()
1377 write_tso_wr(struct adapter *adap, struct sk_buff *skb, struct cpl_tx_pkt_lso_core *lso) write_tso_wr() argument
1932 struct cpl_tx_pkt_lso_core *lso = (void *)(wr + 1); cxgb4_vf_eth_xmit() local
2241 struct cpl_tx_pkt_lso_core *lso = (void *)(wr + 1); write_eo_wr() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c1378 struct cpl_tx_pkt_lso_core *lso) in write_tso_wr()
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()
1377 write_tso_wr(struct adapter *adap, struct sk_buff *skb, struct cpl_tx_pkt_lso_core *lso) write_tso_wr() argument
1938 struct cpl_tx_pkt_lso_core *lso = (void *)(wr + 1); cxgb4_vf_eth_xmit() local
2247 struct cpl_tx_pkt_lso_core *lso = (void *)(wr + 1); write_eo_wr() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A 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 in lpfc_get_stats()
6904 struct lpfc_lnk_stat *lso = &psli->lnk_stat_offsets; lpfc_reset_stats() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_attr.c6621 struct lpfc_lnk_stat * lso = &psli->lnk_stat_offsets; in lpfc_get_stats() local
6728 hs->link_failure_count -= lso->link_failure_count; in lpfc_get_stats()
6729 hs->loss_of_sync_count -= lso->loss_of_sync_count; in lpfc_get_stats()
6730 hs->loss_of_signal_count -= lso->loss_of_signal_count; in lpfc_get_stats()
6731 hs->prim_seq_protocol_err_count -= lso->prim_seq_protocol_err_count; in lpfc_get_stats()
6732 hs->invalid_tx_word_count -= lso->invalid_tx_word_count; in lpfc_get_stats()
6733 hs->invalid_crc_count -= lso->invalid_crc_count; in lpfc_get_stats()
6734 hs->error_frames -= lso->error_frames; in lpfc_get_stats()
6739 hs->nos_count -= lso->link_events; in lpfc_get_stats()
6742 hs->lip_count -= lso in lpfc_get_stats()
6769 struct lpfc_lnk_stat *lso = &psli->lnk_stat_offsets; lpfc_reset_stats() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A 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()
H A Dmlx4_en.h248 struct mlx4_wqe_lso_seg lso; member
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
H A 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()
H A Drvu.h230 struct nix_lso lso; member
/kernel/linux/linux-5.10/include/linux/mlx5/
H A Dmlx5_ifc_fpga.h421 u8 lso[0x1]; member
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c694 nix_hw->lso.total = cfg; in nix_setup_lso()
718 nix_hw->lso.in_use++; in nix_setup_lso()
731 nix_hw->lso.in_use++; in nix_setup_lso()
4898 for (idx = 0; idx < nix_hw->lso.in_use; idx++) { in rvu_mbox_handler_nix_lso_format_cfg()
4910 if (idx < nix_hw->lso.in_use) { in rvu_mbox_handler_nix_lso_format_cfg()
4916 if (nix_hw->lso.in_use == nix_hw->lso.total) in rvu_mbox_handler_nix_lso_format_cfg()
4919 rsp->lso_format_idx = nix_hw->lso.in_use++; in rvu_mbox_handler_nix_lso_format_cfg()
H A Drvu.h344 struct nix_lso lso; member
/kernel/linux/linux-5.10/drivers/net/hyperv/
H A Dhyperv_net.h1365 u8 lso; member
/kernel/linux/linux-6.6/drivers/net/hyperv/
H A Dhyperv_net.h1484 u8 lso; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dipsec.c348 if (MLX5_GET(ipsec_extended_cap, fdev->ipsec->caps, lso)) in mlx5_fpga_ipsec_device_caps()

Completed in 73 milliseconds

12