You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello
i use nff-go low.go to create a new function in dpdk low.h ,it 's have some wrong ,could you help me ?
i find all net cant find the answer to the question
i base on 18.09 dpdk
in low.go
func CreateIpFragDeathTbl() Ip_Frag_Death_Row {
return C.create_ip_frag_death_row_table()
}
type Ip_Frag_Death_Row *C.struct_rte_ip_frag_death_row
in low.h
struct rte_ip_frag_death_row* create_ip_frag_death_row_table();
when i am in nff-go to make cmdline make
it report worry
[root@localhost nff-go]# make
make -C nff-go-base
Checking for AVX support... AVX and AVX2
make[1]: Entering directory /home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/nff-go-base' make[1]: Nothing to be done for all'.
make[1]: Leaving directory /home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/nff-go-base' make -C dpdk Checking for AVX support... AVX and AVX2 make[1]: Entering directory /home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/dpdk'
make[1]: Nothing to be done for all'. make[1]: Leaving directory /home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/dpdk'
make -C test
make[1]: Entering directory /home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/test' make -C stability make[2]: Entering directory /home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/test/stability'
make -C testMerge
Checking for AVX support... AVX and AVX2
make[3]: Entering directory `/home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/test/stability/testMerge'
go build -tags "" testMerge.go
hello
i use nff-go low.go to create a new function in dpdk low.h ,it 's have some wrong ,could you help me ?
i find all net cant find the answer to the question
i base on 18.09 dpdk
in low.go
func CreateIpFragDeathTbl() Ip_Frag_Death_Row {
return C.create_ip_frag_death_row_table()
}
type Ip_Frag_Death_Row *C.struct_rte_ip_frag_death_row
in low.h
struct rte_ip_frag_death_row* create_ip_frag_death_row_table();
struct rte_ip_frag_death_row* create_ip_frag_death_row_table() {
struct rte_ip_frag_death_row* pdeath_row = NULL;
struct rte_ip_frag_death_row death_row;
death_row.cnt = 0;
pdeath_row = &death_row;
return pdeath_row;
}
when i am in nff-go to make cmdline make
it report worry
[root@localhost nff-go]# make
make -C nff-go-base
Checking for AVX support... AVX and AVX2
make[1]: Entering directory
/home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/nff-go-base' make[1]: Nothing to be done for
all'.make[1]: Leaving directory
/home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/nff-go-base' make -C dpdk Checking for AVX support... AVX and AVX2 make[1]: Entering directory
/home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/dpdk'make[1]: Nothing to be done for
all'. make[1]: Leaving directory
/home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/dpdk'make -C test
make[1]: Entering directory
/home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/test' make -C stability make[2]: Entering directory
/home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/test/stability'make -C testMerge
Checking for AVX support... AVX and AVX2
make[3]: Entering directory `/home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/test/stability/testMerge'
go build -tags "" testMerge.go
5gc/vendor/github.com/intel-go/nff-go/internal/low
../../../internal/low/low.go:754:9: could not determine kind of name for C.create_ip_frag_death_row_table
make[3]: *** [testMerge] Error 2
make[3]: Leaving directory
/home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/test/stability/testMerge' make[2]: *** [testMerge] Error 2 make[2]: Leaving directory
/home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/test/stability'make[1]: *** [stability] Error 2
make[1]: Leaving directory `/home/zhenghao/share/go_project/src/5gc/vendor/github.com/intel-go/nff-go/test'
make: *** [test] Error 2
pealse help me !
thank you!
The text was updated successfully, but these errors were encountered: