aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ibm/ibmveth.h
diff options
context:
space:
mode:
authorDave Marquardt <[email protected]>2025-05-01 19:49:43 +0000
committerPaolo Abeni <[email protected]>2025-05-06 08:24:38 +0000
commit2c91e2319ed95f9b7608c9ac2ebd1a070918f1fc (patch)
treeb702f2b2780ba6be15d05ea36a750fd217c70f96 /drivers/net/ethernet/ibm/ibmveth.h
parentnet: ibmveth: Indented struct ibmveth_adapter correctly (diff)
downloadkernel-2c91e2319ed95f9b7608c9ac2ebd1a070918f1fc.tar.gz
kernel-2c91e2319ed95f9b7608c9ac2ebd1a070918f1fc.zip
net: ibmveth: Reset the adapter when unexpected states are detected
Reset the adapter through new function ibmveth_reset, called in WARN_ON situations. Removed conflicting and unneeded forward declaration. Signed-off-by: Dave Marquardt <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmveth.h')
-rw-r--r--drivers/net/ethernet/ibm/ibmveth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ibm/ibmveth.h b/drivers/net/ethernet/ibm/ibmveth.h
index 0f72ce54e7cf..b0a2460ec9f9 100644
--- a/drivers/net/ethernet/ibm/ibmveth.h
+++ b/drivers/net/ethernet/ibm/ibmveth.h
@@ -137,6 +137,7 @@ struct ibmveth_adapter {
struct vio_dev *vdev;
struct net_device *netdev;
struct napi_struct napi;
+ struct work_struct work;
unsigned int mcastFilterSize;
void *buffer_list_addr;
void *filter_list_addr;