qed: move chain methods to a separate file
authorAlexander Lobakin <alobakin@marvell.com>
Wed, 22 Jul 2020 22:10:33 +0000 (01:10 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jul 2020 01:19:03 +0000 (18:19 -0700)
commita08c9b2c7ce52709f1915dae0bcd02070f39104e
tree63a8bf3e854cc6fbdf9df021726038fc1f345011
parentbdaf98f6d526a8d64b5ff1441924f57fb85ba614
qed: move chain methods to a separate file

Move chain allocation/freeing functions to a new file to not mix it with
hardware-related code.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alexander Lobakin <alobakin@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/Makefile
drivers/net/ethernet/qlogic/qed/qed_chain.c [new file with mode: 0644]
drivers/net/ethernet/qlogic/qed/qed_dev.c