[ovs-dev] [PATCH] Numa: Allow leading 0x on pmd-cpu-mask.

O Mahony, Billy billy.o.mahony at intel.com
Tue Nov 29 10:25:26 UTC 2016



> -----Original Message-----
> From: Ben Pfaff [mailto:blp at ovn.org]
> Sent: Monday, November 28, 2016 6:10 PM
> To: O Mahony, Billy <billy.o.mahony at intel.com>
> Cc: ovs-dev at openvswitch.org
> Subject: Re: [ovs-dev] [PATCH] Numa: Allow leading 0x on pmd-cpu-mask.
> 
> On Mon, Nov 28, 2016 at 05:06:53PM +0000, billy.o.mahony at intel.com
> wrote:
> > From: billyom <billy.o.mahony at intel.com>
> >
> > pmd-cpu-mask is interpreted as a hex bit mask. So it should be written
> > with a leading 0x to indicate this. But if this is done, while the
> > value is interpreted correctly and the PMDs pinned as expected, a
> > confusing warning message is also issued.
> >
> > This patch allows but does not require a leading 0x or 0X to be used
> > without a warning. Existing functionality is not affected. Relevant
> > DPDK docs also updated.
> >
> > Signed-off-by: Billy O'Mahony <billy.o.mahony at intel.com>
> 
> This is a whitespace-only change to the C code in OVS, so it's hard to believe
> that it does what it says.

[[BO'M]]  Any sufficiently advanced technology is indistinguishable from magic?  :)
Apologies, v2 with actual code to follow. 




More information about the dev mailing list