Merge "net: aquantia: Remove IOSSv1 glue driver"

This commit is contained in:
qctecmdr 2021-04-30 04:52:45 -07:00 • committed by Gerrit - the friendly Code Review server
commit 9c2a4c2078
5 changed files with 0 additions and 1197 deletions

View file

@ -51,11 +51,3 @@ config ATLFWD_FWD_NETLINK
endif
config AQFWD_QCOM_IPA
bool "QTI IPA offload support"
depends on IPA_ETH
depends on AQFWD
select ATLFWD_FWD
help
Enable support for Qualcomm Technologies, Inc. IPA (Internet Protocol Accelerator).
If unsure, say N.

View file

@ -27,6 +27,4 @@ atlantic-fwd-$(CONFIG_ATLFWD_FWD_NETLINK) += atl_fwdnl.o \
atl_fwdnl_params.o
atlantic-fwd-$(CONFIG_MACSEC) += atl_macsec.o macsec/macsec_api.o
atlantic-fwd-$(CONFIG_AQFWD_QCOM_IPA) += atl_ipa.o
ccflags-y += -I$(src)

File diff suppressed because it is too large Load diff

View file

@ -1,28 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2019-2021, The Linux Foundation. All rights reserved.
*/
#ifndef _ATL_IPA_H_
#define _ATL_IPA_H_
#include <linux/pci.h>
#if IS_ENABLED(CONFIG_AQFWD_QCOM_IPA)
int atl_ipa_register(struct pci_driver *drv);
void atl_ipa_unregister(struct pci_driver *drv);
#else
static inline int atl_ipa_register(struct pci_driver *drv)
{
return 0;
}
static inline void atl_ipa_unregister(struct pci_driver *drv)
{ }
#endif /* CONFIG_AQFWD_QCOM_IPA */
#endif /* _ATL_IPA_H_ */

View file

@ -18,8 +18,6 @@
#include "atl_macsec.h"
#include "atl_ptp.h"
#include "atl_ipa.h"
const char atl_driver_name[] = "atlantic-fwd";
unsigned int atl_max_queues = ATL_MAX_QUEUES;
@ -1037,13 +1035,6 @@ static int __init atl_module_init(void)
return -ENOMEM;
}
ret = atl_ipa_register(&atl_pci_ops);
if (ret) {
pr_err("%s: Failed to register driver with platform\n",
atl_driver_name);
goto err_ipa_reg;
}
ret = pci_register_driver(&atl_pci_ops);
if (ret)
goto err_pci_reg;
@ -1061,8 +1052,6 @@ err_fwd_netlink:
#endif
pci_unregister_driver(&atl_pci_ops);
err_pci_reg:
atl_ipa_unregister(&atl_pci_ops);
err_ipa_reg:
destroy_workqueue(atl_wq);
return ret;
}
@ -1076,8 +1065,6 @@ static void __exit atl_module_exit(void)
pci_unregister_driver(&atl_pci_ops);
atl_ipa_unregister(&atl_pci_ops);
if (atl_wq) {
destroy_workqueue(atl_wq);
atl_wq = NULL;