refactor: consistent order
This commit is contained in:
1 parent
f24f38be9c
commit
ec167554c5
1 file changed
+2
-2
+2
-2
@@ -29,9 +29,9 @@ type missHandler func(fks odp.FlowKeys, lock *fastDatapathLock) FlowOp
|
|||||||
|
|
||||||
type FastDatapath struct {
|
type FastDatapath struct {
|
||||||
lock sync.Mutex // guards state and synchronises use of dpif
|
lock sync.Mutex // guards state and synchronises use of dpif
|
||||||
|
iface *net.Interface
|
||||||
dpif *odp.Dpif
|
dpif *odp.Dpif
|
||||||
dp odp.DatapathHandle
|
dp odp.DatapathHandle
|
||||||
iface *net.Interface
|
|
||||||
deleteFlowsCount uint64
|
deleteFlowsCount uint64
|
||||||
missCount uint64
|
missCount uint64
|
||||||
missHandlers map[odp.VportID]missHandler
|
missHandlers map[odp.VportID]missHandler
|
||||||
@@ -79,9 +79,9 @@ func NewFastDatapath(iface *net.Interface, port int) (*FastDatapath, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fastdp := &FastDatapath{
|
fastdp := &FastDatapath{
|
||||||
|
iface: iface,
|
||||||
dpif: dpif,
|
dpif: dpif,
|
||||||
dp: dp,
|
dp: dp,
|
||||||
iface: iface,
|
|
||||||
missHandlers: make(map[odp.VportID]missHandler),
|
missHandlers: make(map[odp.VportID]missHandler),
|
||||||
sendToPort: nil,
|
sendToPort: nil,
|
||||||
sendToMAC: make(map[MAC]bridgeSender),
|
sendToMAC: make(map[MAC]bridgeSender),
|
||||||
|
|||||||
Reference in new issue
Block a user