search for: team_get_next_unlinked_ifinfo

Displaying 6 results from an estimated 6 matches for "team_get_next_unlinked_ifinfo".

2018 Feb 20
2
[RFC PATCH v3 0/3] Enable virtio_net to act as a backup for a passthru device
On Tue, 20 Feb 2018 21:14:10 +0100, Jiri Pirko wrote: > Yeah, I can see it now :( I guess that the ship has sailed and we are > stuck with this ugly thing forever... > > Could you at least make some common code that is shared in between > netvsc and virtio_net so this is handled in exacly the same way in both? IMHO netvsc is a vendor specific driver which made a mistake on what
2018 Feb 20
2
[RFC PATCH v3 0/3] Enable virtio_net to act as a backup for a passthru device
On Tue, 20 Feb 2018 21:14:10 +0100, Jiri Pirko wrote: > Yeah, I can see it now :( I guess that the ship has sailed and we are > stuck with this ugly thing forever... > > Could you at least make some common code that is shared in between > netvsc and virtio_net so this is handled in exacly the same way in both? IMHO netvsc is a vendor specific driver which made a mistake on what
2018 Feb 21
0
[RFC PATCH v3 0/3] Enable virtio_net to act as a backup for a passthru device
.../include/team.h +++ b/include/team.h @@ -137,6 +137,13 @@ struct team_ifinfo *team_get_next_ifinfo(struct team_handle *th, #define team_for_each_ifinfo(ifinfo, th) \ for (ifinfo = team_get_next_ifinfo(th, NULL); ifinfo; \ ifinfo = team_get_next_ifinfo(th, ifinfo)) + +struct team_ifinfo *team_get_next_unlinked_ifinfo(struct team_handle *th, + struct team_ifinfo *ifinfo); +#define team_for_each_unlinked_ifinfo(ifinfo, th) \ + for (ifinfo = team_get_next_unlinked_ifinfo(th, NULL); ifinfo; \ + ifinfo = team_get_next_unlinked_ifinfo(th, ifinfo)) + /* ifinfo getters */ bool team_is_ifinfo_removed(str...
2018 Feb 21
2
[RFC PATCH v3 0/3] Enable virtio_net to act as a backup for a passthru device
...truct team_ifinfo *team_get_next_ifinfo(struct team_handle *th, > #define team_for_each_ifinfo(ifinfo, th) \ > for (ifinfo = team_get_next_ifinfo(th, NULL); ifinfo; \ > ifinfo = team_get_next_ifinfo(th, ifinfo)) > + > +struct team_ifinfo *team_get_next_unlinked_ifinfo(struct team_handle *th, > + struct team_ifinfo *ifinfo); > +#define team_for_each_unlinked_ifinfo(ifinfo, th) \ > + for (ifinfo = team_get_next_unlinked_ifinfo(th, NULL); ifinfo; \ > + ifinfo = team_g...
2018 Feb 21
2
[RFC PATCH v3 0/3] Enable virtio_net to act as a backup for a passthru device
...truct team_ifinfo *team_get_next_ifinfo(struct team_handle *th, > #define team_for_each_ifinfo(ifinfo, th) \ > for (ifinfo = team_get_next_ifinfo(th, NULL); ifinfo; \ > ifinfo = team_get_next_ifinfo(th, ifinfo)) > + > +struct team_ifinfo *team_get_next_unlinked_ifinfo(struct team_handle *th, > + struct team_ifinfo *ifinfo); > +#define team_for_each_unlinked_ifinfo(ifinfo, th) \ > + for (ifinfo = team_get_next_unlinked_ifinfo(th, NULL); ifinfo; \ > + ifinfo = team_g...
2018 Feb 21
0
[RFC PATCH v3 0/3] Enable virtio_net to act as a backup for a passthru device
...eam_get_next_ifinfo(struct team_handle *th, >> #define team_for_each_ifinfo(ifinfo, th) \ >> for (ifinfo = team_get_next_ifinfo(th, NULL); ifinfo; \ >> ifinfo = team_get_next_ifinfo(th, ifinfo)) >> + >> +struct team_ifinfo *team_get_next_unlinked_ifinfo(struct team_handle *th, >> + struct team_ifinfo *ifinfo); >> +#define team_for_each_unlinked_ifinfo(ifinfo, th) \ >> + for (ifinfo = team_get_next_unlinked_ifinfo(th, NULL); ifinfo; \ >> +...