[dpdk-dev] [PATCH v2] e1000/base: fix multicast setting in VF

Lu, Wenzhuo wenzhuo.lu at intel.com
Fri Feb 24 01:32:49 CET 2017


Hi,

> -----Original Message-----
> From: Yong Wang [mailto:wang.yong19 at zte.com.cn]
> Sent: Tuesday, February 21, 2017 5:33 PM
> To: Lu, Wenzhuo
> Cc: dev at dpdk.org; Yong Wang
> Subject: [PATCH v2] e1000/base: fix multicast setting in VF
> 
> In function e1000_update_mc_addr_list_vf(), "msgbuf[0]" is used prior to
> initialization at "msgbuf[0] |= E1000_VF_SET_MULTICAST_OVERFLOW".
> And "msgbuf[0]" is overwritten at "msgbuf[0] = E1000_VF_SET_MULTICAST".
> Fix it by moving the second line prior to the first one that mentioned above.
> 
> ---
> v2:
> * According to Thomas's suggestion, modify the title.
> 
> Signed-off-by: Yong Wang <wang.yong19 at zte.com.cn>
Acked-by: Wenzhuo Lu <wenzhuo.lu at intel.com>


More information about the dev mailing list