The present invention relates to pyridopyrazine compounds of formula (I), pharmaceutical compositions thereof and methods of use therefore, wherein R1, R2, R3, L, m, p and W are as defined in the specification.本發明提供了如結構式(I)所示的吡啶並吡嗪類化合物,其藥物組合物及其用途,其中R1、R2、R3、L、m、p和W如說明書中所定義。