git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scripts: enhance the get maintainer error message
[dpdk.git]
/
drivers
/
net
/
qede
/
qede_main.c
diff --git
a/drivers/net/qede/qede_main.c
b/drivers/net/qede/qede_main.c
index
a0c9e03
..
ae18732
100644
(file)
--- a/
drivers/net/qede/qede_main.c
+++ b/
drivers/net/qede/qede_main.c
@@
-179,7
+179,7
@@
static void qed_handle_bulletin_change(struct ecore_hwfn *hwfn)
rte_memcpy(hwfn->hw_info.hw_mac_addr, mac, ETH_ALEN);
/* Always update link configuration according to bulletin */
rte_memcpy(hwfn->hw_info.hw_mac_addr, mac, ETH_ALEN);
/* Always update link configuration according to bulletin */
- qed_link_update(hwfn
, NULL
);
+ qed_link_update(hwfn);
}
static void qede_vf_task(void *arg)
}
static void qede_vf_task(void *arg)
@@
-629,11
+629,12
@@
static int qed_set_link(struct ecore_dev *edev, struct qed_link_params *params)
return rc;
}
return rc;
}
-void qed_link_update(struct ecore_hwfn *hwfn
, struct ecore_ptt *ptt
)
+void qed_link_update(struct ecore_hwfn *hwfn)
{
{
- struct qed_link_output if_link;
+ struct ecore_dev *edev = hwfn->p_dev;
+ struct qede_dev *qdev = (struct qede_dev *)edev;
- qed
_fill_link(hwfn, ptt, &if_link
);
+ qed
e_link_update((struct rte_eth_dev *)qdev->ethdev, 0
);
}
static int qed_drain(struct ecore_dev *edev)
}
static int qed_drain(struct ecore_dev *edev)