/kernel/linux/linux-5.10/net/ethtool/ |
H A D | coalesce.c | 127 const struct ethtool_coalesce *coal = &data->coalesce; in coalesce_fill_reply() local 131 coal->rx_coalesce_usecs, supported) || in coalesce_fill_reply() 133 coal->rx_max_coalesced_frames, supported) || in coalesce_fill_reply() 135 coal->rx_coalesce_usecs_irq, supported) || in coalesce_fill_reply() 137 coal->rx_max_coalesced_frames_irq, supported) || in coalesce_fill_reply() 139 coal->tx_coalesce_usecs, supported) || in coalesce_fill_reply() 141 coal->tx_max_coalesced_frames, supported) || in coalesce_fill_reply() 143 coal->tx_coalesce_usecs_irq, supported) || in coalesce_fill_reply() 145 coal->tx_max_coalesced_frames_irq, supported) || in coalesce_fill_reply() 147 coal in coalesce_fill_reply() [all...] |
/kernel/linux/linux-6.6/net/ethtool/ |
H A D | coalesce.c | 136 const struct ethtool_coalesce *coal = &data->coalesce; in coalesce_fill_reply() local 140 coal->rx_coalesce_usecs, supported) || in coalesce_fill_reply() 142 coal->rx_max_coalesced_frames, supported) || in coalesce_fill_reply() 144 coal->rx_coalesce_usecs_irq, supported) || in coalesce_fill_reply() 146 coal->rx_max_coalesced_frames_irq, supported) || in coalesce_fill_reply() 148 coal->tx_coalesce_usecs, supported) || in coalesce_fill_reply() 150 coal->tx_max_coalesced_frames, supported) || in coalesce_fill_reply() 152 coal->tx_coalesce_usecs_irq, supported) || in coalesce_fill_reply() 154 coal->tx_max_coalesced_frames_irq, supported) || in coalesce_fill_reply() 156 coal in coalesce_fill_reply() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ethtool.c | 75 struct ethtool_coalesce *coal) in ipoib_get_coalesce() 79 coal->rx_coalesce_usecs = priv->ethtool.coalesce_usecs; in ipoib_get_coalesce() 80 coal->rx_max_coalesced_frames = priv->ethtool.max_coalesced_frames; in ipoib_get_coalesce() 86 struct ethtool_coalesce *coal) in ipoib_set_coalesce() 95 if (coal->rx_coalesce_usecs > 0xffff || in ipoib_set_coalesce() 96 coal->rx_max_coalesced_frames > 0xffff) in ipoib_set_coalesce() 100 coal->rx_max_coalesced_frames, in ipoib_set_coalesce() 101 coal->rx_coalesce_usecs); in ipoib_set_coalesce() 107 priv->ethtool.coalesce_usecs = coal->rx_coalesce_usecs; in ipoib_set_coalesce() 108 priv->ethtool.max_coalesced_frames = coal in ipoib_set_coalesce() 74 ipoib_get_coalesce(struct net_device *dev, struct ethtool_coalesce *coal) ipoib_get_coalesce() argument 85 ipoib_set_coalesce(struct net_device *dev, struct ethtool_coalesce *coal) ipoib_set_coalesce() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ethtool.c | 75 struct ethtool_coalesce *coal, in ipoib_get_coalesce() 81 coal->rx_coalesce_usecs = priv->ethtool.coalesce_usecs; in ipoib_get_coalesce() 82 coal->rx_max_coalesced_frames = priv->ethtool.max_coalesced_frames; in ipoib_get_coalesce() 88 struct ethtool_coalesce *coal, in ipoib_set_coalesce() 99 if (coal->rx_coalesce_usecs > 0xffff || in ipoib_set_coalesce() 100 coal->rx_max_coalesced_frames > 0xffff) in ipoib_set_coalesce() 104 coal->rx_max_coalesced_frames, in ipoib_set_coalesce() 105 coal->rx_coalesce_usecs); in ipoib_set_coalesce() 111 priv->ethtool.coalesce_usecs = coal->rx_coalesce_usecs; in ipoib_set_coalesce() 112 priv->ethtool.max_coalesced_frames = coal in ipoib_set_coalesce() 74 ipoib_get_coalesce(struct net_device *dev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) ipoib_get_coalesce() argument 87 ipoib_set_coalesce(struct net_device *dev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) ipoib_set_coalesce() argument [all...] |
/kernel/linux/linux-5.10/drivers/s390/net/ |
H A D | qeth_ethtool.c | 115 struct ethtool_coalesce *coal) in __qeth_set_coalesce() 117 WRITE_ONCE(queue->coalesce_usecs, coal->tx_coalesce_usecs); in __qeth_set_coalesce() 118 WRITE_ONCE(queue->max_coalesced_frames, coal->tx_max_coalesced_frames); in __qeth_set_coalesce() 120 if (coal->tx_coalesce_usecs && in __qeth_set_coalesce() 123 qeth_tx_arm_timer(queue, coal->tx_coalesce_usecs); in __qeth_set_coalesce() 127 struct ethtool_coalesce *coal) in qeth_set_coalesce() 136 if (!coal->tx_coalesce_usecs && !coal->tx_max_coalesced_frames) in qeth_set_coalesce() 140 __qeth_set_coalesce(dev, queue, coal); in qeth_set_coalesce() 287 struct ethtool_coalesce *coal) in qeth_get_per_queue_coalesce() 113 __qeth_set_coalesce(struct net_device *dev, struct qeth_qdio_out_q *queue, struct ethtool_coalesce *coal) __qeth_set_coalesce() argument 126 qeth_set_coalesce(struct net_device *dev, struct ethtool_coalesce *coal) qeth_set_coalesce() argument 286 qeth_get_per_queue_coalesce(struct net_device *dev, u32 __queue, struct ethtool_coalesce *coal) qeth_get_per_queue_coalesce() argument 305 qeth_set_per_queue_coalesce(struct net_device *dev, u32 queue, struct ethtool_coalesce *coal) qeth_set_per_queue_coalesce() argument [all...] |
/kernel/linux/linux-6.6/drivers/s390/net/ |
H A D | qeth_ethtool.c | 114 struct ethtool_coalesce *coal) in __qeth_set_coalesce() 116 WRITE_ONCE(queue->coalesce_usecs, coal->tx_coalesce_usecs); in __qeth_set_coalesce() 117 WRITE_ONCE(queue->max_coalesced_frames, coal->tx_max_coalesced_frames); in __qeth_set_coalesce() 119 if (coal->tx_coalesce_usecs && in __qeth_set_coalesce() 122 qeth_tx_arm_timer(queue, coal->tx_coalesce_usecs); in __qeth_set_coalesce() 126 struct ethtool_coalesce *coal, in qeth_set_coalesce() 137 if (!coal->tx_coalesce_usecs && !coal->tx_max_coalesced_frames) in qeth_set_coalesce() 141 __qeth_set_coalesce(dev, queue, coal); in qeth_set_coalesce() 290 struct ethtool_coalesce *coal) in qeth_get_per_queue_coalesce() 112 __qeth_set_coalesce(struct net_device *dev, struct qeth_qdio_out_q *queue, struct ethtool_coalesce *coal) __qeth_set_coalesce() argument 125 qeth_set_coalesce(struct net_device *dev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) qeth_set_coalesce() argument 289 qeth_get_per_queue_coalesce(struct net_device *dev, u32 __queue, struct ethtool_coalesce *coal) qeth_get_per_queue_coalesce() argument 308 qeth_set_per_queue_coalesce(struct net_device *dev, u32 queue, struct ethtool_coalesce *coal) qeth_set_per_queue_coalesce() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_ethtool.c | 551 struct ethtool_coalesce *coal) in aq_ethtool_get_coalesce() 560 coal->rx_coalesce_usecs = cfg->rx_itr; in aq_ethtool_get_coalesce() 561 coal->tx_coalesce_usecs = cfg->tx_itr; in aq_ethtool_get_coalesce() 562 coal->rx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce() 563 coal->tx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce() 565 coal->rx_coalesce_usecs = 0; in aq_ethtool_get_coalesce() 566 coal->tx_coalesce_usecs = 0; in aq_ethtool_get_coalesce() 567 coal->rx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce() 568 coal->tx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce() 575 struct ethtool_coalesce *coal) in aq_ethtool_set_coalesce() 550 aq_ethtool_get_coalesce(struct net_device *ndev, struct ethtool_coalesce *coal) aq_ethtool_get_coalesce() argument 574 aq_ethtool_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *coal) aq_ethtool_set_coalesce() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_ethtool.c | 560 struct ethtool_coalesce *coal, in aq_ethtool_get_coalesce() 571 coal->rx_coalesce_usecs = cfg->rx_itr; in aq_ethtool_get_coalesce() 572 coal->tx_coalesce_usecs = cfg->tx_itr; in aq_ethtool_get_coalesce() 573 coal->rx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce() 574 coal->tx_max_coalesced_frames = 0; in aq_ethtool_get_coalesce() 576 coal->rx_coalesce_usecs = 0; in aq_ethtool_get_coalesce() 577 coal->tx_coalesce_usecs = 0; in aq_ethtool_get_coalesce() 578 coal->rx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce() 579 coal->tx_max_coalesced_frames = 1; in aq_ethtool_get_coalesce() 586 struct ethtool_coalesce *coal, in aq_ethtool_set_coalesce() 559 aq_ethtool_get_coalesce(struct net_device *ndev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) aq_ethtool_get_coalesce() argument 585 aq_ethtool_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) aq_ethtool_set_coalesce() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_ethtool.c | 1001 struct ethtool_coalesce *coal) in mlx4_en_get_coalesce() 1005 coal->tx_coalesce_usecs = priv->tx_usecs; in mlx4_en_get_coalesce() 1006 coal->tx_max_coalesced_frames = priv->tx_frames; in mlx4_en_get_coalesce() 1007 coal->tx_max_coalesced_frames_irq = priv->tx_work_limit; in mlx4_en_get_coalesce() 1009 coal->rx_coalesce_usecs = priv->rx_usecs; in mlx4_en_get_coalesce() 1010 coal->rx_max_coalesced_frames = priv->rx_frames; in mlx4_en_get_coalesce() 1012 coal->pkt_rate_low = priv->pkt_rate_low; in mlx4_en_get_coalesce() 1013 coal->rx_coalesce_usecs_low = priv->rx_usecs_low; in mlx4_en_get_coalesce() 1014 coal->pkt_rate_high = priv->pkt_rate_high; in mlx4_en_get_coalesce() 1015 coal in mlx4_en_get_coalesce() 1000 mlx4_en_get_coalesce(struct net_device *dev, struct ethtool_coalesce *coal) mlx4_en_get_coalesce() argument 1022 mlx4_en_set_coalesce(struct net_device *dev, struct ethtool_coalesce *coal) mlx4_en_set_coalesce() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_ethtool.c | 1004 struct ethtool_coalesce *coal, in mlx4_en_get_coalesce() 1010 coal->tx_coalesce_usecs = priv->tx_usecs; in mlx4_en_get_coalesce() 1011 coal->tx_max_coalesced_frames = priv->tx_frames; in mlx4_en_get_coalesce() 1012 coal->tx_max_coalesced_frames_irq = priv->tx_work_limit; in mlx4_en_get_coalesce() 1014 coal->rx_coalesce_usecs = priv->rx_usecs; in mlx4_en_get_coalesce() 1015 coal->rx_max_coalesced_frames = priv->rx_frames; in mlx4_en_get_coalesce() 1017 coal->pkt_rate_low = priv->pkt_rate_low; in mlx4_en_get_coalesce() 1018 coal->rx_coalesce_usecs_low = priv->rx_usecs_low; in mlx4_en_get_coalesce() 1019 coal->pkt_rate_high = priv->pkt_rate_high; in mlx4_en_get_coalesce() 1020 coal in mlx4_en_get_coalesce() 1003 mlx4_en_get_coalesce(struct net_device *dev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) mlx4_en_get_coalesce() argument 1027 mlx4_en_set_coalesce(struct net_device *dev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) mlx4_en_set_coalesce() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_ethtool.c | 466 struct ethtool_coalesce *coal, in fun_get_coalesce() 472 coal->rx_coalesce_usecs = fp->rx_coal_usec; in fun_get_coalesce() 473 coal->rx_max_coalesced_frames = fp->rx_coal_count; in fun_get_coalesce() 474 coal->use_adaptive_rx_coalesce = !fp->cq_irq_db; in fun_get_coalesce() 475 coal->tx_coalesce_usecs = fp->tx_coal_usec; in fun_get_coalesce() 476 coal->tx_max_coalesced_frames = fp->tx_coal_count; in fun_get_coalesce() 481 struct ethtool_coalesce *coal, in fun_set_coalesce() 489 if (coal->rx_coalesce_usecs > FUN_DB_INTCOAL_USEC_M || in fun_set_coalesce() 490 coal->rx_max_coalesced_frames > FUN_DB_INTCOAL_ENTRIES_M || in fun_set_coalesce() 491 (coal in fun_set_coalesce() 465 fun_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kcoal, struct netlink_ext_ack *ext_ack) fun_get_coalesce() argument 480 fun_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kcoal, struct netlink_ext_ack *ext_ack) fun_set_coalesce() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_ethtool.c | 491 struct ethtool_coalesce *coal) in mlx5e_ethtool_get_coalesce() 499 coal->rx_coalesce_usecs = rx_moder->usec; in mlx5e_ethtool_get_coalesce() 500 coal->rx_max_coalesced_frames = rx_moder->pkts; in mlx5e_ethtool_get_coalesce() 501 coal->use_adaptive_rx_coalesce = priv->channels.params.rx_dim_enabled; in mlx5e_ethtool_get_coalesce() 504 coal->tx_coalesce_usecs = tx_moder->usec; in mlx5e_ethtool_get_coalesce() 505 coal->tx_max_coalesced_frames = tx_moder->pkts; in mlx5e_ethtool_get_coalesce() 506 coal->use_adaptive_tx_coalesce = priv->channels.params.tx_dim_enabled; in mlx5e_ethtool_get_coalesce() 512 struct ethtool_coalesce *coal) in mlx5e_get_coalesce() 516 return mlx5e_ethtool_get_coalesce(priv, coal); in mlx5e_get_coalesce() 523 mlx5e_set_priv_channels_tx_coalesce(struct mlx5e_priv *priv, struct ethtool_coalesce *coal) in mlx5e_set_priv_channels_tx_coalesce() argument 490 mlx5e_ethtool_get_coalesce(struct mlx5e_priv *priv, struct ethtool_coalesce *coal) mlx5e_ethtool_get_coalesce() argument 511 mlx5e_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal) mlx5e_get_coalesce() argument 542 mlx5e_set_priv_channels_rx_coalesce(struct mlx5e_priv *priv, struct ethtool_coalesce *coal) mlx5e_set_priv_channels_rx_coalesce() argument 556 mlx5e_ethtool_set_coalesce(struct mlx5e_priv *priv, struct ethtool_coalesce *coal) mlx5e_ethtool_set_coalesce() argument 632 mlx5e_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal) mlx5e_set_coalesce() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_ethtool.c | 522 struct ethtool_coalesce *coal, in mlx5e_ethtool_get_coalesce() 531 coal->rx_coalesce_usecs = rx_moder->usec; in mlx5e_ethtool_get_coalesce() 532 coal->rx_max_coalesced_frames = rx_moder->pkts; in mlx5e_ethtool_get_coalesce() 533 coal->use_adaptive_rx_coalesce = priv->channels.params.rx_dim_enabled; in mlx5e_ethtool_get_coalesce() 536 coal->tx_coalesce_usecs = tx_moder->usec; in mlx5e_ethtool_get_coalesce() 537 coal->tx_max_coalesced_frames = tx_moder->pkts; in mlx5e_ethtool_get_coalesce() 538 coal->use_adaptive_tx_coalesce = priv->channels.params.tx_dim_enabled; in mlx5e_ethtool_get_coalesce() 549 struct ethtool_coalesce *coal, in mlx5e_get_coalesce() 555 return mlx5e_ethtool_get_coalesce(priv, coal, kernel_coal); in mlx5e_get_coalesce() 562 mlx5e_set_priv_channels_tx_coalesce(struct mlx5e_priv *priv, struct ethtool_coalesce *coal) in mlx5e_set_priv_channels_tx_coalesce() argument 521 mlx5e_ethtool_get_coalesce(struct mlx5e_priv *priv, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal) mlx5e_ethtool_get_coalesce() argument 548 mlx5e_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) mlx5e_get_coalesce() argument 581 mlx5e_set_priv_channels_rx_coalesce(struct mlx5e_priv *priv, struct ethtool_coalesce *coal) mlx5e_set_priv_channels_rx_coalesce() argument 604 mlx5e_ethtool_set_coalesce(struct mlx5e_priv *priv, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) mlx5e_ethtool_set_coalesce() argument 698 mlx5e_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) mlx5e_set_coalesce() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_ethtool.c | 636 struct ethtool_coalesce *coal, u16 queue) in __hinic_get_coalesce() 657 coal->rx_coalesce_usecs = rx_intr_coal_info->coalesce_timer_cfg * in __hinic_get_coalesce() 660 coal->rx_max_coalesced_frames = rx_intr_coal_info->pending_limt * in __hinic_get_coalesce() 662 coal->tx_coalesce_usecs = tx_intr_coal_info->coalesce_timer_cfg * in __hinic_get_coalesce() 664 coal->tx_max_coalesced_frames = tx_intr_coal_info->pending_limt * in __hinic_get_coalesce() 670 static int is_coalesce_exceed_limit(const struct ethtool_coalesce *coal) in is_coalesce_exceed_limit() argument 672 if (coal->rx_coalesce_usecs > COALESCE_MAX_TIMER_CFG || in is_coalesce_exceed_limit() 673 coal->rx_max_coalesced_frames > COALESCE_MAX_PENDING_LIMIT || in is_coalesce_exceed_limit() 674 coal->tx_coalesce_usecs > COALESCE_MAX_TIMER_CFG || in is_coalesce_exceed_limit() 675 coal in is_coalesce_exceed_limit() 635 __hinic_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, u16 queue) __hinic_get_coalesce() argument 681 set_queue_coalesce(struct hinic_dev *nic_dev, u16 q_id, struct hinic_intr_coal_info *coal, bool set_rx_coal) set_queue_coalesce() argument 749 __hinic_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, u16 queue) __hinic_set_coalesce() argument 802 hinic_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal) hinic_get_coalesce() argument 808 hinic_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal) hinic_set_coalesce() argument 814 hinic_get_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *coal) hinic_get_per_queue_coalesce() argument 820 hinic_set_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *coal) hinic_set_per_queue_coalesce() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_ethtool.c | 632 struct ethtool_coalesce *coal, u16 queue) in __hinic_get_coalesce() 653 coal->rx_coalesce_usecs = rx_intr_coal_info->coalesce_timer_cfg * in __hinic_get_coalesce() 656 coal->rx_max_coalesced_frames = rx_intr_coal_info->pending_limt * in __hinic_get_coalesce() 658 coal->tx_coalesce_usecs = tx_intr_coal_info->coalesce_timer_cfg * in __hinic_get_coalesce() 660 coal->tx_max_coalesced_frames = tx_intr_coal_info->pending_limt * in __hinic_get_coalesce() 666 static int is_coalesce_exceed_limit(const struct ethtool_coalesce *coal) in is_coalesce_exceed_limit() argument 668 if (coal->rx_coalesce_usecs > COALESCE_MAX_TIMER_CFG || in is_coalesce_exceed_limit() 669 coal->rx_max_coalesced_frames > COALESCE_MAX_PENDING_LIMIT || in is_coalesce_exceed_limit() 670 coal->tx_coalesce_usecs > COALESCE_MAX_TIMER_CFG || in is_coalesce_exceed_limit() 671 coal in is_coalesce_exceed_limit() 631 __hinic_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, u16 queue) __hinic_get_coalesce() argument 677 set_queue_coalesce(struct hinic_dev *nic_dev, u16 q_id, struct hinic_intr_coal_info *coal, bool set_rx_coal) set_queue_coalesce() argument 745 __hinic_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, u16 queue) __hinic_set_coalesce() argument 798 hinic_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) hinic_get_coalesce() argument 806 hinic_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) hinic_set_coalesce() argument 814 hinic_get_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *coal) hinic_get_per_queue_coalesce() argument 820 hinic_set_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *coal) hinic_set_per_queue_coalesce() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_regs.h | 14 * @coal: coalesce timer time remaining. 21 u32 coal; member 54 int intr_idx, u32 coal) in ionic_intr_coal_init() 56 iowrite32(coal, &intr_ctrl[intr_idx].coal_init); in ionic_intr_coal_init() 53 ionic_intr_coal_init(struct ionic_intr __iomem *intr_ctrl, int intr_idx, u32 coal) ionic_intr_coal_init() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_regs.h | 14 * @coal: coalesce timer time remaining. 21 u32 coal; member 54 int intr_idx, u32 coal) in ionic_intr_coal_init() 56 iowrite32(coal, &intr_ctrl[intr_idx].coal_init); in ionic_intr_coal_init() 53 ionic_intr_coal_init(struct ionic_intr __iomem *intr_ctrl, int intr_idx, u32 coal) ionic_intr_coal_init() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ethtool.c | 102 struct ethtool_coalesce *coal) in mlx5i_set_coalesce() 106 return mlx5e_ethtool_set_coalesce(priv, coal); in mlx5i_set_coalesce() 110 struct ethtool_coalesce *coal) in mlx5i_get_coalesce() 114 return mlx5e_ethtool_get_coalesce(priv, coal); in mlx5i_get_coalesce() 101 mlx5i_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal) mlx5i_set_coalesce() argument 109 mlx5i_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal) mlx5i_get_coalesce() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_ethtool.c | 756 adapter->coal.flags = NETXEN_NIC_INTR_DEFAULT; in netxen_set_intr_coalesce() 757 adapter->coal.normal.data.rx_time_us = in netxen_set_intr_coalesce() 759 adapter->coal.normal.data.rx_packets = in netxen_set_intr_coalesce() 762 adapter->coal.flags = 0; in netxen_set_intr_coalesce() 763 adapter->coal.normal.data.rx_time_us = in netxen_set_intr_coalesce() 765 adapter->coal.normal.data.rx_packets = in netxen_set_intr_coalesce() 768 adapter->coal.normal.data.tx_time_us = ethcoal->tx_coalesce_usecs; in netxen_set_intr_coalesce() 769 adapter->coal.normal.data.tx_packets = in netxen_set_intr_coalesce() 788 ethcoal->rx_coalesce_usecs = adapter->coal.normal.data.rx_time_us; in netxen_get_intr_coalesce() 789 ethcoal->tx_coalesce_usecs = adapter->coal in netxen_get_intr_coalesce() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_ethtool.c | 762 adapter->coal.flags = NETXEN_NIC_INTR_DEFAULT; in netxen_set_intr_coalesce() 763 adapter->coal.normal.data.rx_time_us = in netxen_set_intr_coalesce() 765 adapter->coal.normal.data.rx_packets = in netxen_set_intr_coalesce() 768 adapter->coal.flags = 0; in netxen_set_intr_coalesce() 769 adapter->coal.normal.data.rx_time_us = in netxen_set_intr_coalesce() 771 adapter->coal.normal.data.rx_packets = in netxen_set_intr_coalesce() 774 adapter->coal.normal.data.tx_time_us = ethcoal->tx_coalesce_usecs; in netxen_set_intr_coalesce() 775 adapter->coal.normal.data.tx_packets = in netxen_set_intr_coalesce() 796 ethcoal->rx_coalesce_usecs = adapter->coal.normal.data.rx_time_us; in netxen_get_intr_coalesce() 797 ethcoal->tx_coalesce_usecs = adapter->coal in netxen_get_intr_coalesce() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
H A D | ethtool.c | 119 struct ethtool_coalesce *coal, in mlx5i_set_coalesce() 125 return mlx5e_ethtool_set_coalesce(priv, coal, kernel_coal, extack); in mlx5i_set_coalesce() 129 struct ethtool_coalesce *coal, in mlx5i_get_coalesce() 135 return mlx5e_ethtool_get_coalesce(priv, coal, kernel_coal); in mlx5i_get_coalesce() 118 mlx5i_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) mlx5i_set_coalesce() argument 128 mlx5i_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) mlx5i_get_coalesce() argument
|
/kernel/linux/linux-6.6/drivers/net/netdevsim/ |
H A D | ethtool.c | 46 struct ethtool_coalesce *coal, in nsim_get_coalesce() 52 memcpy(coal, &ns->ethtool.coalesce, sizeof(ns->ethtool.coalesce)); in nsim_get_coalesce() 57 struct ethtool_coalesce *coal, in nsim_set_coalesce() 63 memcpy(&ns->ethtool.coalesce, coal, sizeof(ns->ethtool.coalesce)); in nsim_set_coalesce() 45 nsim_get_coalesce(struct net_device *dev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) nsim_get_coalesce() argument 56 nsim_set_coalesce(struct net_device *dev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) nsim_set_coalesce() argument
|
/kernel/linux/linux-6.6/include/linux/pds/ |
H A D | pds_intr.h | 117 pds_core_intr_coal_init(struct pds_core_intr __iomem *intr_ctrl, u32 coal) in pds_core_intr_coal_init() argument 119 iowrite32(coal, &intr_ctrl->coal_init); in pds_core_intr_coal_init()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ethtool.c | 779 struct ethtool_coalesce *coal, in qede_get_coalesce() 791 memset(coal, 0, sizeof(struct ethtool_coalesce)); in qede_get_coalesce() 834 coal->rx_coalesce_usecs = rx_coal; in qede_get_coalesce() 835 coal->tx_coalesce_usecs = tx_coal; in qede_get_coalesce() 836 coal->stats_block_coalesce_usecs = edev->stats_coal_usecs; in qede_get_coalesce() 841 int qede_set_coalesce(struct net_device *dev, struct ethtool_coalesce *coal, in qede_set_coalesce() argument 850 if (edev->stats_coal_usecs != coal->stats_block_coalesce_usecs) { in qede_set_coalesce() 851 edev->stats_coal_usecs = coal->stats_block_coalesce_usecs; in qede_set_coalesce() 856 DP_INFO(edev, "Configured stats coal ticks=%lu jiffies\n", in qede_set_coalesce() 868 if (coal in qede_set_coalesce() 778 qede_get_coalesce(struct net_device *dev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) qede_get_coalesce() argument 2149 qede_set_per_coalesce(struct net_device *dev, u32 queue, struct ethtool_coalesce *coal) qede_set_per_coalesce() argument 2215 qede_get_per_coalesce(struct net_device *dev, u32 queue, struct ethtool_coalesce *coal) qede_get_per_coalesce() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 48 struct ethtool_coalesce *coal) in bnxt_get_coalesce() 54 memset(coal, 0, sizeof(*coal)); in bnxt_get_coalesce() 56 coal->use_adaptive_rx_coalesce = bp->flags & BNXT_FLAG_DIM; in bnxt_get_coalesce() 60 coal->rx_coalesce_usecs = hw_coal->coal_ticks; in bnxt_get_coalesce() 61 coal->rx_max_coalesced_frames = hw_coal->coal_bufs / mult; in bnxt_get_coalesce() 62 coal->rx_coalesce_usecs_irq = hw_coal->coal_ticks_irq; in bnxt_get_coalesce() 63 coal->rx_max_coalesced_frames_irq = hw_coal->coal_bufs_irq / mult; in bnxt_get_coalesce() 67 coal->tx_coalesce_usecs = hw_coal->coal_ticks; in bnxt_get_coalesce() 68 coal in bnxt_get_coalesce() 47 bnxt_get_coalesce(struct net_device *dev, struct ethtool_coalesce *coal) bnxt_get_coalesce() argument 77 bnxt_set_coalesce(struct net_device *dev, struct ethtool_coalesce *coal) bnxt_set_coalesce() argument [all...] |