OSDN Git Service

libcxgb: add library module for Chelsio drivers
authorVarun Prakash <varun@chelsio.com>
Thu, 21 Jul 2016 17:27:14 +0000 (22:57 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2016 17:31:08 +0000 (10:31 -0700)
commitb8b9d81b36a4adada3ef3504c252e2518393884d
tree24ccbc0d50f0d03a9297d32eb0bdc599fdf0ba00
parent9e0b27fe5ada7752577f3e1260eec44e79476142
libcxgb: add library module for Chelsio drivers

Add common library module(libcxgb.ko) for
Chelsio drivers to remove duplicate code.

Code for iSCSI DDP Page Pod Manager is moved
from cxgb4.ko to libcxgb.ko. Earlier only cxgbit.ko
was using this code, now cxgb3i and cxgb4i will
also use common Page Pod manager code.

In future this module will have common connection
management and hardware specific code that can be
shared by multiple Chelsio drivers.

Signed-off-by: Varun Prakash <varun@chelsio.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/Kconfig
drivers/net/ethernet/chelsio/Makefile
drivers/net/ethernet/chelsio/cxgb4/Makefile
drivers/net/ethernet/chelsio/libcxgb/Makefile [new file with mode: 0644]
drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.c [moved from drivers/net/ethernet/chelsio/cxgb4/cxgb4_ppm.c with 86% similarity]
drivers/net/ethernet/chelsio/libcxgb/libcxgb_ppm.h [moved from drivers/net/ethernet/chelsio/cxgb4/cxgb4_ppm.h with 84% similarity]
drivers/target/iscsi/cxgbit/Kconfig
drivers/target/iscsi/cxgbit/Makefile
drivers/target/iscsi/cxgbit/cxgbit.h