1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2018 Intel Corporation
5 #ifndef _INCLUDE_LINK_H_
6 #define _INCLUDE_LINK_H_
13 #ifndef LINK_RXQ_RSS_MAX
14 #define LINK_RXQ_RSS_MAX 16
18 TAILQ_ENTRY(link) node;
25 TAILQ_HEAD(link_list, link);
31 link_find(const char *name);
33 struct link_params_rss {
34 uint32_t queue_id[LINK_RXQ_RSS_MAX];
40 uint16_t port_id; /**< Valid only when *dev_name* is NULL. */
45 const char *mempool_name;
46 struct link_params_rss *rss;
58 link_create(const char *name, struct link_params *params);
61 link_is_up(const char *name);
63 #endif /* _INCLUDE_LINK_H_ */