Home
last modified time | relevance | path

Searched refs:max_non_tso_bd_num (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_cmd.h121 u8 max_non_tso_bd_num; member
Dhclgevf_main.c2691 ae_dev->dev_specs.max_non_tso_bd_num = in hclgevf_set_default_dev_specs()
2709 ae_dev->dev_specs.max_non_tso_bd_num = req0->max_non_tso_bd_num; in hclgevf_parse_dev_specs()
2722 if (!dev_specs->max_non_tso_bd_num) in hclgevf_check_dev_specs()
2723 dev_specs->max_non_tso_bd_num = HCLGEVF_MAX_NON_TSO_BD_NUM; in hclgevf_check_dev_specs()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c1810 u8 max_non_tso_bd_num, unsigned int bd_num, in hns3_tx_bd_num() argument
1820 skb_shinfo(skb)->nr_frags < max_non_tso_bd_num)) in hns3_tx_bd_num()
1831 bd_num = hns3_tx_bd_num(frag_skb, bd_size, max_non_tso_bd_num, in hns3_tx_bd_num()
1855 unsigned int bd_num, u8 max_non_tso_bd_num) in hns3_skb_need_linearized() argument
1860 for (i = 0; i < max_non_tso_bd_num - 1U; i++) in hns3_skb_need_linearized()
1866 if (tot_len + bd_size[max_non_tso_bd_num - 1U] < in hns3_skb_need_linearized()
1873 for (i = 0; i < bd_num - max_non_tso_bd_num; i++) { in hns3_skb_need_linearized()
1875 tot_len += bd_size[i + max_non_tso_bd_num - 1U]; in hns3_skb_need_linearized()
1926 u8 max_non_tso_bd_num = priv->max_non_tso_bd_num; in hns3_nic_maybe_stop_tx() local
1930 bd_num = hns3_tx_bd_num(skb, bd_size, max_non_tso_bd_num, 0, 0); in hns3_nic_maybe_stop_tx()
[all …]
Dhns3_enet.h585 u8 max_non_tso_bd_num; member
Dhnae3.h369 u8 max_non_tso_bd_num; /* max BD number of one non-TSO packet */ member
Dhns3_debugfs.c1033 dev_specs->max_non_tso_bd_num); in hns3_dbg_dev_specs()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h815 u8 max_non_tso_bd_num; member
Dhclge_main.c1419 ae_dev->dev_specs.max_non_tso_bd_num = HCLGE_MAX_NON_TSO_BD_NUM; in hclge_set_default_dev_specs()
1439 ae_dev->dev_specs.max_non_tso_bd_num = req0->max_non_tso_bd_num; in hclge_parse_dev_specs()
1456 if (!dev_specs->max_non_tso_bd_num) in hclge_check_dev_specs()
1457 dev_specs->max_non_tso_bd_num = HCLGE_MAX_NON_TSO_BD_NUM; in hclge_check_dev_specs()