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

Implemented #567. Moved "low" under "internal" sub-package. #592

Merged
merged 1 commit into from
Apr 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
PATH_TO_MK = mk
SUBDIRS = nff-go-base dpdk test examples
DOC_TARGETS = flow packet
CI_TESTING_TARGETS = packet low common
CI_TESTING_TARGETS = packet internal/low common
TESTING_TARGETS = $(CI_TESTING_TARGETS) test/stability

all: $(SUBDIRS)
Expand Down
2 changes: 1 addition & 1 deletion flow/counters.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"

"github.com/intel-go/nff-go/common"
"github.com/intel-go/nff-go/low"
"github.com/intel-go/nff-go/internal/low"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion flow/flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (

"github.com/intel-go/nff-go/asm"
"github.com/intel-go/nff-go/common"
"github.com/intel-go/nff-go/low"
"github.com/intel-go/nff-go/internal/low"
"github.com/intel-go/nff-go/packet"
"github.com/intel-go/nff-go/types"
)
Expand Down
2 changes: 1 addition & 1 deletion flow/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"time"

"github.com/intel-go/nff-go/common"
"github.com/intel-go/nff-go/low"
"github.com/intel-go/nff-go/internal/low"
)

const generatePauseStep = 0.1
Expand Down
2 changes: 1 addition & 1 deletion low/Makefile → internal/low/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

PATH_TO_MK = ../mk
PATH_TO_MK = ../../mk
include $(PATH_TO_MK)/include.mk

.PHONY: testing
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packet/checksum.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package packet
import (
"unsafe"

"github.com/intel-go/nff-go/low"
"github.com/intel-go/nff-go/internal/low"
. "github.com/intel-go/nff-go/types"
)

Expand Down
2 changes: 1 addition & 1 deletion packet/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import (
"unsafe"

. "github.com/intel-go/nff-go/common"
"github.com/intel-go/nff-go/low"
"github.com/intel-go/nff-go/internal/low"
"github.com/intel-go/nff-go/types"
)

Expand Down
2 changes: 1 addition & 1 deletion packet/pcap_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"time"

"github.com/intel-go/nff-go/common"
"github.com/intel-go/nff-go/low"
"github.com/intel-go/nff-go/internal/low"
)

type nowFuncT func() time.Time
Expand Down
2 changes: 1 addition & 1 deletion packet/utils_for_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net"
"os"

"github.com/intel-go/nff-go/low"
"github.com/intel-go/nff-go/internal/low"
"github.com/intel-go/nff-go/types"
)

Expand Down