On 5/4/2018 1:45 PM, Konstantin Ananyev wrote: > +/** > + * Load BPF program from the ELF file and install callback to execute it > + * on given RX port/queue. > + * > + * @param port > + * The identifier of the ethernet port > + * @param queue > + * The identifier of the RX queue on the given port > + * @param fname > + * Pathname for a ELF file. > + * @param sname > + * Name of the executable section within the file to load. > + * @return > + * Zero on successful completion or negative error code otherwise. > + */ > +int rte_bpf_eth_rx_elf_load(uint16_t port, uint16_t queue, > + const struct rte_bpf_prm *prm, const char *fname, const char *sname, > + uint32_t flags); > + > +/** > + * Load BPF program from the ELF file and install callback to execute it > + * on given TX port/queue. > + * > + * @param port > + * The identifier of the ethernet port > + * @param queue > + * The identifier of the TX queue on the given port > + * @param fname > + * Pathname for a ELF file. > + * @param sname > + * Name of the executable section within the file to load. > + * @return > + * Zero on successful completion or negative error code otherwise. > + */ > +int rte_bpf_eth_tx_elf_load(uint16_t port, uint16_t queue, > + const struct rte_bpf_prm *prm, const char *fname, const char *sname, > + uint32_t flags);
Doxygen is complaining about documented params for both functions, prm & flags are missing.