Home
last modified time | relevance | path

Searched refs:fld (Results 1 – 4 of 4) sorted by relevance

/include/linux/mlx5/
Ddevice.h49 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument
50 #define __mlx5_bit_off(typ, fld) ((unsigned)(unsigned long)(&(__mlx5_nullp(typ)->fld))) argument
51 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) argument
52 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) argument
53 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… argument
54 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument
55 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument
58 #define MLX5_FLD_SZ_BYTES(typ, fld) (__mlx5_bit_sz(typ, fld) / 8) argument
61 #define MLX5_BYTE_OFF(typ, fld) (__mlx5_bit_off(typ, fld) / 8) argument
62 #define MLX5_ADDR_OF(typ, p, fld) ((char *)(p) + MLX5_BYTE_OFF(typ, fld)) argument
[all …]
/include/net/
Ddn_route.h75 struct flowidn fld; member
90 return rt->fld.flowidn_iif != 0; in dn_is_input_route()
95 return rt->fld.flowidn_iif == 0; in dn_is_output_route()
Ddn_fib.h86 int (*lookup)(struct dn_fib_table *t, const struct flowidn *fld,
106 const struct flowidn *fld, struct dn_fib_res *res);
109 void dn_fib_select_multipath(const struct flowidn *fld, struct dn_fib_res *res);
125 int dn_fib_lookup(struct flowidn *fld, struct dn_fib_res *res);
Ddn.h196 static inline void dn_sk_ports_copy(struct flowidn *fld, struct dn_scp *scp) in dn_sk_ports_copy() argument
198 fld->fld_sport = scp->addrloc; in dn_sk_ports_copy()
199 fld->fld_dport = scp->addrrem; in dn_sk_ports_copy()