]>
git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/examples/ip_pipeline/link.h
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
);
34 link_next(struct link
*link
);
36 struct link_params_rss
{
37 uint32_t queue_id
[LINK_RXQ_RSS_MAX
];
43 uint16_t port_id
; /**< Valid only when *dev_name* is NULL. */
48 const char *mempool_name
;
49 struct link_params_rss
*rss
;
61 link_create(const char *name
, struct link_params
*params
);
64 link_is_up(const char *name
);
66 #endif /* _INCLUDE_LINK_H_ */