Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h176 #define HNS3_MAX_NON_TSO_SIZE(max_non_tso_bd_num) \ argument
177 (HNS3_MAX_BD_SIZE * (max_non_tso_bd_num))
479 u8 max_non_tso_bd_num; member
Dhns3_enet.c1195 u8 max_non_tso_bd_num) in hns3_tx_bd_num() argument
1202 skb_shinfo(skb)->nr_frags < max_non_tso_bd_num)) in hns3_tx_bd_num()
1210 HNS3_MAX_NON_TSO_SIZE(max_non_tso_bd_num)))) in hns3_tx_bd_num()
1242 unsigned int bd_num, u8 max_non_tso_bd_num) in hns3_skb_need_linearized() argument
1247 for (i = 0; i < max_non_tso_bd_num - 1U; i++) in hns3_skb_need_linearized()
1253 if (tot_len + bd_size[max_non_tso_bd_num - 1U] < in hns3_skb_need_linearized()
1260 for (i = 0; i < bd_num - max_non_tso_bd_num; i++) { in hns3_skb_need_linearized()
1262 tot_len += bd_size[i + max_non_tso_bd_num - 1U]; in hns3_skb_need_linearized()
1284 u8 max_non_tso_bd_num = priv->max_non_tso_bd_num; in hns3_nic_maybe_stop_tx() local
1288 bd_num = hns3_tx_bd_num(skb, bd_size, max_non_tso_bd_num); in hns3_nic_maybe_stop_tx()
[all …]
Dhnae3.h281 u8 max_non_tso_bd_num; /* max BD number of one non-TSO packet */ member
Dhns3_debugfs.c339 dev_specs->max_non_tso_bd_num); in hns3_dbg_dev_specs()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_cmd.h284 u8 max_non_tso_bd_num; member
Dhclgevf_main.c2990 ae_dev->dev_specs.max_non_tso_bd_num = in hclgevf_set_default_dev_specs()
3004 ae_dev->dev_specs.max_non_tso_bd_num = req0->max_non_tso_bd_num; in hclgevf_parse_dev_specs()
3014 if (!dev_specs->max_non_tso_bd_num) in hclgevf_check_dev_specs()
3015 dev_specs->max_non_tso_bd_num = HCLGEVF_MAX_NON_TSO_BD_NUM; in hclgevf_check_dev_specs()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h1101 u8 max_non_tso_bd_num; member
Dhclge_main.c1365 ae_dev->dev_specs.max_non_tso_bd_num = HCLGE_MAX_NON_TSO_BD_NUM; in hclge_set_default_dev_specs()
1379 ae_dev->dev_specs.max_non_tso_bd_num = req0->max_non_tso_bd_num; in hclge_parse_dev_specs()
1390 if (!dev_specs->max_non_tso_bd_num) in hclge_check_dev_specs()
1391 dev_specs->max_non_tso_bd_num = HCLGE_MAX_NON_TSO_BD_NUM; in hclge_check_dev_specs()