enic: Check firmware capability before issuing firmware commands
Check if firmware supports a particular command by first checking capability using devcmd CMD_CAPABILITY. Signed-off-by: NNeel Patel <neepatel@cisco.com> Signed-off-by: NChristian Benvenuti <benve@cisco.com> Signed-off-by: NRoopa Prabhu <roprabhu@cisco.com> Signed-off-by: NNishank Trivedi <nistrive@cisco.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录