Chinaunix

标题: marvell的PON 88F65如何启动fastpath ? [打印本页]

作者: attonie    时间: 2016-02-15 21:43
标题: marvell的PON 88F65如何启动fastpath ?
本帖最后由 attonie 于 2016-02-15 21:45 编辑

marvell的PON 88F65如何启动fastpath ?

读了l2fastpath.ko和l3fastpath.ko, 但是这功能还是没启动

/proc/pfast # cat config
fast path info:
    cputaglen   : 2
    rxCount     : 0
    l2enable    : 0
    l2mode      : 2
    l2threshould: 10000
    l2delay     : 0
    l3enable    : 0
    l3mode      : 2
    l3threshould: 5000
    l3delay     : 0
/proc/pfast # ls l2
config  fdb     status
/proc/pfast # cat l2/config
L2 fast path info:
    enable    : 0
    test      : 0
    debug     : 0
    cputaglen : 2
    have_lantag : 1
    have_wantag : 1
    position : 1
    tablemax  : 512
    hashnum   : 512
    portdev0  : 00000000
    portdev1  : 00000000
    portdev2  : 00000000
    portdev3  : 00000000
    portdev4  : 00000000
/proc/pfast # cat l2/fdb
macfdb num: 0
  sn,source mac    ,dest mac      ,port,used, sta,    dev name,len,data
/proc/pfast # cat l2/status
L2 status info:
    fdbcount  : 0
    wanPkgCnt : 0(0)
    lanPkgCnt : 0(0)
    wlanPkgCnt: 0(0)
    wanBytes  : 0M,0k(0M,0k) bits
    lanBytes  : 0M,0k(0M,0k) bits
    wlanBytes : 0M,0k(0M,0k) bits
    allocfail : 0
    hdrfail   : 0
/proc/pfast # ls l3
config  fdb     status
/proc/pfast # cat l3/config
l3 fast path info:
    enable    : 0
    test      : 0
    debug     : 0
    cputaglen : 2
    have_lantag : 1
    have_wantag : 1
    position : 1
    tablemax  : 512
    hashnum   : 512
    portdev0  : 00000000
    portdev1  : 00000000
    portdev2  : 00000000
    portdev3  : 00000000
    portdev4  : 00000000
/proc/pfast # cat l3/fdb
-------------- IPV4 l3fast table -------------
row           srcip sport           dstip dport pro type           natip nport u

se sta  dev port ethhdr
-------------- IPV6 l3fast table -------------
row           srcip sport           dstip dport pro type nport use sta  dev port

ethhdr
/proc/pfast # cat l3/status
l3 status info:
    usedcount : 0
    wanPkgCnt : 0(0)
    lanPkgCnt : 0(0)
    wlanPkgCnt: 0(0)
    wanBytes  : 0M,0k(0M,0k) bits
    lanBytes  : 0M,0k(0M,0k) bits
    wlanBytes : 0M,0k(0M,0k) bits
    allocfail : 0
    hdrfail   : 0
    querycount: 0
/proc/pfast #




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2