X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Ffib%2Ffib_types.h;h=a7a23d74add81f8bbdbdf86328b84d5bb5b665dd;hb=57b5860f013953ce161d05302e05370db9cd6ee2;hp=60873c4a9dbad32affb6a7e22bbf7bbebbccd569;hpb=51822bf07a3f0fe72834ea94659faf6e262475ba;p=vpp.git diff --git a/src/vnet/fib/fib_types.h b/src/vnet/fib/fib_types.h index 60873c4a9db..a7a23d74add 100644 --- a/src/vnet/fib/fib_types.h +++ b/src/vnet/fib/fib_types.h @@ -380,7 +380,13 @@ typedef struct fib_route_path_t_ { /** * [un]equal cost path weight */ - u32 frp_weight; + u16 frp_weight; + /** + * A path preference. 0 is the best. + * Only paths of the best preference, that are 'up', are considered + * for forwarding. + */ + u16 frp_preference; /** * flags on the path */