]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: move common Tx functions to i40e_txrx_common.h
authorMagnus Karlsson <magnus.karlsson@intel.com>
Tue, 28 Aug 2018 12:44:33 +0000 (14:44 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 29 Aug 2018 19:25:53 +0000 (12:25 -0700)
commit0fb2080ec071e8a434d5c4b39916ed5a184e7e86
treeaf7cabeb0898c20661d3ca182c7274e4ea11ebec
parent60e7aeb92ba13d62100bc092397701b46421c2ca
i40e: move common Tx functions to i40e_txrx_common.h

This patch prepares for the upcoming zero-copy Tx functionality, by
moving common functions and refactor chunks of code into re-usable
functions, used both by the regular path and zero-copy path.

Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40e/i40e_txrx_common.h