X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=VNFs%2FDPPD-PROX%2Fprox_port_cfg.h;h=ccf83d6cef428869e838becffd742002bb87762e;hb=ccae9496c217020455acfe337aaf2b2f0c5644d8;hp=17616187f4b5eb97bcaddab7c540b3370d2869c1;hpb=cb94e0036256c6a3fb0aadb682a04d8ad30ddd2a;p=samplevnf.git diff --git a/VNFs/DPPD-PROX/prox_port_cfg.h b/VNFs/DPPD-PROX/prox_port_cfg.h index 17616187..ccf83d6c 100644 --- a/VNFs/DPPD-PROX/prox_port_cfg.h +++ b/VNFs/DPPD-PROX/prox_port_cfg.h @@ -17,8 +17,14 @@ #ifndef _PROX_PORT_CFG_H #define _PROX_PORT_CFG_H +#include #include #include +#include +#if RTE_VERSION >= RTE_VERSION_NUM(17,11,0,0) +#include +#endif +#include #include "prox_globals.h" @@ -43,6 +49,7 @@ struct prox_port_cfg { uint32_t n_txd; uint8_t link_up; uint32_t link_speed; + uint32_t max_link_speed; uint32_t mtu; enum addr_type type; struct ether_addr eth_addr; /* port MAC address */ @@ -55,9 +62,15 @@ struct prox_port_cfg { struct rte_eth_conf port_conf; struct rte_eth_rxconf rx_conf; struct rte_eth_txconf tx_conf; + uint64_t requested_rx_offload; + uint64_t requested_tx_offload; + uint64_t disabled_tx_offload; + struct rte_eth_dev_info dev_info; struct { int tx_offload_cksum; } capabilities; + uint32_t max_rx_pkt_len; + uint32_t min_rx_bufsize; }; extern rte_atomic32_t lsc;