Home
last modified time | relevance | path

Searched full:opt (Results 1 – 25 of 1422) sorted by relevance

12345678910>>...57

/openbmc/qemu/tests/qtest/libqos/
H A Dvirtio-9p-client.c295 TVersionRes v9fs_tversion(TVersionOpt opt) in v9fs_tversion() argument
304 g_assert(opt.client); in v9fs_tversion()
306 if (!opt.msize) { in v9fs_tversion()
307 opt.msize = P9_MAX_SIZE; in v9fs_tversion()
310 if (!opt.tag) { in v9fs_tversion()
311 opt.tag = P9_NOTAG; in v9fs_tversion()
314 if (!opt.version) { in v9fs_tversion()
315 opt.version = "9P2000.L"; in v9fs_tversion()
318 string_size = v9fs_string_size(opt.version); in v9fs_tversion()
321 req = v9fs_req_init(opt.client, body_size, P9_TVERSION, opt.tag); in v9fs_tversion()
[all …]
/openbmc/linux/drivers/iio/light/
H A Dopt3001.c151 static int opt3001_find_scale(const struct opt3001 *opt, int val, in opt3001_find_scale() argument
174 static void opt3001_to_iio_ret(struct opt3001 *opt, u8 exponent, in opt3001_to_iio_ret() argument
184 static void opt3001_set_mode(struct opt3001 *opt, u16 *reg, u16 mode) in opt3001_set_mode() argument
188 opt->mode = mode; in opt3001_set_mode()
228 static int opt3001_get_lux(struct opt3001 *opt, int *val, int *val2) in opt3001_get_lux() argument
237 if (opt->use_irq) { in opt3001_get_lux()
243 ret = i2c_smbus_write_word_swapped(opt->client, in opt3001_get_lux()
247 dev_err(opt->dev, "failed to write register %02x\n", in opt3001_get_lux()
253 opt->ok_to_ignore_lock = true; in opt3001_get_lux()
257 opt->result_ready = false; in opt3001_get_lux()
[all …]
/openbmc/linux/tools/lib/subcmd/
H A Dparse-options.c20 static int opterror(const struct option *opt, const char *reason, int flags) in opterror() argument
23 fprintf(stderr, " Error: switch `%c' %s", opt->short_name, reason); in opterror()
25 fprintf(stderr, " Error: option `no-%s' %s", opt->long_name, reason); in opterror()
27 fprintf(stderr, " Error: option `%s' %s", opt->long_name, reason); in opterror()
38 static void optwarning(const struct option *opt, const char *reason, int flags) in optwarning() argument
41 fprintf(stderr, " Warning: switch `%c' %s", opt->short_name, reason); in optwarning()
43 fprintf(stderr, " Warning: option `no-%s' %s", opt->long_name, reason); in optwarning()
45 fprintf(stderr, " Warning: option `%s' %s", opt->long_name, reason); in optwarning()
48 static int get_arg(struct parse_opt_ctx_t *p, const struct option *opt, in get_arg() argument
53 if (p->opt) { in get_arg()
[all …]
/openbmc/qemu/tests/tcg/mips/user/ase/msa/
H A Dtest_msa_compile_64r6el.sh6 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_b.c \
8 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_h.c \
10 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_w.c \
12 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_d.c \
14 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_b.c \
16 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_h.c \
18 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_w.c \
20 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_d.c \
22 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_pcnt_b.c \
24 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_pcnt_h.c \
[all …]
H A Dtest_msa_compile_64r6eb.sh6 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_b.c \
8 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_h.c \
10 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_w.c \
12 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nloc_d.c \
14 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_b.c \
16 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_h.c \
18 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_w.c \
20 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_nlzc_d.c \
22 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_pcnt_b.c \
24 /opt/img/bin/mips-img-linux-gnu-gcc bit-count/test_msa_pcnt_h.c \
[all …]
H A Dtest_msa_compile_32r5el.sh6 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_b.c \
9 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_h.c \
12 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_w.c \
15 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_d.c \
18 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_b.c \
21 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_h.c \
24 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_w.c \
27 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_d.c \
30 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_pcnt_b.c \
33 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_pcnt_h.c \
[all …]
H A Dtest_msa_compile_32r5eb.sh6 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_b.c \
9 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_h.c \
12 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_w.c \
15 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nloc_d.c \
18 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_b.c \
21 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_h.c \
24 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_w.c \
27 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_nlzc_d.c \
30 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_pcnt_b.c \
33 /opt/mti/bin/mips-mti-linux-gnu-gcc bit-count/test_msa_pcnt_h.c \
[all …]
/openbmc/qemu/scripts/
H A Dmeson-buildoptions.py83 def get_help(opt): argument
84 if opt["name"] == "libdir":
86 value = opt["value"]
110 def help_line(left, opt, indent, long): argument
111 right = f'{opt["description"]}'
113 value = get_help(opt)
116 if "choices" in opt and long:
117 choices = "/".join(sorted(opt["choices"]))
127 def allow_arg(opt): argument
128 if opt["type"] == "boolean":
[all …]
/openbmc/linux/net/ipv4/
H A Dip_options.c44 void ip_options_build(struct sk_buff *skb, struct ip_options *opt, in ip_options_build() argument
49 memcpy(&(IPCB(skb)->opt), opt, sizeof(struct ip_options)); in ip_options_build()
50 memcpy(iph + sizeof(struct iphdr), opt->__data, opt->optlen); in ip_options_build()
51 opt = &(IPCB(skb)->opt); in ip_options_build()
53 if (opt->srr) in ip_options_build()
54 memcpy(iph + opt->srr + iph[opt->srr + 1] - 4, &daddr, 4); in ip_options_build()
56 if (opt->rr_needaddr) in ip_options_build()
57 ip_rt_get_source(iph + opt->rr + iph[opt->rr + 2] - 5, skb, rt); in ip_options_build()
58 if (opt->ts_needaddr) in ip_options_build()
59 ip_rt_get_source(iph + opt->ts + iph[opt->ts + 2] - 9, skb, rt); in ip_options_build()
[all …]
/openbmc/linux/drivers/clk/mvebu/
H A Dorion.c30 u32 opt = (readl(sar) >> SAR_MV88F5181_TCLK_FREQ) & in mv88f5181_get_tclk_freq() local
32 if (opt == 0) in mv88f5181_get_tclk_freq()
34 else if (opt == 1) in mv88f5181_get_tclk_freq()
36 else if (opt == 2) in mv88f5181_get_tclk_freq()
47 u32 opt = (readl(sar) >> SAR_MV88F5181_CPU_FREQ) & in mv88f5181_get_cpu_freq() local
49 if (opt == 0) in mv88f5181_get_cpu_freq()
51 else if (opt == 1 || opt == 2) in mv88f5181_get_cpu_freq()
53 else if (opt == 3) in mv88f5181_get_cpu_freq()
62 u32 opt = (readl(sar) >> SAR_MV88F5181_CPU_FREQ) & in mv88f5181_get_clk_ratio() local
64 if (opt == 0 || opt == 1) { in mv88f5181_get_clk_ratio()
[all …]
/openbmc/linux/net/ceph/
H A Dceph_common.c310 struct ceph_options *opt; in ceph_alloc_options() local
312 opt = kzalloc(sizeof(*opt), GFP_KERNEL); in ceph_alloc_options()
313 if (!opt) in ceph_alloc_options()
316 opt->crush_locs = RB_ROOT; in ceph_alloc_options()
317 opt->mon_addr = kcalloc(CEPH_MAX_MON, sizeof(*opt->mon_addr), in ceph_alloc_options()
319 if (!opt->mon_addr) { in ceph_alloc_options()
320 kfree(opt); in ceph_alloc_options()
324 opt->flags = CEPH_OPT_DEFAULT; in ceph_alloc_options()
325 opt->osd_keepalive_timeout = CEPH_OSD_KEEPALIVE_DEFAULT; in ceph_alloc_options()
326 opt->mount_timeout = CEPH_MOUNT_TIMEOUT_DEFAULT; in ceph_alloc_options()
[all …]
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/raspidmx/raspidmx/
H A D0004-add-libvchostif-to-link.patch36 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras…
37 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras…
39 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
49 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -L../lib -lraspidmx
50 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -L../lib -lraspidmx
52 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
62 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras…
63 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras…
65 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
75 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras…
[all …]
H A D0005-change-library-linking-order.patch31 -LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras…
32 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm -L../lib -lraspidmx -lraspidmxPng $(shell pkg-co…
34 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
44 -LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras…
45 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm -L../lib -lraspidmx -lraspidmxPng $(shell pkg-co…
47 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
57 -LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras…
58 +LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm -L../lib -lraspidmx -lraspidmxPng $(shell pkg-co…
60 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
70 -LDFLAGS+=-L/opt/vc/lib/ -lvchostif -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lras…
[all …]
H A D0003-switch-to-pkg-config.patch33 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell libpng-config --ldflags) -L../lib -lraspidmx -lrasp…
35 +LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras…
37 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
49 LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm
53 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
64 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell libpng-config --ldflags) -L../lib -lraspidmx -lrasp…
66 +LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras…
68 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
79 -LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell libpng-config --ldflags) -L../lib -lraspidmx -lrasp…
81 +LDFLAGS+=-L/opt/vc/lib/ -lbcm_host -lm $(shell pkg-config --libs libpng) -L../lib -lraspidmx -lras…
[all …]
/openbmc/linux/include/linux/
H A Dfs_parser.h42 u8 opt; /* Option number (returned by fs_parse()) */ member
107 #define __fsparam(TYPE, NAME, OPT, FLAGS, DATA) \ argument
110 .opt = OPT, \
116 #define fsparam_flag(NAME, OPT) __fsparam(NULL, NAME, OPT, 0, NULL) argument
117 #define fsparam_flag_no(NAME, OPT) \ argument
118 __fsparam(NULL, NAME, OPT, fs_param_neg_with_no, NULL)
119 #define fsparam_bool(NAME, OPT) __fsparam(fs_param_is_bool, NAME, OPT, 0, NULL) argument
120 #define fsparam_u32(NAME, OPT) __fsparam(fs_param_is_u32, NAME, OPT, 0, NULL) argument
121 #define fsparam_u32oct(NAME, OPT) \ argument
122 __fsparam(fs_param_is_u32, NAME, OPT, 0, (void *)8)
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dcmsg_sender.c73 } opt = { variable
118 opt.silent_send = true; in cs_parse_args()
121 opt.size = atoi(optarg); in cs_parse_args()
124 opt.sock.family = AF_INET; in cs_parse_args()
127 opt.sock.family = AF_INET6; in cs_parse_args()
131 opt.sock.proto = IPPROTO_UDP; in cs_parse_args()
133 opt.sock.proto = IPPROTO_ICMP; in cs_parse_args()
135 opt.sock.type = SOCK_RAW; in cs_parse_args()
143 opt.mark.ena = true; in cs_parse_args()
144 opt.mark.val = atoi(optarg); in cs_parse_args()
[all …]
/openbmc/u-boot/include/
H A Dhwconfig.h19 extern int hwconfig_f(const char *opt, char *buf);
20 extern const char *hwconfig_arg_f(const char *opt, size_t *arglen, char *buf);
21 extern int hwconfig_arg_cmp_f(const char *opt, const char *arg, char *buf);
22 extern int hwconfig_sub_f(const char *opt, const char *subopt, char *buf);
23 extern const char *hwconfig_subarg_f(const char *opt, const char *subopt,
25 extern int hwconfig_subarg_cmp_f(const char *opt, const char *subopt,
29 static inline int hwconfig_f(const char *opt, char *buf) in hwconfig_f() argument
34 static inline const char *hwconfig_arg_f(const char *opt, size_t *arglen, in hwconfig_arg_f() argument
41 static inline int hwconfig_arg_cmp_f(const char *opt, const char *arg, in hwconfig_arg_cmp_f() argument
47 static inline int hwconfig_sub_f(const char *opt, const char *subopt, char *buf) in hwconfig_sub_f() argument
[all …]
/openbmc/linux/Documentation/usb/
H A Dgadget_hid.rst143 const char *opt;
148 {.opt = "--left-ctrl", .val = 0x01},
149 {.opt = "--right-ctrl", .val = 0x10},
150 {.opt = "--left-shift", .val = 0x02},
151 {.opt = "--right-shift", .val = 0x20},
152 {.opt = "--left-alt", .val = 0x04},
153 {.opt = "--right-alt", .val = 0x40},
154 {.opt = "--left-meta", .val = 0x08},
155 {.opt = "--right-meta", .val = 0x80},
156 {.opt = NULL}
[all …]
/openbmc/qemu/util/
H A Dqemu-option.c226 QemuOpt *opt; in qemu_opt_find() local
228 QTAILQ_FOREACH_REVERSE(opt, &opts->head, next) { in qemu_opt_find()
229 if (strcmp(opt->name, name) != 0) in qemu_opt_find()
231 return opt; in qemu_opt_find()
236 static void qemu_opt_del(QemuOpt *opt) in qemu_opt_del() argument
238 QTAILQ_REMOVE(&opt->opts->head, opt, next); in qemu_opt_del()
239 g_free(opt->name); in qemu_opt_del()
240 g_free(opt->str); in qemu_opt_del()
241 g_free(opt); in qemu_opt_del()
249 QemuOpt *opt, *next_opt; in qemu_opt_del_all() local
[all …]
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A Dparam.c162 const struct e1000_option *opt, in e1000_validate_option() argument
166 *value = opt->def; in e1000_validate_option()
170 switch (opt->type) { in e1000_validate_option()
175 opt->name); in e1000_validate_option()
179 opt->name); in e1000_validate_option()
184 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) { in e1000_validate_option()
186 opt->name, *value); in e1000_validate_option()
194 for (i = 0; i < opt->arg.l.nr; i++) { in e1000_validate_option()
195 ent = &opt->arg.l.p[i]; in e1000_validate_option()
210 opt->name, *value, opt->err); in e1000_validate_option()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dsetget_sockopt.c28 int opt; member
41 { .opt = SO_REUSEADDR, .flip = 1, },
42 { .opt = SO_SNDBUF, .new = 8123, .expected = 8123 * 2, },
43 { .opt = SO_RCVBUF, .new = 8123, .expected = 8123 * 2, },
44 { .opt = SO_KEEPALIVE, .flip = 1, },
45 { .opt = SO_PRIORITY, .new = 0xeb9f, .expected = 0xeb9f, },
46 { .opt = SO_REUSEPORT, .flip = 1, },
47 { .opt = SO_RCVLOWAT, .new = 8123, .expected = 8123, },
48 { .opt = SO_MARK, .new = 0xeb9f, .expected = 0xeb9f, },
49 { .opt = SO_MAX_PACING_RATE, .new = 0xeb9f, .expected = 0xeb9f, },
[all …]
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_h323_types.c93 {FNAME("productId") OCTSTR, BYTE, 1, 0, SKIP | OPT, 0, NULL},
94 {FNAME("versionId") OCTSTR, BYTE, 1, 0, SKIP | OPT, 0, NULL},
98 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
103 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
105 {FNAME("dataRatesSupported") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
110 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
112 {FNAME("dataRatesSupported") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
117 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
119 {FNAME("dataRatesSupported") SEQOF, SEMI, 0, 0, SKIP | OPT, 0, NULL},
124 {FNAME("nonStandardData") SEQ, 0, 2, 2, SKIP | OPT, 0,
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_sockmap.c159 void (*tester)(int cg_fd, struct sockmap_options *opt);
422 struct sockmap_options *opt) in msg_loop_sendpage() argument
424 bool drop = opt->drop_expected; in msg_loop_sendpage()
630 struct sockmap_options *opt) in msg_loop() argument
634 bool drop = opt->drop_expected; in msg_loop()
635 bool data = opt->data_test; in msg_loop()
638 if (!tx && opt->check_recved_len) in msg_loop()
659 if (opt->tx_wait_mem && errno == EACCES) { in msg_loop()
699 if (!opt->sendpage) in msg_loop()
736 if (opt->verbose) in msg_loop()
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dqdisc.c517 struct tc_gred_qopt_offload *opt) in nfp_abm_gred_check_params() argument
523 if (opt->set.grio_on || opt->set.wred_on) { in nfp_abm_gred_check_params()
525 opt->parent, opt->handle); in nfp_abm_gred_check_params()
528 if (opt->set.dp_def != alink->def_band) { in nfp_abm_gred_check_params()
530 alink->def_band, opt->parent, opt->handle); in nfp_abm_gred_check_params()
533 if (opt->set.dp_cnt != abm->num_bands) { in nfp_abm_gred_check_params()
535 abm->num_bands, opt->parent, opt->handle); in nfp_abm_gred_check_params()
540 struct tc_gred_vq_qopt_offload_params *band = &opt->set.tab[i]; in nfp_abm_gred_check_params()
546 opt->parent, opt->handle, i); in nfp_abm_gred_check_params()
551 opt->parent, opt->handle, i); in nfp_abm_gred_check_params()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dgeneve.c25 void *hdr, *opt; in mlx5_geneve_tlv_option_create() local
34 opt = MLX5_ADDR_OF(create_geneve_tlv_option_in, in, geneve_tlv_opt); in mlx5_geneve_tlv_option_create()
39 MLX5_SET(geneve_tlv_option, opt, option_class, be16_to_cpu(class)); in mlx5_geneve_tlv_option_create()
40 MLX5_SET(geneve_tlv_option, opt, option_type, type); in mlx5_geneve_tlv_option_create()
41 MLX5_SET(geneve_tlv_option, opt, option_data_length, len); in mlx5_geneve_tlv_option_create()
63 int mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt) in mlx5_geneve_tlv_option_add() argument
73 if (geneve->opt_class == opt->opt_class && in mlx5_geneve_tlv_option_add()
74 geneve->opt_type == opt->type) { in mlx5_geneve_tlv_option_add()
83 …"Won't create Geneve TLV opt object with class:type:len = 0x%x:0x%x:%d (another class:type already… in mlx5_geneve_tlv_option_add()
84 be16_to_cpu(opt->opt_class), in mlx5_geneve_tlv_option_add()
[all …]

12345678910>>...57