Searched refs:stale_size (Results 1 – 3 of 3) sorted by relevance
2207 int stale_size = skb_frag_size(stale); in __iavf_chk_linearize() local2217 if (stale_size > IAVF_MAX_DATA_PER_TXD) { in __iavf_chk_linearize()2222 stale_size -= align_pad; in __iavf_chk_linearize()2226 stale_size -= IAVF_MAX_DATA_PER_TXD_ALIGNED; in __iavf_chk_linearize()2227 } while (stale_size > IAVF_MAX_DATA_PER_TXD); in __iavf_chk_linearize()2237 sum -= stale_size; in __iavf_chk_linearize()
2174 int stale_size = skb_frag_size(stale); in __ice_chk_linearize() local2184 if (stale_size > ICE_MAX_DATA_PER_TXD) { in __ice_chk_linearize()2189 stale_size -= align_pad; in __ice_chk_linearize()2193 stale_size -= ICE_MAX_DATA_PER_TXD_ALIGNED; in __ice_chk_linearize()2194 } while (stale_size > ICE_MAX_DATA_PER_TXD); in __ice_chk_linearize()2204 sum -= stale_size; in __ice_chk_linearize()
3461 int stale_size = skb_frag_size(stale); in __i40e_chk_linearize() local3471 if (stale_size > I40E_MAX_DATA_PER_TXD) { in __i40e_chk_linearize()3476 stale_size -= align_pad; in __i40e_chk_linearize()3480 stale_size -= I40E_MAX_DATA_PER_TXD_ALIGNED; in __i40e_chk_linearize()3481 } while (stale_size > I40E_MAX_DATA_PER_TXD); in __i40e_chk_linearize()3491 sum -= stale_size; in __i40e_chk_linearize()