These bits are not used. Remove them to simplify the code.
Fix the spacing on the IONIC_ALIGN #define.
Signed-off-by: Andrew Boyer <andrew.boyer@amd.com>
---
drivers/net/ionic/ionic.h | 1 -
drivers/net/ionic/ionic_dev.h | 4 +---
drivers/net/ionic/ionic_ethdev.h | 2 --
3 files changed, 1 insertion(+), 6 deletions(-)
@@ -62,7 +62,6 @@ struct ionic_adapter {
bool link_up;
char fw_version[IONIC_DEVINFO_FWVERS_BUFLEN];
struct rte_pci_device *pci_dev;
- LIST_ENTRY(ionic_adapter) pci_adapters;
};
/** ionic_admin_ctx - Admin command context.
@@ -21,12 +21,10 @@
#define IONIC_MIN_RING_DESC 16
#define IONIC_DEF_TXRX_DESC 4096
-#define IONIC_LIFS_MAX 1024
-
#define IONIC_DEVCMD_TIMEOUT 5 /* devcmd_timeout */
#define IONIC_DEVCMD_CHECK_PERIOD_US 10 /* devcmd status chk period */
-#define IONIC_ALIGN 4096
+#define IONIC_ALIGN 4096
struct ionic_adapter;
@@ -17,8 +17,6 @@
#define IONIC_ETH_DEV_TO_LIF(eth_dev) ((struct ionic_lif *) \
(eth_dev)->data->dev_private)
-#define IONIC_ETH_DEV_TO_ADAPTER(eth_dev) \
- (IONIC_ETH_DEV_TO_LIF(eth_dev)->adapter)
int ionic_dev_link_update(struct rte_eth_dev *eth_dev, int wait_to_complete);