Skip to content

Commit

Permalink
Merge pull request #592 from intel-go/gregory/quickfix
Browse files Browse the repository at this point in the history
Implemented #567. Moved "low" under "internal" sub-package.
  • Loading branch information
gshimansky authored Apr 9, 2019
2 parents 6f8a1d3 + 16209ba commit e887c40
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 9 deletions.
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

0 comments on commit e887c40

Please sign in to comment.