Re: [PATCH bpf-next v2 15/15] docs/bpf: Add documentation for new instructions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 14, 2023 at 4:33 PM Dave Thaler <dthaler@xxxxxxxxxxxxx> wrote:
>
> Yonghong Song <yhs@xxxxxx> wrote:
> > Add documentation in instruction-set.rst for new instruction encoding and
> > their corresponding operations. Also removed the question related to 'no
> > BPF_SDIV' in bpf_design_QA.rst since we have BPF_SDIV insn now.
>
> Why did you choose to differentiate the instruction by offset instead of using a separate
> opcode value?  I don't think there's any other instructions that do so, and there's spare
> opcode values as far as I can see.
>
> Using a separate offset works but would end up requiring another column in the IANA
> registry assuming we have one.  So why the extra complexity and inconsistency
> introduced now?

"another column in IANA" is the last thing to worry about.





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux