Commit 5abc37b
gve: Make gve_turn(up|down) ignore stopped queues
Currently the queues are either all live or all dead, toggling from one
state to the other via the ndo open and stop hooks. The future addition
of single-queue ndo hooks changes this, and thus gve_turnup and
gve_turndown should evolve to account for a state where some queues are
live and some aren't.
Tested-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Praveen Kaligineedi <pkaligineedi@google.com>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Signed-off-by: Shailend Chand <shailend@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 242f30f commit 5abc37b
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1937 | 1937 | | |
1938 | 1938 | | |
1939 | 1939 | | |
| 1940 | + | |
| 1941 | + | |
1940 | 1942 | | |
1941 | 1943 | | |
1942 | 1944 | | |
1943 | 1945 | | |
1944 | 1946 | | |
1945 | 1947 | | |
| 1948 | + | |
| 1949 | + | |
1946 | 1950 | | |
1947 | 1951 | | |
1948 | 1952 | | |
| |||
1965 | 1969 | | |
1966 | 1970 | | |
1967 | 1971 | | |
| 1972 | + | |
| 1973 | + | |
| 1974 | + | |
1968 | 1975 | | |
1969 | 1976 | | |
1970 | 1977 | | |
| |||
1977 | 1984 | | |
1978 | 1985 | | |
1979 | 1986 | | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
1980 | 1990 | | |
1981 | 1991 | | |
1982 | 1992 | | |
| |||
0 commit comments