commit | 83c317d7b36bb3858cf1cb86d2635ec3f3bd6ea3 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Mon Nov 16 17:03:14 2020 +0100 |
committer | Jakub Kicinski <kuba@kernel.org> | Tue Nov 17 09:29:14 2020 -0800 |
tree | aa62fa0933f4edbe5ffafac0b129fbdcb62b2691 | |
parent | b618c327024997589051ea3605b38d1f7ce138a7 [diff] |
r8169: remove nr_frags argument from rtl_tx_slots_avail The only time when nr_frags isn't SKB_MAX_FRAGS is when entering rtl8169_start_xmit(). However we can use SKB_MAX_FRAGS also here because when queue isn't stopped there should always be room for MAX_SKB_FRAGS + 1 descriptors. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Link: https://lore.kernel.org/r/3d1f2ad7-31d5-2cac-4f4a-394f8a3cab63@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>