Searched refs:max_non_tso_bd_num (Results 1 – 8 of 8) sorted by relevance
176 #define HNS3_MAX_NON_TSO_SIZE(max_non_tso_bd_num) \ argument177 (HNS3_MAX_BD_SIZE * (max_non_tso_bd_num))479 u8 max_non_tso_bd_num; member
1195 u8 max_non_tso_bd_num) in hns3_tx_bd_num() argument1202 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() argument1247 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() local1288 bd_num = hns3_tx_bd_num(skb, bd_size, max_non_tso_bd_num); in hns3_nic_maybe_stop_tx()[all …]
281 u8 max_non_tso_bd_num; /* max BD number of one non-TSO packet */ member
339 dev_specs->max_non_tso_bd_num); in hns3_dbg_dev_specs()
284 u8 max_non_tso_bd_num; member
2990 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()
1101 u8 max_non_tso_bd_num; member
1365 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()