mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-18 00:57:23 +08:00
Fix igb backports from 1.6
This commit is contained in:
@@ -8122,7 +8122,7 @@ static int igb_poll(struct napi_struct *napi, int budget)
|
||||
bool clean_complete = true;
|
||||
int work_done = 0;
|
||||
|
||||
if (get_ecdev(q_vector->adapter)) {
|
||||
if (q_vector->adapter->ecdev) {
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
|
||||
@@ -8112,7 +8112,7 @@ static int igb_poll(struct napi_struct *napi, int budget)
|
||||
bool clean_complete = true;
|
||||
int work_done = 0;
|
||||
|
||||
if (get_ecdev(q_vector->adapter)) {
|
||||
if (q_vector->adapter->ecdev) {
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
|
||||
@@ -8265,7 +8265,7 @@ static int igb_poll(struct napi_struct *napi, int budget)
|
||||
bool clean_complete = true;
|
||||
int work_done = 0;
|
||||
|
||||
if (get_ecdev(q_vector->adapter)) {
|
||||
if (q_vector->adapter->ecdev) {
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user