Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syscall: IFF_MULTI_QUEUE is missing for amd64 arch #23702

Closed
lukaszo opened this issue Feb 5, 2018 · 3 comments
Closed

syscall: IFF_MULTI_QUEUE is missing for amd64 arch #23702

lukaszo opened this issue Feb 5, 2018 · 3 comments

Comments

@lukaszo
Copy link

lukaszo commented Feb 5, 2018

What version of Go are you using (go version)?

go version go1.9.1 linux/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"

What did you do?

I wanted to use syscall.IFF_MULTI_QUEUE in my program

https://play.golang.org/p/pWwjXFshnS7

What did you expect to see?

Working code

What did you see instead?

Go fails to compile my code on amd64 arch:
undefined: syscall.IFF_MULTI_QUEUE

@AlexRouSg
Copy link
Contributor

https://golang.org/pkg/syscall/

NOTE: This package is locked down. Code outside the standard Go repository should be migrated to use the corresponding package in the golang.org/x/sys repository. That is also where updates required by new systems or versions should be applied. Signal, Errno and SysProcAttr are not yet available in golang.org/x/sys and must still be referenced from the syscall package. See https://golang.org/s/go1.4-syscall for more information.

golang.org/x/sys/unix is the package containing IFF_MULTI_QUEUE

@bradfitz
Copy link
Contributor

bradfitz commented Feb 5, 2018

Yup, please use golang.org/x/sys/unix instead.

@bradfitz bradfitz closed this as completed Feb 5, 2018
@lukaszo
Copy link
Author

lukaszo commented Feb 5, 2018

Thx for clarifying.

@mikioh mikioh changed the title syscall.IFF_MULTI_QUEUE is missing for amd64 arch syscall: IFF_MULTI_QUEUE is missing for amd64 arch Feb 21, 2018
@golang golang locked and limited conversation to collaborators Feb 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants