iavf: remove "inline" functions from iavf_txrx.c
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 24 Aug 2023 20:44:00 +0000 (14:44 -0600)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 3 Oct 2023 22:25:13 +0000 (15:25 -0700)
commit70dc7ab7645a438600e05a0196dbaf251e7f7062
treecc26129880e71e44977e5646158f7c29b25ce4a7
parent5337d294973331660e84e41836a54014de22e5b0
iavf: remove "inline" functions from iavf_txrx.c

The iAVF txrx hotpath code has several functions that are marked as
"static inline" in the iavf_txrx.c file. This use of inline is frowned
upon in the netdev community and explicitly marked as something to avoid
in the Linux coding-style document (section 15).

Even though these functions are only used once, it is expected that GCC
is smart enough to decide when to perform function inlining where
appropriate without the "hint".

./scripts/bloat-o-meter is showing zero difference with this changes.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Ahmed Zaki <ahmed.zaki@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/iavf/iavf_txrx.c