Re: [ovs-dev] [PATCH] netdev-dpdk: Optimise the initialization of "port_conf"

2016-10-12 Thread Kavanagh, Mark B
 "Kavanagh, Mark B" >> 收件人:  Binbin Xu , "dev@openvswitch.org" >> , >> 日期:  2016/10/11 21:46 >> 主题: RE: [ovs-dev] [PATCH] netdev-dpdk: Optimise the >> initialization of "port_conf" >> >> > >> >The member

Re: [ovs-dev] [PATCH] netdev-dpdk: Optimise the initialization of "port_conf"

2016-10-11 Thread xu . binbin1
ark B" 写于 2016/10/11 21:46:00: > 发件人: "Kavanagh, Mark B" > 收件人: Binbin Xu , "dev@openvswitch.org" > , > 日期: 2016/10/11 21:46 > 主题: RE: [ovs-dev] [PATCH] netdev-dpdk: Optimise the > initialization of "port_conf" > > > > &

Re: [ovs-dev] [PATCH] netdev-dpdk: Optimise the initialization of "port_conf"

2016-10-11 Thread Kavanagh, Mark B
> >The member "max_rx_pkt_len" of "port_conf" is only used if >jumbo_frame enabled, so it can be initialized with value '0'. > >Signed-off-by: Binbin Xu >--- > lib/netdev-dpdk.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c >index 3

[ovs-dev] [PATCH] netdev-dpdk: Optimise the initialization of "port_conf"

2016-10-11 Thread Binbin Xu
The member "max_rx_pkt_len" of "port_conf" is only used if jumbo_frame enabled, so it can be initialized with value '0'. Signed-off-by: Binbin Xu --- lib/netdev-dpdk.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index 39bf930..c4a0